compiling peripheral controller driver as a module

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

 



Hi All,

Why are we having two config options for a peripheral controller
driver? The Makefile uses  "USB_NET2280" and this option is default to
USB_GADGET. Though USB_GADGET_NET2280=y it can be compiled as module
by making CONFIG_USB_GADGET=m.

config USB_GADGET_NET2280
        boolean "NetChip 228x"
        depends on PCI
        select USB_GADGET_DUALSPEED
        help
           NetChip 2280 / 2282 is a PCI based USB peripheral controller which
           supports both full and high speed USB 2.0 data transfers.

           It has six configurable endpoints, as well as endpoint zero
           (for control transfers) and several endpoints with dedicated
           functions.

           Say "y" to link the driver statically, or "m" to build a
           dynamically linked module called "net2280" and force all
           gadget drivers to also be dynamically linked.

config USB_NET2280
        tristate
        depends on USB_GADGET_NET2280
        default USB_GADGET
        select USB_GADGET_SELECTED

Thanks in advance,
Pavan
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux