mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Remove support for FreeBSD < 602110.
This commit is contained in:
parent
9b11ed5f9d
commit
42404113e6
2 changed files with 0 additions and 12 deletions
|
|
@ -47,11 +47,6 @@ __FBSDID("$FreeBSD$");
|
|||
#include <dev/ipmi/ipmivars.h>
|
||||
#endif
|
||||
|
||||
#if __FreeBSD_version < 602110
|
||||
#define pmap_mapbios pmap_mapdev
|
||||
#define pmap_unmapbios pmap_unmapdev
|
||||
#endif
|
||||
|
||||
struct ipmi_entry {
|
||||
uint8_t type;
|
||||
uint8_t length;
|
||||
|
|
|
|||
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Reference in a new issue