diff options
author | takawata <takawata@FreeBSD.org> | 2005-06-05 11:55:29 +0000 |
---|---|---|
committer | takawata <takawata@FreeBSD.org> | 2005-06-05 11:55:29 +0000 |
commit | d71b449fa24accf5d99f7b0ca6eaa25fdfd21a26 (patch) | |
tree | f74c46d9fade87fdc05311dd50117d384f346f87 /sys | |
parent | 720506aed398158b05f2f445d761311a0a5a235c (diff) | |
download | FreeBSD-src-d71b449fa24accf5d99f7b0ca6eaa25fdfd21a26.zip FreeBSD-src-d71b449fa24accf5d99f7b0ca6eaa25fdfd21a26.tar.gz |
Make ichsmb loadable.
PR: kern/81912
Submitted by: nork
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ichsmb/ichsmb_pci.c | 3 | ||||
-rw-r--r-- | sys/modules/i2c/controllers/ichsmb/Makefile | 8 |
2 files changed, 11 insertions, 0 deletions
diff --git a/sys/dev/ichsmb/ichsmb_pci.c b/sys/dev/ichsmb/ichsmb_pci.c index b0c9fba..e4412af 100644 --- a/sys/dev/ichsmb/ichsmb_pci.c +++ b/sys/dev/ichsmb/ichsmb_pci.c @@ -224,3 +224,6 @@ fail: return (error); } +MODULE_DEPEND(ichsmb, pci, 1, 1, 1); +MODULE_DEPEND(ichsmb, smbus, SMBUS_MINVER, SMBUS_PREFVER, SMBUS_MAXVER); +MODULE_VERSION(ichsmb, 1); diff --git a/sys/modules/i2c/controllers/ichsmb/Makefile b/sys/modules/i2c/controllers/ichsmb/Makefile new file mode 100644 index 0000000..7cb9957 --- /dev/null +++ b/sys/modules/i2c/controllers/ichsmb/Makefile @@ -0,0 +1,8 @@ +#$FreeBSD$ + +.PATH: ${.CURDIR}/../../../../dev/ichsmb +KMOD = ichsmb +SRCS = device_if.h bus_if.h iicbb_if.h pci_if.h smbus_if.h \ + ichsmb.c ichsmb_pci.c ichsmb_reg.h ichsmb_var.h + +.include <bsd.kmod.mk> |