summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2003-09-29 14:14:35 +0000
committerscottl <scottl@FreeBSD.org>2003-09-29 14:14:35 +0000
commit0c8460a047fd4bdb4ba36e28a80df7745a3e55e5 (patch)
tree3030dbd164a5d0630a8ae422f301c2717111b4c5 /sys
parent153fcd0ee9aeb3b7bf6a583391a8de32a36a6f5b (diff)
downloadFreeBSD-src-0c8460a047fd4bdb4ba36e28a80df7745a3e55e5.zip
FreeBSD-src-0c8460a047fd4bdb4ba36e28a80df7745a3e55e5.tar.gz
Use a dynamic major assignment for the raidctl device.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/raidframe/rf_decluster.c2
-rw-r--r--sys/dev/raidframe/rf_freebsdkintf.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/raidframe/rf_decluster.c b/sys/dev/raidframe/rf_decluster.c
index 147cfd0..646a5ad 100644
--- a/sys/dev/raidframe/rf_decluster.c
+++ b/sys/dev/raidframe/rf_decluster.c
@@ -66,7 +66,7 @@ __FBSDID("$FreeBSD$");
extern int rf_copyback_in_progress; /* debug only */
/* found in rf_kintf.c */
-int rf_GetSpareTableFromDaemon(RF_SparetWait_t * req);
+extern int rf_GetSpareTableFromDaemon(RF_SparetWait_t * req);
#if (RF_INCLUDE_PARITY_DECLUSTERING > 0) || (RF_INCLUDE_PARITY_DECLUSTERING_PQ > 0)
diff --git a/sys/dev/raidframe/rf_freebsdkintf.c b/sys/dev/raidframe/rf_freebsdkintf.c
index d391fcd..d4646aa 100644
--- a/sys/dev/raidframe/rf_freebsdkintf.c
+++ b/sys/dev/raidframe/rf_freebsdkintf.c
@@ -219,7 +219,6 @@ static struct cdevsw raidctl_cdevsw = {
.d_close = raidctlclose,
.d_ioctl = raidctlioctl,
.d_name = "raidctl",
- .d_maj = 201,
};
/*
OpenPOWER on IntegriCloud