Re: [PATCH] PCI: add modalias sysfs file for pci devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greg KH wrote:
> [PATCH] PCI: add modalias sysfs file for pci devices
[With similar patch and $MODALIAS in hotplug path stuff
 submitted for USB]

Speaking of all this...  While the two (USB and PCI) are
most important nowadays...  Hmm, so probably all other
similar "busses", like PCMCIA, even bluetooth, and "not
so obvious ones" like IDE and SCSI, and PNP&EISA -- this
same approach may be used for all, providing device/modalias
file for all (scsi:t0 for sd_mod etc), and $MODALIAS for
hotpluggable ones, with appropriate .modalias in modules...

I mean, are we on the way to converting just everything
into this modalias thing, so that hotplug/modloading will
be just one-liner?

Providing "trivial" aliases for eg PNP or EISA busses
seems to be a bit redundrand (a list of pnp:dXXX in
device/modalias in addition to XXX in device/id), but
without that this whole picture will not be consistent...
or should it?

/mjt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux