Make the DEFPA run under the macppc port (tested on a B&W G3). Add it to
the GENERIC config file.
This commit is contained in:
parent
117b17fafc
commit
9ac5036f93
@ -1,4 +1,4 @@
|
|||||||
# $NetBSD: GENERIC,v 1.36 1999/09/09 12:33:46 augustss Exp $
|
# $NetBSD: GENERIC,v 1.37 1999/09/19 22:02:38 matt Exp $
|
||||||
#
|
#
|
||||||
# POWERMAC config file
|
# POWERMAC config file
|
||||||
#
|
#
|
||||||
@ -111,6 +111,7 @@ pchb* at pci? dev ? function ? # PCI-Host bridges
|
|||||||
ppb* at pci? dev ? function ? # PCI-PCI bridges
|
ppb* at pci? dev ? function ? # PCI-PCI bridges
|
||||||
|
|
||||||
de* at pci? dev ? function ? # DEC 21x4x-based Ethernet
|
de* at pci? dev ? function ? # DEC 21x4x-based Ethernet
|
||||||
|
fpa* at pci? dev ? function ? # DEC PCI FDDI (DEFPA) Controller
|
||||||
ep* at pci? dev ? function ? # 3Com 3c59x
|
ep* at pci? dev ? function ? # 3Com 3c59x
|
||||||
ne* at pci? dev ? function ? # NE2000-compatible Ethernet
|
ne* at pci? dev ? function ? # NE2000-compatible Ethernet
|
||||||
adv* at pci? dev ? function ? # AdvanSys 1200[A,B], 9xx[U,UA] SCSI
|
adv* at pci? dev ? function ? # AdvanSys 1200[A,B], 9xx[U,UA] SCSI
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: pdq.c,v 1.24 1998/09/28 20:37:12 matt Exp $ */
|
/* $NetBSD: pdq.c,v 1.25 1999/09/19 22:02:37 matt Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1995,1996 Matt Thomas <matt@3am-software.com>
|
* Copyright (c) 1995,1996 Matt Thomas <matt@3am-software.com>
|
||||||
@ -1244,7 +1244,11 @@ pdq_stop(
|
|||||||
pdq_do_port_control(csrs, PDQ_PCTL_CONSUMER_BLOCK);
|
pdq_do_port_control(csrs, PDQ_PCTL_CONSUMER_BLOCK);
|
||||||
|
|
||||||
PDQ_CSR_WRITE(csrs, csr_port_data_b, 0);
|
PDQ_CSR_WRITE(csrs, csr_port_data_b, 0);
|
||||||
|
#if !defined(BYTE_ORDER) || BYTE_ORDER == LITTLE_ENDIAN
|
||||||
PDQ_CSR_WRITE(csrs, csr_port_data_a, pdq->pdq_pa_descriptor_block | PDQ_DMA_INIT_LW_BSWAP_DATA);
|
PDQ_CSR_WRITE(csrs, csr_port_data_a, pdq->pdq_pa_descriptor_block | PDQ_DMA_INIT_LW_BSWAP_DATA);
|
||||||
|
#else
|
||||||
|
PDQ_CSR_WRITE(csrs, csr_port_data_a, pdq->pdq_pa_descriptor_block | PDQ_DMA_INIT_LW_BSWAP_LITERAL);
|
||||||
|
#endif
|
||||||
pdq_do_port_control(csrs, PDQ_PCTL_DMA_INIT);
|
pdq_do_port_control(csrs, PDQ_PCTL_DMA_INIT);
|
||||||
|
|
||||||
for (cnt = 0; cnt < 1000; cnt++) {
|
for (cnt = 0; cnt < 1000; cnt++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user