Wimax - Makefile & Kconfig patch
Subsystems (2)
Hi Inaky.
Noticed your wimax patchset when I browsed netdev on marc.info. A few comments:
drivers/net/Makefile +1 -0
@@ -262,3 +262,4 @@ obj-$(CONFIG_NIU) += niu.o obj-$(CONFIG_VIRTIO_NET) += virtio_net.o obj-$(CONFIG_SFC) += sfc/ +obj-y += wimax/
There is no reason to visit this directory if WIMAX is not enabled so change it to:
obj-$(CONFIG_WIMAX) += wimax/
drivers/net/wimax/i2400m/Kconfig new file +6 -0
@@ -0,0 +1,49 @@ + +config WIMAX_I2400M + tristate + depends on WIMAX + select FW_LOADER +
Above and in several other spots in the Kconfig
file you mix use of spaces and tabs for ident.
Please use tabs consistent and remember to indent
help text with:
<tab><space><space>
drivers/net/wimax/i2400m/Makefile new file +13 -0
@@ -0,0 +1,29 @@ + +obj-$(CONFIG_WIMAX_I2400M) += i2400m.o +obj-$(CONFIG_WIMAX_I2400M_USB) += i2400m-usb.o +obj-$(CONFIG_WIMAX_I2400M_SDIO) += i2400m-sdio.o + +i2400m-objs := \ + control.o \ + driver.o \ + fw.o \ + op-rfkill.o \ + netdev.o \ + tx.o \ + rx.o
It is recommended to use:
i2400m-y := control.o
i2400m-y += driver.o
The important point here is that -y is preferred over -objs.
If you use '\' or '+=' is more personal preferences.
Sam
Quoted 4 lines · Sam Ravnborg
Hi Inaky.
Noticed your wimax patchset when I browsed netdev on marc.info. A few comments:
Thanks, I'll work on the changes.
Signature · 1 line
Inaky