Date: Fri, 30 Apr 2004 21:50:02 +0800 From: =?UTF-8?Q?=E9=9F=A1=E6=AD=A6_=E5=BC=B5?= <zhangweiwu@realss.com> To: freebsd-mobile@freebsd.org Subject: "device card" no longer being used? Message-ID: <e2acb9f1233aef77d6eb0badc0d37aa3@euler>
next in thread | raw e-mail | index | archive | help
Hello. I feel a bit strange why the pcic device is commented out on = FreeBSD 5.2.1 GENERIC on my old thinkpad 380XD. This way my old IBM Creditcard Ethernet II on PCMCIA cannot be detected. But this card is on the list of 5.2.1 hardware list. I tried to uncomment = it and get the compile error: > cc -c -O -pipe -march=3Dpentium-mmx -Wall -Wredundant-decls = -Wnested-externs -Wstrict-prototypes -Wmi > ssing-prototypes -Wpointer-arith -Winline -Wcast-qual = -fformat-extensions -std=3Dc99 -nostdinc -I- > -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/ > contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -D_KERNEL -inclu > de opt_global.h -fno-common -finline-limit=3D15000 = -fno-strict-aliasing=20 -mno-align-long-strings -mpre > ferred-stack-boundary=3D2 -ffreestanding -Werror=20 /usr/src/sys/dev/pcic/i82365.c > /usr/src/sys/dev/pcic/i82365.c: In function `pcic_chip_do_mem_map': > /usr/src/sys/dev/pcic/i82365.c:849: error: structure has no member named `offset' > /usr/src/sys/dev/pcic/i82365.c:851: error: structure has no member named `offset' > /usr/src/sys/dev/pcic/i82365.c:851: error: `PCCARD_MEM_ATTR' undeclared (first use in this function) > > /usr/src/sys/dev/pcic/i82365.c:851: error: (Each undeclared identifier = is reported only once > /usr/src/sys/dev/pcic/i82365.c:851: error: for each function it appears in.) > /usr/src/sys/dev/pcic/i82365.c: In function `pcic_chip_mem_map': > /usr/src/sys/dev/pcic/i82365.c:928: error: structure has no member named `offset' > /usr/src/sys/dev/pcic/i82365.c: In function `pcic_enable_socket': > /usr/src/sys/dev/pcic/i82365.c:1212: warning: implicit declaration of function `CARD_GET_TYPE' > /usr/src/sys/dev/pcic/i82365.c:1216: error: `PCCARD_IFTYPE_IO' = undeclared (first use in this functio > n) > /usr/src/sys/dev/pcic/i82365.c: In function `pcic_set_res_flags': > /usr/src/sys/dev/pcic/i82365.c:1467: error: `PCCARD_MEM_ATTR' undeclared (first use in this function > ) > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/TP380XD. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. The notebook used to run FreeBSD 4.5 with kernel config: # PCCARD (PCMCIA) support device card device pcic0 device pcic1 And if i compile with=20 device pccard rather than=20 device card I get the compile error: > thinkpad# make kernel clean KERNCONF=3DTP380XD > > -------------------------------------------------------------- > >>> Kernel build for TP380XD started on Thu Apr 29 17:53:14 CST 2004 > -------------------------------------------------------------- > =3D=3D=3D> TP380XD > mkdir -p /usr/obj/usr/src/sys > cd /usr/src/sys/i386/conf;=20 PATH=3D/usr/obj/usr/src/i386/legacy/usr/sbin:/usr/obj/usr/src/i386/legacy/ > usr/bin:/usr/obj/usr/src/i386/legacy/usr/games:/usr/obj/usr/src/i386/usr/s= bin:/usr/obj/usr/src/i386/ > usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin=20 config -d /usr/obj/usr/src/s > ys/TP380XD /usr/src/sys/i386/conf/TP380XD > config: Device "card" requires a count > config: 1 errors > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > Does that mean FreeBSD 5.2.1 only suppor cardbus devices?=20 I wish I don't have to go back to 4.x thanks to that I want to use = bluetooth which is only supported in 5.x Please give me a hint. Thank you.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e2acb9f1233aef77d6eb0badc0d37aa3>