[tulip] starfire driver compilation problems

Ed Padin ohdamnthathurts@yahoo.com
Sat, 6 Jan 2001 11:45:08 -0500


That did the trick, thanks.

I would also like to take this opportunity to thank you for your efforts and
contributions. It seems that Linux would not be very ethernet capable
without your work. Your name appears in 34 of the 73 *.c files in my
/usr/src/linux/drivers/net dir.

[root@Client net]# ls *.c | wc -l
     73
[root@Client net]# grep becker *.c -L | wc -l
     34


----- Original Message -----
From: "Donald Becker" <becker@scyld.com>
To: "Ed Padin" <ohdamnthathurts@yahoo.com>
Cc: <tulip@scyld.com>
Sent: Friday, January 05, 2001 11:08 PM
Subject: Re: [tulip] starfire driver compilation problems


> On Fri, 5 Jan 2001, Ed Padin wrote:
>
> > The patch worked and I was able to compile the driver. Now the
pci-scan.o
> > module loads okay but I when I try to load the starfire driver I get the
> > following:
> >
> > cpu_to_be16: wrong version or undefined
>
> As Homer would say, Doh!
>
> Please try the updated kern_compat.h from
>   ftp://www.scyld.com/pub/network/kern_compat.h
>
> That is the only driver using cpu_to_be*() functions.  I removed them from
> natsemi.c.
>
> Most PCI hardware is little-endian, but you occasionally get some
big-endian
> infiltrater that puts a B-E element in an otherwise L-E design.
>
> > > This is a generic problem for all of the drivers.
> > > The bug is in kern_compat.h, where I added new backward-compatiblity
code.
>
> Please send a report.
>
> Donald Becker becker@scyld.com
> Scyld Computing Corporation http://www.scyld.com
> 410 Severn Ave. Suite 210 Second Generation Beowulf Clusters
> Annapolis MD 21403 410-990-9993