diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2008-06-14 02:28:15 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2008-06-14 02:28:15 +0000 |
commit | 39bf0ad16e634ef2ae9f5a8137e199639e1afd14 (patch) | |
tree | 9987d8aecb32c983a530845c6570337c05467ef2 /sys/dev/ic | |
parent | bb2c2a417d86aa1eeade1222d6db1a3a8a54f340 (diff) |
Allow ath(4) to detach cleanly when attaching via PCI. Also
complete/cleanup the attachment cleanup code.
ok reyk@ jsg@
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/athvar.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/athvar.h b/sys/dev/ic/athvar.h index 3c69347c7fb..f59a5a8167d 100644 --- a/sys/dev/ic/athvar.h +++ b/sys/dev/ic/athvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: athvar.h,v 1.21 2008/06/13 07:31:57 jsg Exp $ */ +/* $OpenBSD: athvar.h,v 1.22 2008/06/14 02:28:14 jsing Exp $ */ /* $NetBSD: athvar.h,v 1.10 2004/08/10 01:03:53 dyoung Exp $ */ /*- @@ -220,6 +220,7 @@ struct ath_softc { #endif bus_space_tag_t sc_st; /* bus space tag */ bus_space_handle_t sc_sh; /* bus space handle */ + bus_size_t sc_ss; /* bus space size */ bus_dma_tag_t sc_dmat; /* bus DMA tag */ #ifdef __FreeBSD__ struct mtx sc_mtx; /* master lock (recursive) */ |