summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authorambrisko <ambrisko@FreeBSD.org>2009-03-26 17:14:22 +0000
committerambrisko <ambrisko@FreeBSD.org>2009-03-26 17:14:22 +0000
commitac334eb30e7fc51d608733da4eef1ad1f9360aee (patch)
treec9846c9d840f38d40234dc55f72ed1de2e7af370 /sys/modules
parent6164bdbd68ca59de5e16e2802028373e5beeb6f5 (diff)
downloadFreeBSD-src-ac334eb30e7fc51d608733da4eef1ad1f9360aee.zip
FreeBSD-src-ac334eb30e7fc51d608733da4eef1ad1f9360aee.tar.gz
Add stuff to support upcoming BMC/IPMI flashing of newer Dell machine
via the Linux tool. - Add Linux shim to ipmi(4) - Create a partitions file to linprocfs to make Linux fdisk see disks. This file is dynamic so we can see disks come and go. - Convert msdosfs to vfat in mtab since Linux uses that for msdosfs. - In the Linux mount path convert vfat passed in to msdosfs so Linux mount works on FreeBSD. Note that tasting works so that if da0 is a msdos file system /compat/linux/bin/mount /dev/da0 /mnt works. - fix a 64it bug for l_off_t. Grabing sh, mount, fdisk, df from Linux, creating a symlink of mtab to /compat/linux/etc/mtab and then some careful unpacking of the Linux bmc update tool and hacking makes it work on newer Dell boxes. Note, probably if you can't figure out how to do this, then you probably shouldn't be doing it :-)
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/ipmi/Makefile2
-rw-r--r--sys/modules/linprocfs/Makefile1
2 files changed, 3 insertions, 0 deletions
diff --git a/sys/modules/ipmi/Makefile b/sys/modules/ipmi/Makefile
index 3f45c73..7493b23 100644
--- a/sys/modules/ipmi/Makefile
+++ b/sys/modules/ipmi/Makefile
@@ -1,5 +1,7 @@
# $FreeBSD$
+SUBDIR+= ipmi_linux
+
.PATH: ${.CURDIR}/../../dev/ipmi
# XXX - ipmi_smbus and ipmi_ssif depend on smbus
diff --git a/sys/modules/linprocfs/Makefile b/sys/modules/linprocfs/Makefile
index a7cb129..62af13e 100644
--- a/sys/modules/linprocfs/Makefile
+++ b/sys/modules/linprocfs/Makefile
@@ -4,6 +4,7 @@
KMOD= linprocfs
SRCS= vnode_if.h \
+ device_if.h bus_if.h \
linprocfs.c \
opt_compat.h \
opt_route.h
OpenPOWER on IntegriCloud