Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/dev/pci



On Fri, 18 Oct 2019 20:32:53 +0200
Tom Ivar Helbekkmo <tih%hamartun.priv.no@localhost> wrote:

> Tobias Nygren <tnn%NetBSD.org@localhost> writes:
> 
> > Module Name:	src
> > Committed By:	tnn
> > Date:		Fri Oct 18 17:16:50 UTC 2019
> >
> > Modified Files:
> > 	src/sys/dev/pci: ahcisata_pci.c
> >
> > Log Message:
> > ahcisata: make sure bus mastering and memory space are actually enabled
> >
> > This makes the "ROCKPro64 PCI-e to Dual SATA-II Interface Card" work.
> 
> Um.  I've been using that interface card for a while, on my Rockpro64,
> which is, in fact, running with root on a raidframe mirror of two SATA
> disks connected to it.  I did have to make a small change to make it
> work, though: I had to force it to not use MSI(X) interrupts.  Do you
> think I can revert that local modification with your change?

Yep, MSI works now. According to the PCI Express Base Specification,
Revision 3.0, table 7-3, having the bus master bit set to 0 disables
MSI. Asmedia chip seems to have a bug which makes DMA work regardless ...

-Tobias


Home | Main Index | Thread Index | Old Index