diff options
author | marius <marius@FreeBSD.org> | 2004-08-12 20:37:02 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2004-08-12 20:37:02 +0000 |
commit | 00b723c98e12d2b81faf26ac4151bc1a09058f7c (patch) | |
tree | 0d96771eaa2d64946a88ca6aef1fbcfeaad81e01 /sys/dev/hme/if_hmevar.h | |
parent | c5a462b4d9c262be85ebc8bcaf384b7fedf6635f (diff) | |
download | FreeBSD-src-00b723c98e12d2b81faf26ac4151bc1a09058f7c.zip FreeBSD-src-00b723c98e12d2b81faf26ac4151bc1a09058f7c.tar.gz |
- Use bus_space_subregion() rather than arithmetic on bus_space_handle_t. [1]
- Properly use the error variable and return it on failure in the attach-
routines.
Reviewed by: tmm
Inspired by: NetBSD [1]
Diffstat (limited to 'sys/dev/hme/if_hmevar.h')
-rw-r--r-- | sys/dev/hme/if_hmevar.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/dev/hme/if_hmevar.h b/sys/dev/hme/if_hmevar.h index 4c65528..4482fd4 100644 --- a/sys/dev/hme/if_hmevar.h +++ b/sys/dev/hme/if_hmevar.h @@ -131,11 +131,6 @@ struct hme_softc { bus_space_tag_t sc_etxt; /* HME ETX registers */ bus_space_tag_t sc_mact; /* HME MAC registers */ bus_space_tag_t sc_mift; /* HME MIF registers */ - bus_addr_t sc_sebo; /* HME Global registers */ - bus_addr_t sc_erxo; /* HME ERX registers */ - bus_addr_t sc_etxo; /* HME ETX registers */ - bus_addr_t sc_maco; /* HME MAC registers */ - bus_addr_t sc_mifo; /* HME MIF registers */ int sc_burst; /* DVMA burst size in effect */ int sc_phys[2]; /* MII instance -> PHY map */ |