summaryrefslogtreecommitdiffstats
path: root/release/picobsd/router
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2000-10-15 20:42:22 +0000
committerjoe <joe@FreeBSD.org>2000-10-15 20:42:22 +0000
commit76e0aec5a27fc5ad6db495bbc8c2439ab794d809 (patch)
treecd0206c1b320b3605889421a4b988105be559700 /release/picobsd/router
parent9b17e562cb8712e52ded99a00a1d5571aacf24d3 (diff)
downloadFreeBSD-src-76e0aec5a27fc5ad6db495bbc8c2439ab794d809.zip
FreeBSD-src-76e0aec5a27fc5ad6db495bbc8c2439ab794d809.tar.gz
Fix the PICOBSD kernel configs. They're now converted to use
Peter's new format, and I'd added hints files for each. The build process uses the PICOBSD.hints file as well as the config, and additionally builds with -DNO_MODULES. The build process probably needs to be converted to use the 'buildkernel' method instead of running config itself. The kernels now compile. I've not been able to test the crunch process however because it used the vn driver and there are no /dev/vn device nodes under devfs yet. Maybe someone else could give it a go.
Diffstat (limited to 'release/picobsd/router')
-rw-r--r--release/picobsd/router/PICOBSD48
-rw-r--r--release/picobsd/router/PICOBSD.hints53
2 files changed, 73 insertions, 28 deletions
diff --git a/release/picobsd/router/PICOBSD b/release/picobsd/router/PICOBSD
index 215bcd6..029e344 100644
--- a/release/picobsd/router/PICOBSD
+++ b/release/picobsd/router/PICOBSD
@@ -37,52 +37,44 @@ options NO_SWAPPING
#options DUMMYNET
#options BRIDGE
-device isa0
-device pci0
+device isa
+device pci
-device fdc0 at isa? port IO_FD1 irq 6 drq 2
-device fd0 at fdc0 drive 0
-#device fd1 at fdc0 drive 1
+device fdc
# atkbdc0 controlls both the keyboard and the PS/2 mouse
-device atkbdc0 at isa? port IO_KBD
-device atkbd0 at atkbdc? irq 1
+device atkbdc 1
+device atkbd
-device vga0 at isa? port ?
+device vga
# syscons is the default console driver, resembling an SCO console
-device sc0 at isa?
+device sc 1
-device npx0 at nexus? port IO_NPX irq 13
+device npx
-device sio0 at isa? port IO_COM1 flags 0x10 irq 4
-device sio1 at isa? port IO_COM2 irq 3
-device sio2 at isa? disable port IO_COM3 irq 5
-device sio3 at isa? disable port IO_COM4 irq 9
+device sio
# The following Ethernet NICs are all PCI devices.
#
-device de0 # DEC/Intel DC21x4x (``Tulip'')
-device fxp0 # Intel EtherExpress PRO/100B (82557, 82558)
+device de
+device fxp
# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.
-device ed0 at isa? port 0x280 irq 5 iomem 0xd8000
-device ed1 at isa? port 0x300 irq 10 iomem 0xd0000
-device ep0 at isa? port 0x300 irq 10
-device ep1 at isa? port 0x280 irq 5
-device ie0 at isa? port 0x300 irq 5 iomem 0xd0000
-device ie1 at isa? port 0x360 irq 7 iomem 0xd0000
+device ed
+device ep
+device ie
-pseudo-device loop
-pseudo-device ether
-#pseudo-device tun 2
-pseudo-device ppp 4
-pseudo-device pty 16
-pseudo-device md
+device loop
+device ether
+#device tun 2
+device ppp 4
+device pty 16
+device md
options COMPAT_OLDISA #Use ISA shims and glue for old drivers
options COMPAT_OLDPCI #Use PCI shims and glue for old drivers
diff --git a/release/picobsd/router/PICOBSD.hints b/release/picobsd/router/PICOBSD.hints
new file mode 100644
index 0000000..b9d89f7
--- /dev/null
+++ b/release/picobsd/router/PICOBSD.hints
@@ -0,0 +1,53 @@
+# $FreeBSD$
+hint.fdc.0.at="isa"
+hint.fdc.0.port="0x3F0"
+hint.fdc.0.irq="6"
+hint.fdc.0.drq="2"
+hint.fd.0.at="fdc0"
+hint.fd.0.drive="0"
+hint.atkbdc.0.at="isa"
+hint.atkbdc.0.port="0x060"
+hint.atkbd.0.at="atkbdc"
+hint.atkbd.0.irq="1"
+hint.vga.0.at="isa"
+hint.sc.0.at="isa"
+hint.npx.0.at="nexus"
+hint.npx.0.port="0x0F0"
+hint.npx.0.irq="13"
+hint.sio.0.at="isa"
+hint.sio.0.port="0x3F8"
+hint.sio.0.flags="0x10"
+hint.sio.0.irq="4"
+hint.sio.1.at="isa"
+hint.sio.1.port="0x2F8"
+hint.sio.1.irq="3"
+hint.sio.2.at="isa"
+hint.sio.2.disabled="1"
+hint.sio.2.port="0x3E8"
+hint.sio.2.irq="5"
+hint.sio.3.at="isa"
+hint.sio.3.disabled="1"
+hint.sio.3.port="0x2E8"
+hint.sio.3.irq="9"
+hint.ed.0.at="isa"
+hint.ed.0.port="0x280"
+hint.ed.0.irq="5"
+hint.ed.0.maddr="0xd8000"
+hint.ed.1.at="isa"
+hint.ed.1.port="0x300"
+hint.ed.1.irq="10"
+hint.ed.1.maddr="0xd0000"
+hint.ep.0.at="isa"
+hint.ep.0.port="0x300"
+hint.ep.0.irq="10"
+hint.ep.1.at="isa"
+hint.ep.1.port="0x280"
+hint.ep.1.irq="5"
+hint.ie.0.at="isa"
+hint.ie.0.port="0x300"
+hint.ie.0.irq="5"
+hint.ie.0.maddr="0xd0000"
+hint.ie.1.at="isa"
+hint.ie.1.port="0x360"
+hint.ie.1.irq="7"
+hint.ie.1.maddr="0xd0000"
OpenPOWER on IntegriCloud