Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Mar 2001 02:15:12 -0800
From:      Alfred Perlstein <bright@wintelcom.net>
To:        current@freebsd.org
Cc:        peter@freebsd.org
Subject:   is it supposed to be this broken?
Message-ID:  <20010331021512.H9431@fw.wintelcom.net>

next in thread | raw e-mail | index | archive | help
This is cute...

If you disable a device using /boot/device.hints like so:
hint.ppc.0.disabled="1"
hint.ppc.1.disabled="1"
hint.ppbus.0.disabled="1"
hint.ppbus.1.disabled="1"

you get this:
ppc1: <ECP parallel printer port> at port 0x378-0x37f,0x778-0x77b irq 7 drq 3 on
 isa0

or how about this:

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.fd.1.at="fdc0"
hint.fd.1.drive="1"
hint.fdc.0.disabled="1"
hint.fdc.1.disabled="1"
hint.fd.0.disabled="1"
hint.fd.1.disabled="1"

results in:

fdc1: <NEC 72065B or clone> at port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 on isa0

I'm not sure what's going on here, i know that even "boot -c"
then doing "di <devices>" doesn't seem to work anymore.

What I'd like you to do is try to disable your floppy drive
and/or lpt port without removing it from your kernel.

If it's possible please let me know.

thanks,
-- 
-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
Daemon News Magazine in your snail-mail! http://magazine.daemonnews.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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