summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2011-01-17 22:58:28 +0000
committerjkim <jkim@FreeBSD.org>2011-01-17 22:58:28 +0000
commitea861abf2ae84b93075ddcb0b3abf37e8db5f9b1 (patch)
treef8f4914239ec2dcebc25a483fe770520ef994c63 /sys/conf
parent6fecc04fd699223a7b972bc85bbc80ab313ffdf7 (diff)
downloadFreeBSD-src-ea861abf2ae84b93075ddcb0b3abf37e8db5f9b1.zip
FreeBSD-src-ea861abf2ae84b93075ddcb0b3abf37e8db5f9b1.tar.gz
Add reader/writer lock around mem_range_attr_get() and mem_range_attr_set().
Compile sys/dev/mem/memutil.c for all supported platforms and remove now unnecessary dev_mem_md_init(). Consistently define mem_range_softc from mem.c for all platforms. Add missing #include guards for machine/memdev.h and sys/memrange.h. Clean up some nearby style(9) nits. MFC after: 1 month
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/files1
-rw-r--r--sys/conf/files.amd641
-rw-r--r--sys/conf/files.i3861
-rw-r--r--sys/conf/files.pc981
-rw-r--r--sys/conf/files.powerpc1
5 files changed, 1 insertions, 4 deletions
diff --git a/sys/conf/files b/sys/conf/files
index 8c102a9..916fe3f 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -1292,6 +1292,7 @@ dev/mcd/mcd.c optional mcd isa nowerror
dev/mcd/mcd_isa.c optional mcd isa nowerror
dev/md/md.c optional md
dev/mem/memdev.c optional mem
+dev/mem/memutil.c optional mem
dev/mfi/mfi.c optional mfi
dev/mfi/mfi_debug.c optional mfi
dev/mfi/mfi_pci.c optional mfi pci
diff --git a/sys/conf/files.amd64 b/sys/conf/files.amd64
index 2b56a15..303cd85 100644
--- a/sys/conf/files.amd64
+++ b/sys/conf/files.amd64
@@ -206,7 +206,6 @@ dev/hwpmc/hwpmc_x86.c optional hwpmc
dev/kbd/kbd.c optional atkbd | sc | ukbd
dev/lindev/full.c optional lindev
dev/lindev/lindev.c optional lindev
-dev/mem/memutil.c optional mem
dev/nfe/if_nfe.c optional nfe pci
dev/nve/if_nve.c optional nve pci
dev/nvram/nvram.c optional nvram isa
diff --git a/sys/conf/files.i386 b/sys/conf/files.i386
index 179306b..daef256 100644
--- a/sys/conf/files.i386
+++ b/sys/conf/files.i386
@@ -209,7 +209,6 @@ dev/kbd/kbd.c optional atkbd | sc | ukbd
dev/le/if_le_isa.c optional le isa
dev/lindev/full.c optional lindev
dev/lindev/lindev.c optional lindev
-dev/mem/memutil.c optional mem
dev/mse/mse.c optional mse
dev/mse/mse_isa.c optional mse isa
dev/nfe/if_nfe.c optional nfe pci
diff --git a/sys/conf/files.pc98 b/sys/conf/files.pc98
index 158fbbd..46b1d94 100644
--- a/sys/conf/files.pc98
+++ b/sys/conf/files.pc98
@@ -110,7 +110,6 @@ dev/kbd/kbd.c optional pckbd | sc | ukbd
dev/le/if_le_cbus.c optional le isa
dev/lindev/full.c optional lindev
dev/lindev/lindev.c optional lindev
-dev/mem/memutil.c optional mem
dev/mse/mse.c optional mse
dev/mse/mse_cbus.c optional mse isa
dev/sbni/if_sbni.c optional sbni
diff --git a/sys/conf/files.powerpc b/sys/conf/files.powerpc
index b6d7e6e..217b8fe 100644
--- a/sys/conf/files.powerpc
+++ b/sys/conf/files.powerpc
@@ -30,7 +30,6 @@ dev/hwpmc/hwpmc_powerpc.c optional hwpmc
dev/iicbus/ds1775.c optional ds1775 powermac
dev/iicbus/max6690.c optional max6690 powermac
dev/kbd/kbd.c optional sc
-dev/mem/memutil.c optional mem
dev/ofw/openfirm.c optional aim | fdt
dev/ofw/openfirmio.c optional aim | fdt
dev/ofw/ofw_bus_if.m optional aim | fdt
OpenPOWER on IntegriCloud