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

Re: structure has no member named 'tbusy'



I got a laptop a while ago and a pcmcia network card to go with it.
The network card has some basic linux support:  it comes with a c
file and a h file that you can compile into a module.

I tried compiling it with the 2.4 kernel and pcmcia-cs, and got
some errors.  I tried again with the 2.2.20 kernel and
got a few errors, actually three errors repeated in a few places.
The errors are
 structure has no member named 'tbusy'
 structure has no member named 'interrupt'
 structure has no member named ''  <- I forget the third name

I looked in the kernel headers at netdriver.h or netdevice.h (I think
that's the name) at the structure in question (struct netdevice, I think,
IIRC).  Well I looked at that one file as it exists in two places:
the kernel source tree, and /usr/include.

Those members exist in the file in the kernel sources, but not in
/usr/include.

I had installed various versions of the kernel sources, so once I decided
that I needed kernel 2.2.20, I did a fresh reinstall (including
new arrangement of disk partitions) of debian onto the
laptop, and only installed debian base (kernel 2.2.20) and kernel-sources
for 2.2.20 (and a bunch of other packages for compiling, desktop, etc,
but no other kernels in any form).

Now what?  Have I done something wrong?  Should I just exclude the
/usr/include files from the compilation?  How?  Maybe I'll try
to make depend on the c file and see what files are actually getting
included.

Also, anyone care to give me some hints on how to port the device
driver to linux kernel 2.4?  I need 2.4 for other devices.

Laptop is IBM Thinkpad 600E, linux kernel 2.2.20, pcmcia-cs (sorry I
forget, it's the one that came on the Woody Testing cd in early-to-mid
March (March 18?  March 19?).  It was a fresh install of all that stuff
from the cds.

I'm emailing from my work account, my other home computer is messed
up and I can't read email for a few days due to another reason.
Please cc me at this address.  Thanks.

-- 
Brenda J. Butler   brenda.butler@zarlink.com   (613) 270-7642


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: