SDIO stack for Linux-2.6.26.3

Andy Green andy at openmoko.com
Wed Feb 18 07:17:56 CET 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Somebody in the thread at some point said:
| I hav been working with Olimex board (AT91sam9260) linux-2.6.26.3.I use
| Atheros AR6001GZ (SDIO WiFi card).
|
| I downloaded patches from
| http://svn.openmoko.org/branches/src/target/kernel/2.6.24.x/patches/

This is outdated now compared to the stuff in our git.

| I use arch/arm/at91sam9260ek_defconfig as my default config...since
| there is no PNP support in that config i commented 'depends on ISA ||
| ACPI' in drivers/pnp/Kconfig..
|
| I got that option after that..but my patch failed to add sdio in
| drivers/Makefile...but i saw SDIO options in menuconfig...
|
| so i manually added
| obj-$(CONFIG_SDIO)              += sdio/
|
| to /drivers/Makefile to see some errors while making modules and
| succeeded in that atleast..
|
|  CC [M]  drivers/sdio/function/wlan/ar6000/htc/ar6k.o
|   CC [M]  drivers/sdio/function/wlan/ar6000/htc/ar6k_events.o
|   CC [M]  drivers/sdio/function/wlan/ar6000/htc/htc_send.o
|   CC [M]  drivers/sdio/function/wlan/ar6000/htc/htc_recv.o
|   CC [M]  drivers/sdio/function/wlan/ar6000/htc/htc_services.o
|   CC [M]  drivers/sdio/function/wlan/ar6000/htc/htc.o
|   CC [M]  drivers/sdio/function/wlan/ar6000/hif/hif.o
|   CC [M]  drivers/sdio/function/wlan/ar6000/bmi/bmi.o
|   CC [M]  drivers/sdio/function/wlan/ar6000/ar6000/ar6000_drv.o
|   CC [M]  drivers/sdio/function/wlan/ar6000/ar6000/ar6000_raw_if.o
|   CC [M]  drivers/sdio/function/wlan/ar6000/ar6000/netbuf.o
|   CC [M]  drivers/sdio/function/wlan/ar6000/ar6000/wireless_ext.o
|   CC [M]  drivers/sdio/function/wlan/ar6000/ar6000/ioctl.o
|   CC [M]  drivers/sdio/function/wlan/ar6000/miscdrv/common_drv.o
|   CC [M]  drivers/sdio/function/wlan/ar6000/miscdrv/credit_dist.o
|   CC [M]  drivers/sdio/function/wlan/ar6000/wmi/wmi.o
|   CC [M]  drivers/sdio/function/wlan/ar6000/wlan/wlan_node.o
|   CC [M]  drivers/sdio/function/wlan/ar6000/wlan/wlan_recv_beacon.o
|   CC [M]  drivers/sdio/function/wlan/ar6000/wlan/wlan_utils.o
|   LD [M]  drivers/sdio/function/wlan/ar6000/ar6000.o
|   CC [M]  drivers/sdio/stack/busdriver/sdio_bus.o
|   CC [M]  drivers/sdio/stack/busdriver/sdio_function.o
|   CC [M]  drivers/sdio/stack/busdriver/sdio_bus_misc.o
|   CC [M]  drivers/sdio/stack/busdriver/sdio_bus_events.o
|   CC [M]  drivers/sdio/stack/busdriver/sdio_bus_os.o
| drivers/sdio/stack/busdriver/sdio_bus_os.c:405: warning: initialization
| from incompatible pointer type
| drivers/sdio/stack/busdriver/sdio_bus_os.c:406: warning: initialization
| from incompatible pointer type
| drivers/sdio/stack/busdriver/sdio_bus_os.c: In function
| 'OS_InitializeDevice':
| drivers/sdio/stack/busdriver/sdio_bus_os.c:513: error: implicit
| declaration of function 'pnp_init_resource_table'
| drivers/sdio/stack/busdriver/sdio_bus_os.c:526: error: implicit
| declaration of function 'pnp_add_id'
| drivers/sdio/stack/busdriver/sdio_bus_os.c: In function 'OS_AddDevice':
| drivers/sdio/stack/busdriver/sdio_bus_os.c:545: error: implicit
| declaration of function 'pnp_add_device'
| drivers/sdio/stack/busdriver/sdio_bus_os.c: In function
| 'sdio_busdriver_init':
| drivers/sdio/stack/busdriver/sdio_bus_os.c:735: error: implicit
| declaration of function 'pnp_register_protocol'
| drivers/sdio/stack/busdriver/sdio_bus_os.c: In function
| 'sdio_busdriver_cleanup':
| drivers/sdio/stack/busdriver/sdio_bus_os.c:750: error: implicit
| declaration of function 'pnp_unregister_protocol'
| make[4]: *** [drivers/sdio/stack/busdriver/sdio_bus_os.o] Error 1
| make[3]: *** [drivers/sdio/stack/busdriver] Error 2
| make[2]: *** [drivers/sdio/stack] Error 2
| make[1]: *** [drivers/sdio] Error 2
| make: *** [drivers] Error 2
|
| Hope u people ll definitely help me out..i am beginner in linux
| kernel..am i missing some basic stuffs?

Did you enable PNP stuff in your kernel config?

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkmbqBQACgkQOjLpvpq7dMpgEQCeI4/vWAZtQaziLF/CIdPRh8FU
wWoAnjSbL9GRkVIJ+5kw5anAgmpSlIm5
=4V6z
-----END PGP SIGNATURE-----



More information about the openmoko-kernel mailing list