summaryrefslogtreecommitdiffstats
path: root/sys/dev/ipmi/ipmivars.h
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2015-08-30 08:48:31 +0000
committerdelphij <delphij@FreeBSD.org>2015-08-30 08:48:31 +0000
commitb0d24ede7b39df7969cb1ece90f4bcab79f03b2c (patch)
tree4fb3b7ef69f4bb845cc87c72fd38725a17555bde /sys/dev/ipmi/ipmivars.h
parent6d14828b67bb3ed3b0f3b5cd66eafadf669d163a (diff)
downloadFreeBSD-src-b0d24ede7b39df7969cb1ece90f4bcab79f03b2c.zip
FreeBSD-src-b0d24ede7b39df7969cb1ece90f4bcab79f03b2c.tar.gz
Remove support for FreeBSD < 602110.
Diffstat (limited to 'sys/dev/ipmi/ipmivars.h')
-rw-r--r--sys/dev/ipmi/ipmivars.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/dev/ipmi/ipmivars.h b/sys/dev/ipmi/ipmivars.h
index 9a0b435..6682b56 100644
--- a/sys/dev/ipmi/ipmivars.h
+++ b/sys/dev/ipmi/ipmivars.h
@@ -194,13 +194,6 @@ struct ipmi_ipmb {
#define IPMI_IO_UNLOCK(sc) mtx_unlock(&(sc)->ipmi_io_lock)
#define IPMI_IO_LOCK_ASSERT(sc) mtx_assert(&(sc)->ipmi_io_lock, MA_OWNED)
-#if __FreeBSD_version < 601105
-#define bus_read_1(r, o) \
- bus_space_read_1(rman_get_bustag(r), rman_get_bushandle(r), (o))
-#define bus_write_1(r, o, v) \
- bus_space_write_1(rman_get_bustag(r), rman_get_bushandle(r), (o), (v))
-#endif
-
/* I/O to a single I/O resource. */
#define INB_SINGLE(sc, x) \
bus_read_1((sc)->ipmi_io_res[0], (sc)->ipmi_io_spacing * (x))
OpenPOWER on IntegriCloud