Mercurial > ecos-v3_0-branch
changeset 1906:647109e7bc28
* src/if_8139.c: fixed bug that prevented rltk8139_find to find
anything but first device.
| author | asl |
|---|---|
| date | Fri, 04 Mar 2005 19:51:12 +0000 |
| parents | b5b8e19a4f4a |
| children | 18ecc5da41f1 |
| files | packages/devs/eth/rltk/8139/current/ChangeLog packages/devs/eth/rltk/8139/current/src/if_8139.c |
| diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/devs/eth/rltk/8139/current/ChangeLog +++ b/packages/devs/eth/rltk/8139/current/ChangeLog @@ -1,3 +1,8 @@ +2005-03-03 Bob Koninckx <bob.koninckx@fmtc.be> + + * src/if_8139.c: fixed bug that prevented rltk8139_find to find + anything but first device. + 2004-10-18 Andrew Dyer <adyer@righthandtech.com> * src/if_8139.c (rltk8139_recv): if eth_drv_recv() wants to
--- a/packages/devs/eth/rltk/8139/current/src/if_8139.c +++ b/packages/devs/eth/rltk/8139/current/src/if_8139.c @@ -319,8 +319,8 @@ rltk8139_find(int n_th, struct eth_drv_s /* Go through all PCI devices until we find the Nth 8139 chip */ + pci_device_id = CYG_PCI_NULL_DEVID; do { - pci_device_id = CYG_PCI_NULL_DEVID; if (!cyg_pci_find_matching(&rltk8139_find_match_func, NULL, &pci_device_id)) return false;
