diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2009-10-05 20:01:41 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2009-10-05 20:01:41 +0000 |
commit | dd45a3275d4b23dbeb5221af6552cfd89867cb30 (patch) | |
tree | 62f6de1327bcba864eb51de0fc4d951b520a8339 /sys/dev/ic | |
parent | 29452034d1c8798d9724795177c9678f7f7913ad (diff) |
Add some minimalistic detach/unmap bits for pciide,
done using a chipset unmap callback.
Still needs to work to distinguish between compat
register mappings and compat interrupts so we
don't get caught out.
Tested with a diskless sii3112 CardBus eSATA controller
by me, and testing and feedback by deraadt@ with
a phison based expresscard SSD.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/wdcvar.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ic/wdcvar.h b/sys/dev/ic/wdcvar.h index f9ff96e3d49..b146e3bee78 100644 --- a/sys/dev/ic/wdcvar.h +++ b/sys/dev/ic/wdcvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: wdcvar.h,v 1.42 2008/06/26 05:42:16 ray Exp $ */ +/* $OpenBSD: wdcvar.h,v 1.43 2009/10/05 20:01:40 jsg Exp $ */ /* $NetBSD: wdcvar.h,v 1.17 1999/04/11 20:50:29 bouyer Exp $ */ /*- @@ -54,8 +54,10 @@ struct channel_softc { /* Per channel data */ /* Our registers */ bus_space_tag_t cmd_iot; bus_space_handle_t cmd_ioh; + bus_size_t cmd_iosz; bus_space_tag_t ctl_iot; bus_space_handle_t ctl_ioh; + bus_size_t ctl_iosz; /* data32{iot,ioh} are only used for 32 bit xfers */ bus_space_tag_t data32iot; bus_space_handle_t data32ioh; |