Patch to 2.3.99-pre5 kernel to get Linksys card working...

Christopher Smith x@xman.org
Thu Apr 13 17:51:54 2000


On Thu, Apr 13, 2000 at 05:04:59PM -0400, Donald Becker wrote:
> On Thu, 13 Apr 2000, Christopher Smith wrote:
> 
> > Do you have docs describing the changes? I'm looking at select_media()
> > in v0.91x vs v0.91g-ppc and I'm not perceiving the difference. It
> > still looks tricky (largely because it has to be I suspect) and the
> > overall structure seems to be the same.
> 
> As you can see, a good part of select_media() is doing the operations
> described by the EEPROM media table.  The EEPROM table format is more
> complex than it needed to be, and the semantics different among chip types.
> Thus the code cannot be simplified without removing a feature that some
> board depends on.

Hmm... From where I'm standing it looks like the v0.91g-ppc code is
already doing the same thing. Actually, it also looks like there's a
fair bit of branching based on mleaf->type and tp->chip_id. It'd be
nice if that could be pushed into the tulip_chip_table (much as the
timer code was). Of course, I'm looking at this from the periphery
with no experience working on the driver (other than yesterday ;-), so
I am likely missing the point.
 
> > I tried compiling this against 2.2.15pre17 with zero success, btw. Any
> > suggestions on what the compile against?
> 
> What compile problem are you having?

Basically it looks like problems with the kernel compatibility code
(k_compat.h, pci-netif.h, and kern_compat.h). I even tried downloading
those various packages from your site and playing around with the
defines to try to get it to work right before I just gave up.

--Chris

-------------------------------------------------------------------
To unsubscribe send a message body containing "unsubscribe"
to linux-tulip-request@beowulf.org