Add hsk and drq locators, which will be used only by SCSI devices.

This commit is contained in:
scottr 1997-02-13 19:01:07 +00:00
parent ed573bfb7c
commit 603a2bd8f4
4 changed files with 12 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: obio.c,v 1.6 1997/02/11 22:44:26 scottr Exp $ */
/* $NetBSD: obio.c,v 1.7 1997/02/13 19:01:07 scottr Exp $ */
/*
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -107,6 +107,8 @@ obio_search(parent, cf, aux)
struct obio_attach_args oa;
oa.oa_addr = cf->cf_loc[0];
oa.oa_drq = cf->cf_loc[1];
oa.oa_hsk = cf->cf_loc[2];
oa.oa_tag = MAC68K_BUS_SPACE_MEM;
if ((*cf->cf_attach->ca_match)(parent, cf, &oa) > 0)

View File

@ -1,4 +1,4 @@
/* $NetBSD: obiovar.h,v 1.2 1997/02/11 22:44:27 scottr Exp $ */
/* $NetBSD: obiovar.h,v 1.3 1997/02/13 19:01:08 scottr Exp $ */
/*
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -46,5 +46,7 @@
*/
struct obio_attach_args {
int oa_addr; /* physical address */
int oa_drq; /* SCSI DRQ physical address */
int oa_hsk; /* SCSI HSK physical address */
bus_space_tag_t oa_tag; /* bus space tag */
};

View File

@ -1,4 +1,4 @@
/* $NetBSD: obio.c,v 1.6 1997/02/11 22:44:26 scottr Exp $ */
/* $NetBSD: obio.c,v 1.7 1997/02/13 19:01:07 scottr Exp $ */
/*
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -107,6 +107,8 @@ obio_search(parent, cf, aux)
struct obio_attach_args oa;
oa.oa_addr = cf->cf_loc[0];
oa.oa_drq = cf->cf_loc[1];
oa.oa_hsk = cf->cf_loc[2];
oa.oa_tag = MAC68K_BUS_SPACE_MEM;
if ((*cf->cf_attach->ca_match)(parent, cf, &oa) > 0)

View File

@ -1,4 +1,4 @@
/* $NetBSD: obiovar.h,v 1.2 1997/02/11 22:44:27 scottr Exp $ */
/* $NetBSD: obiovar.h,v 1.3 1997/02/13 19:01:08 scottr Exp $ */
/*
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -46,5 +46,7 @@
*/
struct obio_attach_args {
int oa_addr; /* physical address */
int oa_drq; /* SCSI DRQ physical address */
int oa_hsk; /* SCSI HSK physical address */
bus_space_tag_t oa_tag; /* bus space tag */
};