Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Mar 1996 16:23:50 -0800
From:      "Jordan K. Hubbard" <jkh@time.cdrom.com>
To:        hackers@freebsd.org
Subject:   Jason Thorpe: Re. ISA "userconfig"
Message-ID:  <1242.825899030@time.cdrom.com>

next in thread | raw e-mail | index | archive | help
Hmmmm, now here's a different approach!

His scheme does have one advantage, which is that a newbie doesn't
have to remember to boot with `-c', you could simply have an option
flag which goes in GENERIC and turns on the "ask me please!" feature
he's sort of got below.

It's always interesting to see how different groups approach the same
problems! :-)

					Jordan
------- Forwarded Message

From: Jason Thorpe <thorpej@nas.nasa.gov>
Date: Sun, 03 Mar 1996 12:57:01 -0800
Sender: owner-port-i386@NetBSD.ORG
Precedence: list
X-Loop: port-i386@NetBSD.ORG

Well, after the little thread last week about this, I grew kind of tired 
of the arguing about it, and decided to implement a proof-of-concept, MI 
ISA "userconfig" thing...it's pretty rough, and needs to be made 
bus-independent, but it's a start, anyhow.

In any case, this took about 20 minutes to write, so doing it isn't that 
hard...maybe next week I'll work on the bus-independent version...

If anyone has suggestions about what they'd like to see (within reason) 
in a NetBSD "userconfig", go ahead and let me know...No, I don't want to 
put menus in the kernel :-)

- --------------------------------------------------------------------------
Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939

- ----- snip -----
NetBSD 1.1A (ANTIE) #434: Sat Mar  2 18:12:02 PST 1996
    thorpej@antie:/work/netbsd/src/sys/arch/i386/compile/ANTIE
CPU: i486DX (486-class CPU)
real mem  = 16384000
avail mem = 13885440
using 225 buffers containing 921600 bytes of memory
isa0 (root)
isa0: enter userconfig mode? y/[n] yes
isa config: locators for device `ed0 at isa0':
            port=0x280 iomem=0xd0000 irq=9 drq=<wildcarded>
isa config: probe for device `ed0 at isa0'? y/[n] yes
isa config: edit locators for device `ed0 at isa0'? y/[n] yes
isa config: enter new locator values, <return> for no change
isa config: ed0 at isa0: port=0x280 ? 0x300
isa config: ed0 at isa0: iomem=0xd0000 ? 
isa config: ed0 at isa0: irq=9 ? 
isa config: ed0 at isa0: drq=<wildcarded> ? 
isa config: locators for device `ed0 at isa0':
            port=0x300 iomem=0xd0000 irq=9 drq=<wildcarded>
isa config: probe for device `ed0 at isa0'? y/[n] yes
isa config: edit locators for device `ed0 at isa0'? y/[n] yes
isa config: enter new locator values, <return> for no change
isa config: ed0 at isa0: port=0x300 ? 280
isa config: ed0 at isa0: iomem=0xd0000 ? 
isa config: ed0 at isa0: irq=9 ? 
isa config: ed0 at isa0: drq=<wildcarded> ? 
isa config: locators for device `ed0 at isa0':
            port=0x280 iomem=0xd0000 irq=9 drq=<wildcarded>
isa config: probe for device `ed0 at isa0'? y/[n] yes
isa config: edit locators for device `ed0 at isa0'? y/[n] no
ed0 at isa0 port 0x280-0x29f iomem 0xd0000-0xd3fff irq 9: address 00:00:c0:94:f6:72, type WD8013WC (16-bit) aui
isa config: locators for device `npx0 at isa0':
            port=0xf0 iomem=<wildcarded> irq=13 drq=<wildcarded>
isa config: probe for device `npx0 at isa0'? y/[n] yes
isa config: edit locators for device `npx0 at isa0'? y/[n] no
npx0 at isa0 port 0xf0-0xff: using exception 16
isa config: locators for device `vt0 at isa0':
            port=0x60 iomem=<wildcarded> irq=1 drq=<wildcarded>
isa config: probe for device `vt0 at isa0'? y/[n] yes
isa config: edit locators for device `vt0 at isa0'? y/[n] no
vt0 at isa0 port 0x60-0x6f irq 1: generic, 80 col, color, 8 scr, mf2-kbd, [R3.32]
isa config: locators for device `lms0 at isa0':
            port=0x23c iomem=<wildcarded> irq=5 drq=<wildcarded>
isa config: probe for device `lms0 at isa0'? y/[n] yes
isa config: edit locators for device `lms0 at isa0'? y/[n] no
lms0 at isa0 port 0x23c-0x23f irq 5
isa config: locators for device `fdc0 at isa0':
            port=0x3f0 iomem=<wildcarded> irq=6 drq=2
isa config: probe for device `fdc0 at isa0'? y/[n] yes
isa config: edit locators for device `fdc0 at isa0'? y/[n] no
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
eisa0 (root)
ahb0 at eisa0 slot 1 irq 11: Adaptec AHA-1742A
scsibus0 at ahb0
sd0 at scsibus0 targ 0 lun 0: <QUANTUM, PD1225S, 3142> SCSI2 0/direct fixed
sd0: 1169MB, 2448 cyl, 14 head, 69 sec, 512 bytes/sec
sd1 at scsibus0 targ 1 lun 0: <QUANTUM, PD1225S, 3142> SCSI2 0/direct fixed
sd1: 1169MB, 2448 cyl, 14 head, 69 sec, 512 bytes/sec
sd2 at scsibus0 targ 2 lun 0: <TOSHIBA, MK438FB, 5157> SCSI2 0/direct fixed
sd2: 859MB, 1980 cyl, 11 head, 80 sec, 512 bytes/sec
sd3 at scsibus0 targ 3 lun 0: <TOSHIBA, MK438FB, 5157> SCSI2 0/direct fixed
sd3: 859MB, 1980 cyl, 11 head, 80 sec, 512 bytes/sec
biomask 840 netmask a40 ttymask a62
changing root device to sd0a


------- End of Forwarded Message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1242.825899030>