b5d89ca8ad
(Boot with the -D flag if you want symbols.) Make it easier to extend `struct bootinfo' without losing either forwards or backwards compatibility. ddb_aout.c: Get the symbol table from wherever the loader put it. Nuke db_symtab[SYMTAB_SPACE]. boot.c: Enable loading of symbols. Align them on a page boundary. Add printfs about the symbol table sizes. Pass the memory sizes to the kernel. Fix initialization of `unit' (it got moved out of the loop). Fix adding the bss size (it got moved inside an ifdef). Initialize serial port when RB_SERIAL is toggled on. Fix comments. Clean up formatting of recently added code. io.c: Clean up formatting of recently added code. netboot/main.c, machdep.c, wd.c: Change names of bootinfo fields. LINT: Nuke SYMTAB_SPACE. Fix comment about DODUMP. Makefile.i386: Nuke use of dbsym. Exclude gcc symbols from kernel unless compiling with -g. Remove unused macro. Fix comments and formatting. genassym.c: Generate defines for some new bootinfo fields. Change names of old ones. locore.s: Copy only the valid part of the `struct bootinfo' passed by the loader. Reserve space for symbol table, if any. machdep.c: Check the memory sizes passed by the loader, if any. Don't use them yet. bootinfo.h: Add a size field so that we can resolve some mismatches between the loader bootinfo and the kernel boot info. The version number is not so good for this because of historical botches and because it's harder to maintain. Add memory size and symbol table fields. Change the names of everything. Hacks to save a few bytes: asm.S, boot.c, boot2.S: Replace `ouraddr' by `(BOOTSEG << 4)'. boot.c: Don't statically initialize `loadflags' to 0. Disable the "REDUNDANT" code that skips the BIOS variables. Eliminate `total'. Combine some more printfs. boot.h, disk.c, io.c, table.c: Move all statically initialzed data to table.c. io.c: Don't put the A20 gate bits in a variable. |
||
---|---|---|
.. | ||
ic | ||
sound | ||
aha1542.c | ||
aha1742.c | ||
aha2742.c | ||
aic6360.c | ||
aic7770.c | ||
b004.c | ||
b004.h | ||
bt742a.c | ||
clock.c | ||
cronyx.c | ||
ctx.c | ||
ctxreg.h | ||
cx.c | ||
cxreg.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_cx.c | ||
if_ed.c | ||
if_edreg.h | ||
if_el.c | ||
if_elreg.h | ||
if_ep.c | ||
if_epreg.h | ||
if_ie507.h | ||
if_ie.c | ||
if_iereg.h | ||
if_is.c | ||
if_isreg.h | ||
if_le.c | ||
if_lnc.c | ||
if_lnc.h | ||
if_ze.c | ||
if_zereg.h | ||
isa_device.h | ||
isa.c | ||
isa.h | ||
iso8859.font | ||
joy.c | ||
kbd.h | ||
kbdtables.h | ||
lpt.c | ||
lptreg.h | ||
mcd.c | ||
mcdreg.h | ||
mse.c | ||
npx.c | ||
npx.c.orig | ||
pas.c | ||
pcaudio.c | ||
psm.c | ||
readMBR.c | ||
README.le | ||
rtc.h | ||
seagate.c | ||
sio.c | ||
sioreg.h | ||
spkr.c | ||
syscons.c | ||
timerreg.h | ||
tw.c | ||
ultra14f.c | ||
vector.s | ||
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/