diff options
| author | Scott Long <scottl@FreeBSD.org> | 2001-03-22 21:04:22 +0000 |
|---|---|---|
| committer | Scott Long <scottl@FreeBSD.org> | 2001-03-22 21:04:22 +0000 |
| commit | 157fbb2e83600e3047201ac8428af61d3c08bd2e (patch) | |
| tree | 6a60c5c8f3ac7450ab7183d4540cd752e07a0fae /sys/dev/aac | |
| parent | 392df6bce77c044b8fdeb3c47730b73db67d964d (diff) | |
Notes
Diffstat (limited to 'sys/dev/aac')
| -rw-r--r-- | sys/dev/aac/aac.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/aac/aac.c b/sys/dev/aac/aac.c index ff564f123f9c..0d025e33fb69 100644 --- a/sys/dev/aac/aac.c +++ b/sys/dev/aac/aac.c @@ -236,6 +236,8 @@ aac_attach(struct aac_softc *sc) */ unit = device_get_unit(sc->aac_dev); sc->aac_dev_t = make_dev(&aac_cdevsw, unit, UID_ROOT, GID_WHEEL, 0644, "aac%d", unit); + (void)make_dev_alias(sc->aac_dev_t, "afa%d", unit); + sc->aac_dev_t->si_drv1 = sc; return(0); |
