summaryrefslogtreecommitdiffstats
path: root/sys/dev/asr/asr.c
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2004-05-02 00:27:54 +0000
committerscottl <scottl@FreeBSD.org>2004-05-02 00:27:54 +0000
commitb54dd16b5a398e5328a74165a5147f40909bd76d (patch)
tree58598bb0d6e1961cc24c85ce4a3650bfd23066c9 /sys/dev/asr/asr.c
parent568c9e1d0571fb484e85e8950afa9b674f8f1bf2 (diff)
downloadFreeBSD-src-b54dd16b5a398e5328a74165a5147f40909bd76d.zip
FreeBSD-src-b54dd16b5a398e5328a74165a5147f40909bd76d.tar.gz
Remove the bogus printing of the asr control device major number. Also
rename the control device from rasr%d to asr%d. This starts us down the path of divorcing ourselves from a very bogus design in the management apps. Since the apps are open source now, they will likely be updated and fixed before 5.3.
Diffstat (limited to 'sys/dev/asr/asr.c')
-rw-r--r--sys/dev/asr/asr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/asr/asr.c b/sys/dev/asr/asr.c
index 1c6bdac..f446a89 100644
--- a/sys/dev/asr/asr.c
+++ b/sys/dev/asr/asr.c
@@ -2246,7 +2246,6 @@ asr_attach(device_t tag)
* engine (dptioctl.h) to pick up.
*/
bcopy(osrelease, &ASR_sig.dsDescription[16], 5);
- printf("asr%d: major=%d\n", unit, asr_cdevsw.d_maj);
}
/*
* Initialize the software structure
@@ -2519,7 +2518,7 @@ asr_attach(device_t tag)
* Generate the device node information
*/
sc->ha_devt = make_dev(&asr_cdevsw, unit, UID_ROOT, GID_OPERATOR, 0640,
- "rasr%d", unit);
+ "asr%d", unit);
sc->ha_devt->si_drv1 = sc;
return(0);
} /* asr_attach */
OpenPOWER on IntegriCloud