Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Apr 1999 14:56:18 +0800
From:      Peter Wemm <peter@netplex.com.au>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: sys/pci pci.c 
Message-ID:  <19990412065621.0B0641F4F@spinner.netplex.com.au>
In-Reply-To: Your message of "Sun, 11 Apr 1999 23:34:24 MST." <199904120634.XAA60286@freefall.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
Peter Wemm wrote:
>   -= New-bus architecture repository =-
>   Modified files:
>     pci                  pci.c 
>   Log:
>   When asked for a dma channel.. pass it through to the parent untouched.
>   The isa bus is a child of pci under newbus, via the pci->isa bridge,
>   and the dma requests get passed through here.  This probably isn't
>   ideal, this should probably be checked to see if the child is the
>   isa bus or something so we can catch pci drivers trying to allocate
>   old-style dma channels.

And with this, my floppy drive probed and attached:

fdc0: interrupting at irq 6
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f7 irq 6 drq 2 on isa0
fdc0: Enable FIFO failed
fd0: <1440-KB 3.5" drive> at fdc0 drive 0

It even worked. :-)   (Hmm, I wonder what happened to the FIFO..)

The remaining major item is wd.c..  It's dependent on the old-style config
structures.  The new ata stuff works, but doesn't use the bus mechanism for
configuration.  The new stuff should suit cam and ata very nicely if they
get updated to use it.

Cheers,
-Peter



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




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