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

Re: D-link DFE-538TX not recongnized



Run a search on google. Sorry don't remember where i got it. But i've been
using it since 2.7 (now i run 2.8). Or maybe contact the author of the patch
to make changes for DFE-538TX+.

Siddhartha

----- Original Message -----
From: "Albert Martinez" <albertem@bellatlantic.net>
To: "Siddhartha Jain" <sjsnort@yahoo.com>; <misc@openbsd.org>
Sent: Tuesday, July 31, 2001 6:57 PM
Subject: Re: D-link DFE-538TX not recongnized


> Where did you get this patch?  I need one ofr a DFE-530TX+.
>
> ----- Original Message -----
> From: "Siddhartha Jain" <sjsnort@yahoo.com>
> To: <misc@openbsd.org>
> Sent: Tuesday, July 31, 2001 8:52 AM
> Subject: Re: D-link DFE-538TX not recongnized
>
>
> > I got this patch also for the dfe-538tx. It works fine.
> > -----------------------------------------------------------------------
> > Adds PCI recognition for DLink DFE-538TX to (rl) driver.
> >     The 538TX uses the amphy PHY drivers (Am79C873)
> >
> > Apply by doing:
> >         cd /usr/src
> >         patch -p0 < dfe-538tx.patch
> > And then rebuild your kernel.
> >
> >
> > --- sys/dev/pci/if_rl.c.orig Mon Oct 16 13:08:08 2000
> > +++ sys/dev/pci/if_rl.c Wed Feb 14 19:48:34 2001
> > @@ -1244,6 +1244,10 @@
> >   }
> >   }
> >
> > + if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_DLINK &&
> > +     PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_DLINK_538TX)
> > + return (1);
> > +
> >   return 0;
> >  }
> >
> > @@ -1334,7 +1338,8 @@
> >   rl_read_eeprom(sc, (caddr_t)&rl_did, RL_EE_PCI_DID, 1, 0);
> >
> >   if (rl_did == RT_DEVICEID_8139 || rl_did == ACCTON_DEVICEID_5030 ||
> > -     rl_did == DELTA_DEVICEID_8139 || rl_did == ADDTRON_DEVICEID_8139)
> > +     rl_did == DELTA_DEVICEID_8139 || rl_did == ADDTRON_DEVICEID_8139
||
> > +     rl_did == DLINK_DEVICEID_538TX )
> >   sc->rl_type = RL_8139;
> >   else if (rl_did == RT_DEVICEID_8129)
> >   sc->rl_type = RL_8129;
> > --- sys/dev/pci/if_rlreg.h.orig Tue Dec 14 17:34:45 1999
> > +++ sys/dev/pci/if_rlreg.h Wed Feb 14 14:14:38 2001
> > @@ -432,6 +432,16 @@
> >  #define ADDTRON_DEVICEID_8139 0x1360
> >
> >  /*
> > + * Dlink vendor ID.
> > + */
> > +#define DLINK_VENDORID 0x1186
> > +
> > +/*
> > + * Dlink device IDs.
> > + */
> > +#define DLINK_DEVICEID_538TX 0x1300
> > +
> > +/*
> >   * PCI low memory base and low I/O base register, and
> >   * other PCI registers. Note: some are only available on
> >   * the 3c905B, in particular those that related to power management.
> > --- sys/dev/pci/pcidevs.h.orig Wed Feb 14 14:04:26 2001
> > +++ sys/dev/pci/pcidevs.h Wed Feb 14 14:03:29 2001
> > @@ -956,6 +956,7 @@
> >
> >  /* D-Link products */
> >  #define PCI_PRODUCT_DLINK_550TX 0x1002 /* 550TX */
> > +#define PCI_PRODUCT_DLINK_538TX 0x1300 /* DFE-538TX */
> >
> >  /* Davicom Technologies */
> >  #define PCI_PRODUCT_DAVICOM_DM9100 0x9100 /* DM9100 */
> > --- sys/dev/pci/pcidevs_data.h.orig Tue Oct 31 17:54:59 2000
> > +++ sys/dev/pci/pcidevs_data.h Wed Feb 14 14:06:28 2001
> > @@ -1821,6 +1821,12 @@
> >       "550TX",
> >   },
> >   {
> > +     PCI_VENDOR_DLINK, PCI_PRODUCT_DLINK_538TX,
> > +     0,
> > +     "D-Link Systems",
> > +     "538TX",
> > + },
> > + {
> >       PCI_VENDOR_DAVICOM, PCI_PRODUCT_DAVICOM_DM9100,
> >       0,
> >       "Davicom Technologies",
>
> --------------------------------------------------------------------------
> --
> > ----------
> >
> > Hope this helps.
> >
> > Siddhartha
> >
> >
> >
> > ----- Original Message -----
> > From: "Jean-Christophe Sicard" <jc_sicard@bigfoot.com>
> > To: <misc@openbsd.org>
> > Sent: Tuesday, July 31, 2001 5:48 PM
> > Subject: RE: D-link DFE-538TX not recongnized
> >
> >
> > > Ah! Thanx, I forgot about that, it must be it.. I'll try it later
> > > today..
> > > Thanx!
> > >
> > > JC
> > >
> > > -----Original Message-----
> > > From: owner-misc@openbsd.org [mailto:owner-misc@openbsd.org]On Behalf
Of
> > > Larry Moore
> > > Sent: July 31, 2001 03:55
> > > To: misc@openbsd.org
> > > Subject: Re: D-link DFE-538TX not recongnized
> > > Importance: Low
> > >
> > >
> > > Presumably after you made the change in /usr/src/sys/dev/pci you also
> > > ran
> > > "make" in this directory.
> > > That will update pcidevs.h and pcidevs_data.h. You now have the
updated
> > > files which will be included in the new kernel you build.
> > >
> > > Cheers,
> > >
> > > Larry.
> > >
> > > ----- Original Message -----
> > > From: "Jean-Christophe Sicard" <jc_sicard@bigfoot.com>
> > > To: <misc@openbsd.org>
> > > Sent: Tuesday, July 31, 2001 1:11 PM
> > > Subject: D-link DFE-538TX not recongnized
> > >
> > >
> > > > Hi,
> > > >
> > > > I have a D-link DFE-538TX nic which, according to the FAQ, is
supposed
> > > > to be supported by 2.9.  The default kernel did not recognize it,
> > > > (unknown device id 0x1300).  I've seen that support to the Dlink
> > > 530TX+
> > > > seems to have been added later (the nic is recognized as a 530TX) so
I
> > > > tried rebuilding my kernel with the latest versions (from cvs web)
of
> > > > files "pcidevs" and "rtl81x9reg.h" but the new kernel still doesnt
> > > know
> > > > the device id... What gives?
> > > >
> > > > What can I do to get it recognized correctly?
> > > >
> > > > Thanx
> > > >
> > > > dmesg follows:
> > > >
> > > > OpenBSD 2.9-stable (GENERIC) #3: Mon Jul 30 20:59:06 EDT 2001
> > > >     root@sentry:/usr/src/sys/arch/i386/compile/GENERIC
> > > > cpu0: F00F bug workaround installed
> > > > cpu0: Intel Pentium/MMX ("GenuineIntel" 586-class) 234 MHz
> > > > cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,MMX
> > > > real mem  = 66699264 (65136K)
> > > > avail mem = 56918016 (55584K)
> > > > using 839 buffers containing 3436544 bytes (3356K) of memory
> > > > mainbus0 (root)
> > > > bios0 at mainbus0: AT/286+(b7) BIOS, date 11/24/98, BIOS32 rev. 0 @
> > > > 0xf04d0
> > > > apm0 at bios0: Power Management spec V1.2 (BIOS mgmt disabled)
> > > > apm0: AC on, battery charge unknown
> > > > pcibios0 at bios0: rev. 2.1 @ 0xf0000/0xaf2
> > > > pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xf0a80/112 (5 entries)
> > > > pcibios0: PCI Interrupt Router at 000:01:0 ("Intel 82371FB PCI-ISA"
> > > rev
> > > > 0x00)
> > > > pcibios0: PCI bus #0 is the last bus
> > > > bios0: ROM list: 0xc0000/0x8000
> > > > pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> > > > pchb0 at pci0 dev 0 function 0 "Intel 82439TX System" rev 0x01
> > > > pcib0 at pci0 dev 1 function 0 "Intel 82371AB PIIX4 ISA" rev 0x01
> > > > pciide0 at pci0 dev 1 function 1 "Intel 82371AB IDE" rev 0x01: DMA,
> > > > channel 0 wired to compatibility, channel 1 wired to compatibility
> > > > wd0 at pciide0 channel 0 drive 0: <NEC Corporation DSE2550A>
> > > > wd0: 16-sector PIO, LBA, 2441MB, 4960 cyl, 16 head, 63 sec, 4999680
> > > > sectors
> > > > pciide0: channel 0 interrupting at irq 14
> > > > wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
> > > > pciide0: channel 1 ignored (disabled)
> > > > uhci0 at pci0 dev 1 function 2 "Intel 82371AB USB" rev 0x01: irq 12
> > > > usb0 at uhci0: USB revision 1.0
> > > > uhub0 at usb0
> > > > uhub0: vendor 0x0000 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> > > > uhub0: 2 ports with 2 removable, self powered
> > > > "Intel 82371AB Power Management" rev 0x01 at pci0 dev 1 function 3
not
> > > > configured
> > > > le1 at pci0 dev 10 function 0 "AMD 79c970 PCnet-PCI LANCE" rev 0x16
> > > > le1: address 00:00:b4:50:be:ff
> > > > le1: 8 receive buffers, 2 transmit buffers
> > > > le1: interrupting at irq 10
> > > > rl0 at pci0 dev 11 function 0 "D-Link Systems 530TX+" rev 0x10: irq
11
> > > > address 00:50:ba:51:4c:75
> > > >
> > > > rl0: unknown device id: 1300
> > > > isa0 at pcib0
> > > > isadma0 at isa0
> > > > pckbc0 at isa0 port 0x60/5
> > > > pckbd0 at pckbc0 (kbd slot)
> > > > pckbc0: using irq 1 for kbd slot
> > > > wskbd0 at pckbd0: console keyboard
> > > > vga0 at isa0 port 0x3b0/48 iomem 0xa0000/131072
> > > > wsdisplay0 at vga0: console (80x25, vt100 emulation), using wskbd0
> > > > wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> > > > pcppi0 at isa0 port 0x61
> > > > midi0 at pcppi0: <PC speaker>
> > > > sysbeep0 at pcppi0
> > > > lpt0 at isa0 port 0x378/4 irq 7
> > > > npx0 at isa0 port 0xf0/16: using exception 16
> > > > pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> > > > pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> > > > fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
> > > > fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
> > > > biomask 5040 netmask 5c40 ttymask 5cc2
> > > > pctr: 586-class performance counters and user-level cycle counter
> > > > enabled
> > > > dkcsum: wd0 matched BIOS disk 80
> > > > root on wd0a
> > > > rootdev=0x0 rrootdev=0x300 rawdev=0x302
> > > >
> > > > ____________________________________________
> > > > Jean-Christophe Sicard
> > > > E-Mail: jc_sicard@bigfoot.com