"Matthew N. Dodd" wrote:
> On Fri, 28 Jan 2000, Peter Wemm wrote:
> > pnpinfo doesn't have anything to do with what the kernel thinks. It's a
> > userland program that manually resets and reconfigures the cards..  This is
> > an absolute disaster if you happened to be using the hardware, eg: the soun
    d
> > driver.  After running pnpinfo, the hardware essentially "disappears".
> > 
> > pciconf(8) does it properly, it asks the kernel via /dev/pci.  pnpinfo uses
> > /dev/io to bash on the ports directly.
> 
> Thats kinda weird seeing as how pnpinfo correctly reports the settings as
> detected/assigned by the kernel for all other cards.

Hmm, I take some of that back.  I'm still not 100% sure of the implications
of what I'm seeing in src/contrib/pnpinfo, but it still makes me nervous.

For example:
Logical device #0
IO:  0x0534 0x0534 0x0534 0x0534 0x0534 0x0534 0x0534 0x0534
IRQ 5 0
DMA 1 0
IO range check 0x00 activate 0x01

versus:
pcm0: <CS423x> at port 0x534-0x537,0x388-0x38b,0x220-0x22f irq 5 drq 1,0 on isa0

Which is right? Does the device really have all 8 IO ranges assigned to
the same address? (0x534)  Or is pnpinfo wrong?

Cheers,
-Peter



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to