diff options
| author | jmcneill <jmcneill@NetBSD.org> | 2011-08-09 01:42:24 +0000 |
|---|---|---|
| committer | jmcneill <jmcneill@NetBSD.org> | 2011-08-09 01:42:24 +0000 |
| commit | 8f316c9d31c5699dff3348944bc0b3cecdabfcd2 (patch) | |
| tree | 2b732df3b8492af263d754510fe79ad6cbf4144b /sys/dev/i2c | |
| parent | 10629df4c0ed8af8e573cddc477f70616fc35d33 (diff) | |
modify the dtv device api so hardware drivers can be loaded independently
of the dtv module
Diffstat (limited to 'sys/dev/i2c')
| -rw-r--r-- | sys/dev/i2c/files.i2c | 4 | ||||
| -rw-r--r-- | sys/dev/i2c/xc3028.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/i2c/files.i2c b/sys/dev/i2c/files.i2c index 52754a013f6..738c28ceca4 100644 --- a/sys/dev/i2c/files.i2c +++ b/sys/dev/i2c/files.i2c @@ -1,4 +1,4 @@ -# $NetBSD: files.i2c,v 1.40 2011/08/04 01:48:34 jakllsch Exp $ +# $NetBSD: files.i2c,v 1.41 2011/08/09 01:42:24 jmcneill Exp $ defflag opt_i2cbus.h I2C_SCAN define i2cbus { } @@ -22,7 +22,7 @@ define lg3303: i2cexec file dev/i2c/lg3303.c lg3303 # Xceive XC3028 tuner -define xc3028: i2cexec, firmload +define xc3028: i2cexec, firmload, dtv_math file dev/i2c/xc3028.c xc3028 # Xceive XC5000 tuner diff --git a/sys/dev/i2c/xc3028.c b/sys/dev/i2c/xc3028.c index 809ff5d06ab..be5fc6ef63a 100644 --- a/sys/dev/i2c/xc3028.c +++ b/sys/dev/i2c/xc3028.c @@ -1,4 +1,4 @@ -/* $NetBSD: xc3028.c,v 1.2 2011/07/22 18:21:10 njoly Exp $ */ +/* $NetBSD: xc3028.c,v 1.3 2011/08/09 01:42:24 jmcneill Exp $ */ /*- * Copyright (c) 2011 Jared D. McNeill <jmcneill@invisible.ca> @@ -31,7 +31,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: xc3028.c,v 1.2 2011/07/22 18:21:10 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: xc3028.c,v 1.3 2011/08/09 01:42:24 jmcneill Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -564,7 +564,7 @@ xc3028_tune_dtv(struct xc3028 *xc, const struct dvb_frontend_parameters *params) return 0; } -MODULE(MODULE_CLASS_DRIVER, xc3028, NULL); +MODULE(MODULE_CLASS_DRIVER, xc3028, "dtv_math"); static int xc3028_modcmd(modcmd_t cmd, void *opaque) |
