Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Apr 2001 21:22:02 -0400
From:      "Matthew Emmerton" <matt@gsicomp.on.ca>
To:        "milunovic" <milunovic@sendmail.ru>, <hackers@FreeBSD.ORG>
Subject:   Re: Problem with device rl
Message-ID:  <00bc01c0d1dd$2241a940$1200a8c0@gsicomp.on.ca>
References:  <Pine.BSF.4.21.0105010309370.404-100000@scorpion.cosmos.all.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> -----BEGIN PGP SIGNED MESSAGE-----
>
> Maybe this isn't right mailing list to send  this problem but here it is:
> I have D-Link DFE-530TX+ and in LINT I read that I should use device rl
> for this Network card but kernel don't want to find it only output off
> kernel is :
> pci0: <unknown card> (vendor=0x1186, dev=0x1300) at 13.0 irq 11
>
> This should be that card.I read all posts from docs.freebsd.org and I
> couldn't find how to solve this problem.
> Version of FreeBSD is 4.2 and line in kernel is :
> device miibus
> device rl

You're doing the right thing, but sadly the driver hasn't been updated to
support the DFE-530TX+ and the DFE-538TX/R cards.

If you feel comfortable patching kernel source code, the following patches
will add support for the DFE-530TX+ card.
[ Thanks to Bill Paul for posting these patches on the -net mailing list
last month. ]

--
Matt Emmerton

*** if_rl.c.orig Sun Mar 25 19:08:34 2001
--- if_rl.c Sun Mar 25 23:14:00 2001
***************
*** 149,154 ****
--- 149,156 ----
  "Delta Electronics 8139 10/100BaseTX" },
  { ADDTRON_VENDORID, ADDTRON_DEVICEID_8139,
  "Addtron Technolgy 8139 10/100BaseTX" },
+ { DLINK_VENDORID, DLINK_DEVICEID_530TXPLUS,
+ "D-Link DFE-530TX+ 10/100BaseTX" },
  { 0, 0, NULL }
  };
***************
*** 898,904 ****
  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)
  sc->rl_type = RL_8139;
  else if (rl_did == RT_DEVICEID_8129)
  sc->rl_type = RL_8129;
--- 903,910 ----
  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 == DLINK_DEVICEID_530TXPLUS)
  sc->rl_type = RL_8139;
  else if (rl_did == RT_DEVICEID_8129)
  sc->rl_type = RL_8129;

*** if_rlreg.h.orig Sun Mar 25 19:08:34 2001
--- if_rlreg.h Sun Mar 25 19:10:12 2001
***************
*** 433,438 ****
--- 433,448 ----
  #define ADDTRON_DEVICEID_8139 0x1360

  /*
+  * D-Link vendor ID.
+  */
+ #define DLINK_VENDORID 0x1186
+
+ /*
+  * D-Link DFE-530TX+ device ID
+  */
+ #define DLINK_DEVICEID_530TXPLUS 0x1300
+
+ /*
   * PCI low memory base and low I/O base register, and
   * other PCI registers.
   */




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00bc01c0d1dd$2241a940$1200a8c0>