diff options
author | peter <peter@FreeBSD.org> | 2001-02-07 07:05:59 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2001-02-07 07:05:59 +0000 |
commit | d4473642637e5eadfea57b93316a31adcf33e702 (patch) | |
tree | 7daf0a32251f6c943f48831c9250eaf0e77a3776 /sys/cam/scsi/scsi_pt.c | |
parent | 2b52ef3ebe9d93d57501db078ac5327c92971919 (diff) | |
download | FreeBSD-src-d4473642637e5eadfea57b93316a31adcf33e702.zip FreeBSD-src-d4473642637e5eadfea57b93316a31adcf33e702.tar.gz |
Change the peripheral driver list from a linker set to module driven
driver registration. This should allow things like da, sa, cd etc to be
in seperate KLD's to the cam core and make them preloadable.
Diffstat (limited to 'sys/cam/scsi/scsi_pt.c')
-rw-r--r-- | sys/cam/scsi/scsi_pt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cam/scsi/scsi_pt.c b/sys/cam/scsi/scsi_pt.c index 541964f..beec14d 100644 --- a/sys/cam/scsi/scsi_pt.c +++ b/sys/cam/scsi/scsi_pt.c @@ -114,7 +114,7 @@ static struct periph_driver ptdriver = TAILQ_HEAD_INITIALIZER(ptdriver.units), /* generation */ 0 }; -DATA_SET(periphdriver_set, ptdriver); +PERIPHDRIVER_DECLARE(pt, ptdriver); #define PT_CDEV_MAJOR 61 |