|
Support pages |
|
|
| FreeBSD 4.8 ja vanhemmat eivät tunnista oikein kaikkien eboxien ethernet-piiriä. Virhe johtuu FreeBSD turhan tiukasta piirityypin tarkistuksesta, joka hylkää kokonaan piirin jos tarkentava piirityyppi on tuntematon, vaikka PCI-ID osoittaisi piirin olevan 8139. Virhe vaatii muutaman rivin korjauksen ajuriin. Ajuriin tehty muutos sisältää RT_DEVICEID_8100:n lisäämisen if_rlreg.h:n, sekä lisäykset rl_devs taulukkoon ja rl_attach funktioon if_rl.c:ssä. Tässä korjattu if_rl ajuri FreeBSD 4.8-käyttöjärjestelmään shell-archive muodossa (puretaan syöttämällä tiedosto /bin/sh:lle), jolla korvataan /usr/src/sys/pci hakemistossa olevat if_rlreg.h ja if_rl.c. Tämä toimii vain 4.8-RELEASE käyttöjärjestelmäversion kanssa. 4.8-STABLEen ja 5.0-CURRENT-haaroihin virhe on korjatu 17.8.2003. rl.txt FreeBSD 4.8, 5.1 and older versions do not regocnize the RealTek ethernet chip version used in latest Gadget Computer Eboxes. FreeBSD is too picky on device ID, and ignores the chip even if it is 8139 according to PCI-ID. This is simple to fix. The change involves adding RT_DEVICEID_8100 to if_rlreg.h, and rl_devs table and rl_attach function in if_rl.c. The following is the if_rl driver for FreeBSD 4.8 in shell archive format (feed it to /bin/sh and it will extract the files). These will replace /usr/src/sys/pci files if_rlreg.h and if_rl.c in FreeBSD 4.8R distribution. The problem is fixed in FreeBSD-4-STABLE and FreeBSD-5-CURRENT as of 17th August 2003. rl.txt |
|
|