Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Aug 2015 08:48:32 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r287303 - head/sys/dev/ipmi
Message-ID:  <201508300848.t7U8mWVk024148@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Sun Aug 30 08:48:31 2015
New Revision: 287303
URL: https://svnweb.freebsd.org/changeset/base/287303

Log:
  Remove support for FreeBSD < 602110.

Modified:
  head/sys/dev/ipmi/ipmi_smbios.c
  head/sys/dev/ipmi/ipmivars.h

Modified: head/sys/dev/ipmi/ipmi_smbios.c
==============================================================================
--- head/sys/dev/ipmi/ipmi_smbios.c	Sun Aug 30 08:46:50 2015	(r287302)
+++ head/sys/dev/ipmi/ipmi_smbios.c	Sun Aug 30 08:48:31 2015	(r287303)
@@ -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;

Modified: head/sys/dev/ipmi/ipmivars.h
==============================================================================
--- head/sys/dev/ipmi/ipmivars.h	Sun Aug 30 08:46:50 2015	(r287302)
+++ head/sys/dev/ipmi/ipmivars.h	Sun Aug 30 08:48:31 2015	(r287303)
@@ -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))



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508300848.t7U8mWVk024148>