summaryrefslogtreecommitdiffstats
path: root/sys/dev/aac
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2001-07-25 22:36:17 +0000
committerscottl <scottl@FreeBSD.org>2001-07-25 22:36:17 +0000
commit66a4ec3504be7d88eb1cb08faa4d361c503c12dc (patch)
tree465fca396b4e0a33c85803361f45dfe069b08af8 /sys/dev/aac
parent3344c4cdc27e1e345d34cee2ed61020ed95a5810 (diff)
downloadFreeBSD-src-66a4ec3504be7d88eb1cb08faa4d361c503c12dc.zip
FreeBSD-src-66a4ec3504be7d88eb1cb08faa4d361c503c12dc.tar.gz
Add /dev/hpn? as an alias to /dev/aac? so that the HP version of the CLI
utility will work, and document it in the manpage. MFC after: 3 days
Diffstat (limited to 'sys/dev/aac')
-rw-r--r--sys/dev/aac/aac.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/aac/aac.c b/sys/dev/aac/aac.c
index ccffb18e..1808e0d 100644
--- a/sys/dev/aac/aac.c
+++ b/sys/dev/aac/aac.c
@@ -236,6 +236,7 @@ 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);
+ (void)make_dev_alias(sc->aac_dev_t, "hpn%d", unit);
sc->aac_dev_t->si_drv1 = sc;
OpenPOWER on IntegriCloud