From 39bf0ad16e634ef2ae9f5a8137e199639e1afd14 Mon Sep 17 00:00:00 2001 From: Joel Sing Date: Sat, 14 Jun 2008 02:28:15 +0000 Subject: Allow ath(4) to detach cleanly when attaching via PCI. Also complete/cleanup the attachment cleanup code. ok reyk@ jsg@ --- sys/dev/ic/athvar.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/dev/ic') 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) */ -- cgit v1.2.3