summaryrefslogtreecommitdiffstats
path: root/sys/dev/bm/if_bmvar.h
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2008-07-03 21:51:30 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2008-07-03 21:51:30 +0000
commit0d5154a8e550f94aa78901356041f6acc9bbcd57 (patch)
tree96451623e9b6bcebc0e009627598def725c2f3ea /sys/dev/bm/if_bmvar.h
parent8404071f2967d768d2b01ca51f39a96f822e5eb0 (diff)
downloadFreeBSD-src-0d5154a8e550f94aa78901356041f6acc9bbcd57.zip
FreeBSD-src-0d5154a8e550f94aa78901356041f6acc9bbcd57.tar.gz
Fix some locking and logic bugs pointed out by jhb. These fix driver detach and speed up data transfer by nearly a factor of 2.
Approved by: marcel (mentor)
Diffstat (limited to 'sys/dev/bm/if_bmvar.h')
-rw-r--r--sys/dev/bm/if_bmvar.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/bm/if_bmvar.h b/sys/dev/bm/if_bmvar.h
index c256f30..7d31489 100644
--- a/sys/dev/bm/if_bmvar.h
+++ b/sys/dev/bm/if_bmvar.h
@@ -87,8 +87,6 @@ struct bm_softc {
device_t sc_dev; /* back ptr to dev */
struct resource *sc_memr; /* macio bus mem resource */
int sc_memrid;
- bus_space_handle_t sc_bhandle;
- bus_space_tag_t sc_btag;
device_t sc_miibus;
struct mii_data *sc_mii;
OpenPOWER on IntegriCloud