Re: Unknown PCI Net Device

Jeff Garzik (jgarzik@mandrakesoft.com)
Wed, 20 Jun 2001 18:56:50 -0400


Andreas Dilger wrote:
>
> Greg writes:
> > I picked up a network card that claims to use the "most reliable Realtek
> > LAN chip". The big chip is labelled "LAN-8139" so naturally I tried the
> > 8139too driver. It doesn't find the device. I'm wondering if maybe it's
> > just something in the device ID tables. Here's some info:
> >
> > 00:0b.0 Ethernet controller: MYSON Technology Inc: Unknown device 0803
> > Subsystem: MYSON Technology Inc: Unknown device 0803
> > Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
>
> Add the PCI vendor ID and device ID (0803) to drivers/net/8139too.c, in
> the rtl8139_pci_tbl[] and board_info[] and if it works, send a patch to
> Jeff (CC'd).

See my other reply, it uses the fealnx driver, adding 2.4.4 or 2.4.5 or
so :)

> Jeff, is there a reason why you have numeric vendor and device IDs instead
> of using the definitions in <linux/pci_ids.h>?

Not a good one :) Not using those constants makes the table nice and
uniform, with one entry per line. Using those constants tends to bloat
up [in the src] the pci_device_id table quite a bit.

Jeff

-- 
Jeff Garzik      | Andre the Giant has a posse.
Building 1024    |
MandrakeSoft     |
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/