mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-29 16:44:03 +00:00
Make ISA only systems compile again..
This commit is contained in:
parent
35c08af0ad
commit
74fa06c717
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=45150
@ -25,13 +25,12 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: ata-dma.c,v 1.1 1999/03/28 18:57:19 sos Exp $
|
||||
* $Id: ata-dma.c,v 1.2 1999/03/29 14:24:42 sos Exp $
|
||||
*/
|
||||
|
||||
#include "ata.h"
|
||||
#if NATA > 0
|
||||
#include "pci.h"
|
||||
#if NPCI > 0
|
||||
#if NATA > 0
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/kernel.h>
|
||||
@ -46,6 +45,8 @@
|
||||
/* misc defines */
|
||||
#define MIN(a,b) ((a)>(b)?(b):(a))
|
||||
|
||||
#if NPCI > 0
|
||||
|
||||
int32_t
|
||||
ata_dmainit(struct ata_softc *scp, int32_t device,
|
||||
int32_t apiomode, int32_t wdmamode, int32_t udmamode)
|
||||
|
Loading…
Reference in New Issue
Block a user