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:
matt 1999-09-19 22:02:37 +00:00
parent 117b17fafc
commit 9ac5036f93
2 changed files with 7 additions and 2 deletions

View File

@ -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
#
@ -111,6 +111,7 @@ pchb* at pci? dev ? function ? # PCI-Host bridges
ppb* at pci? dev ? function ? # PCI-PCI bridges
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
ne* at pci? dev ? function ? # NE2000-compatible Ethernet
adv* at pci? dev ? function ? # AdvanSys 1200[A,B], 9xx[U,UA] SCSI

View File

@ -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>
@ -1244,7 +1244,11 @@ pdq_stop(
pdq_do_port_control(csrs, PDQ_PCTL_CONSUMER_BLOCK);
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);
#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);
for (cnt = 0; cnt < 1000; cnt++) {