NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
re: port-amd64/42980: satalink DMA fails under amd64
would you please try this patch?
.mrg.
Index: satalink.c
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/satalink.c,v
retrieving revision 1.39
diff -p -r1.39 satalink.c
*** satalink.c 26 Nov 2009 15:17:10 -0000 1.39
--- satalink.c 18 Mar 2010 01:10:43 -0000
*************** sii3112_chip_map(struct pciide_softc *sc
*** 469,475 ****
* apparently hard to tickle, but we'll go ahead and play it
* safe.
*/
! if (PCI_REVISION(pa->pa_class) <= 0x01) {
sc->sc_dma_maxsegsz = 8192;
sc->sc_dma_boundary = 8192;
}
--- 469,477 ----
* apparently hard to tickle, but we'll go ahead and play it
* safe.
*/
! if ((PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_CMDTECH_3112 ||
! PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_CMDTECH_AAR_1210SA) &&
! PCI_REVISION(pa->pa_class) <= 0x01) {
sc->sc_dma_maxsegsz = 8192;
sc->sc_dma_boundary = 8192;
}
Home |
Main Index |
Thread Index |
Old Index