Re: Problem with device rl

2001-05-01 Thread milunovic

-BEGIN PGP SIGNED MESSAGE-

On Mon, 30 Apr 2001, Matthew Emmerton wrote:

Thank you,this patch is working

> *** 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.
>*/
> 
> 
> 
> 

Vojislav Milunovic
[EMAIL PROTECTED]

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv

iQEVAwUBOu6A1i3gPLld8IkLAQH6Vgf9GKRPN5J2Wt6ty/I/dLyTmYkrUDU+TlLK
eS+o+dpvaDGKAGRDx+5yuxYfoxb40ZFar/mu29JSfCZ4SzLm8NJGWMi6Fshkt7Hn
ECdtZfZHOxVey51jobD1h+ipr33taj+8Wz8RMLMigE8wID3eQ/bY4TveXxYkal/B
aMOhHXy0SWIGLHp0AzyWomxByW0m8ye8BwiEktOx2Z7pAlBAl9FVd8TfgHzs+hJd
LVc2Goi4VCZ7vhhCpB097ier46tgcAH9eGavR4BPfT/RYOrmgOwsROW4B8bn7NI/
2CpHNGn7tY7gt1/kUSk+SYFr5Ot49Z1Ua7TrLV4o3hVXGNuPE+bcsQ==
=TdYO
-END PGP SIGNATURE-



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: Problem with device rl

2001-04-30 Thread Matthew Emmerton

> -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:  (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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: Problem with device rl

2001-04-30 Thread Andrew Matheson

Vojislav,
I had the same problem with FreeBSD 4.3 and a D-Link DFE-530TX+ on a 
Dell PowerEdge 1400sc.  I spent a couple of days on and off fighting 
with it and couldn't make it work.  After going as far as explicitly 
loading the rl driver in loader.conf (I don't know how I ended up in 
there, but I was desperate), I finally punted.  I returned the D-Link 
and purchased an Intel InBusiness 10/100 card.  It was $49 bucks, but 
worked right out of the box with the fxp driver--I didn't have to 
monkey with anything.  $30 wouldn't have been worth two days even if 
in the end the card had worked.  It was particularly frustrating 
because everything I've read in the mailing list archives indicated 
that it should work.

Good Luck,
Andrew


>-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:  (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
>
>I don't know what should I do.Please help.
>
>Vojislav Milunovic
>[EMAIL PROTECTED]
>
>-BEGIN PGP SIGNATURE-
>Version: PGPfreeware 5.0i for non-commercial use
>Charset: noconv
>
>iQEVAwUBOu4OAS3gPLld8IkLAQFgqggAiL0WcP7FDTTYyNI1fqeMS7ozn219wuTF
>gnGQtAo7g9B/dWf2MIsol9C0Aj+i9TyGX833q/me9GynSkZIwT7Pi8CVoHWfrd6k
>wFzUKIMI8o7Bta4518FIgrlrLpMSB0q5lioxhwo5irsRaYDTfv1g3JZEegxPyyLD
>D2A+j9oO90SNNXqcIqCVZ6J9DPrHzxFPhMzQGSdEg2KuYX1XU5lz5JqNUB7lLJIC
>99Z6KNSYYFzv+vfDEQnnq0pVpkwIyAMxVJ7DH7tkJ9rYMRRnAnfdjbMQBBq/07tG
>k/CAc1kAS07Chl5tCUvkiPrOdM2Wfnu37Ai/9IZsN/cBLkItLR4ZvA==
>=bQV2
>-END PGP SIGNATURE-
>
>
>
>To Unsubscribe: send mail to [EMAIL PROTECTED]
>with "unsubscribe freebsd-hackers" in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Problem with device rl

2001-04-30 Thread milunovic

-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:  (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

I don't know what should I do.Please help.

Vojislav Milunovic
[EMAIL PROTECTED]

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv

iQEVAwUBOu4OAS3gPLld8IkLAQFgqggAiL0WcP7FDTTYyNI1fqeMS7ozn219wuTF
gnGQtAo7g9B/dWf2MIsol9C0Aj+i9TyGX833q/me9GynSkZIwT7Pi8CVoHWfrd6k
wFzUKIMI8o7Bta4518FIgrlrLpMSB0q5lioxhwo5irsRaYDTfv1g3JZEegxPyyLD
D2A+j9oO90SNNXqcIqCVZ6J9DPrHzxFPhMzQGSdEg2KuYX1XU5lz5JqNUB7lLJIC
99Z6KNSYYFzv+vfDEQnnq0pVpkwIyAMxVJ7DH7tkJ9rYMRRnAnfdjbMQBBq/07tG
k/CAc1kAS07Chl5tCUvkiPrOdM2Wfnu37Ai/9IZsN/cBLkItLR4ZvA==
=bQV2
-END PGP SIGNATURE-



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message