mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
2dafbfcbab
time. The results are currently ignored unless certain temporary options are used. Added sysctls to support reading and writing the clock frequency variables (not the frequencies themselves). Writing is supposed to atomically adjust all related variables. machdep.c: Fixed spelling of a function name in a comment so that I can log this message which should have been with the previous commit. Initialize `cpu_class' earlier so that it can be used in startrtclock() instead of in calibrate_cyclecounter() (which no longer exists). Removed range checking of `cpu'. It is always initialized to CPU_XXX so it is less likely to be out of bounds than most variables. clock.h: Removed I586_CYCLECTR(). Use rdtsc() instead. clock.c: TIMER_FREQ is now a variable timer_freq that defaults to the old value of TIMER_FREQ. #define'ing TIMER_FREQ should still work and may be the best way of setting the frequency. Calibration involves counting cycles while watching the RTC for one second. This gives values correct to within (a few ppm) + (the innaccuracy of the RTC) on my systems. |
||
---|---|---|
.. | ||
ic | ||
matcd | ||
pcvt | ||
sound | ||
aha1542.c | ||
aic6360.c | ||
asc.c | ||
ascreg.h | ||
atapi.c | ||
atapi.h | ||
b004.c | ||
b004.h | ||
bt5xx-445.c | ||
clock.c | ||
cronyx.c | ||
ctx.c | ||
ctxreg.h | ||
cx.c | ||
cxreg.h | ||
cy.c | ||
cyreg.h | ||
diskslice_machdep.c | ||
elink.c | ||
elink.h | ||
fd.c | ||
fdc.h | ||
fdreg.h | ||
ft.c | ||
ftreg.h | ||
gpib.c | ||
gpib.h | ||
gpibreg.h | ||
gsc.c | ||
gscreg.h | ||
icu.h | ||
icu.s | ||
if_ar.c | ||
if_arregs.h | ||
if_cx.c | ||
if_ed.c | ||
if_edreg.h | ||
if_eg.c | ||
if_egreg.h | ||
if_el.c | ||
if_elreg.h | ||
if_ep.c | ||
if_epreg.h | ||
if_fe.c | ||
if_fereg.h | ||
if_ie507.h | ||
if_ie.c | ||
if_iereg.h | ||
if_ix.c | ||
if_ixreg.h | ||
if_le.c | ||
if_lnc.c | ||
if_lnc.h | ||
if_ze.c | ||
if_zp.c | ||
if_zpreg.h | ||
isa_device.h | ||
isa.c | ||
isa.h | ||
joy.c | ||
kbd.h | ||
kbdtables.h | ||
labpc.c | ||
lpt.c | ||
lptreg.h | ||
mcd.c | ||
mcdreg.h | ||
mse.c | ||
ncr5380.c | ||
npx.c | ||
pcaudio.c | ||
pcibus.c | ||
pcic.h | ||
pcicx.c | ||
prof_machdep.c | ||
psm.c | ||
qcam.c | ||
qcamdefs.h | ||
qcamio.c | ||
qcamreg.h | ||
random_machdep.c | ||
rc.c | ||
rcreg.h | ||
README.le | ||
rtc.h | ||
scd.c | ||
scdreg.h | ||
seagate.c | ||
si_code.c | ||
si.c | ||
sio.c | ||
sioreg.h | ||
sireg.h | ||
spigot.c | ||
spkr.c | ||
syscons.c | ||
syscons.h | ||
timerreg.h | ||
tw.c | ||
ultra14f.c | ||
vector.s | ||
wcd.c | ||
wd7000.c | ||
wd.c | ||
wdreg.h | ||
wt.c | ||
wtreg.h |
$Id: README.le,v 1.1 1994/10/01 20:15:43 wollman Exp $ ---------------- This driver is in no way supported by Digital Equipment. See the disclaimers in the sources for more. This driver supports all the DEC EtherWORKS III NICs (DE203, DE204, and DE205) and the later DEC EtherWORKS II NICs (DE200, DE201, DE202, DE422). DEPCA-style boards prior to the DE200 have not been tested and may not work. This driver is not EISA aware. If you are using a DE422 or have configured the EtherWORKS III in EISA mode, make sure you specify the I/O port properly as this driver will *not* probe for it. (The I/O port should be 0xNc00 where N is the EISA slot number). This driver does not yet use the full 128KB allowed by the DE422. Someday, it might. For EtherWORKS III NICs, the driver will override the EEPROM setting of MemoryMode and *always* use the 2K for best results. The driver includes full support for both BPF and IP Multicast. [All paths are relative to the top of sys source area, usually /usr/src/sys.] The following files need to be moved into their respective directories: if_le.c --> i386/isa am7990.h --> i386/isa/ic lemac.h --> i386/isa/ic You will need to apply the patch provided in pat.files.i386 to i386/conf/files.i386 file. After that is done you will need to edit your config file (in i386/conf) and a line similar to: device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr [The above line assumes the board is still at the factory defaults.] Change the port, irq, and iomem value if needed to your configuration. Now you are ready to rebuild your kernel, reboot, and see if the driver can configure your board. When the system boots, you will hopefully something close to: EtherWORKS II: le0 at 0x300-0x30f irq 5 maddr 0xd0000 msize 65536 on isa le0: DE202 ethernet address 08:00:2b:2d:c8:45 bpf: le0 attached EtherWORKS III: le0 at 0x320-0x33f irq 5 maddr 0xd0000 msize 2048 on isa le0: DE205-AB ethernet address 08:00:2b:bb:23:e0 le0 attached in the startup log. If so, the board configured properly and should be ready to use. -- Mail: thomas@lkg.dec.com URL: http://ftp.digital.com/~thomas/