diff options
author | scottl <scottl@FreeBSD.org> | 2001-07-25 22:36:17 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2001-07-25 22:36:17 +0000 |
commit | 66a4ec3504be7d88eb1cb08faa4d361c503c12dc (patch) | |
tree | 465fca396b4e0a33c85803361f45dfe069b08af8 | |
parent | 3344c4cdc27e1e345d34cee2ed61020ed95a5810 (diff) | |
download | FreeBSD-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
-rw-r--r-- | etc/MAKEDEV | 1 | ||||
-rw-r--r-- | share/man/man4/aac.4 | 9 | ||||
-rw-r--r-- | sys/dev/aac/aac.c | 1 |
3 files changed, 9 insertions, 2 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV index a9750e4..4c13224 100644 --- a/etc/MAKEDEV +++ b/etc/MAKEDEV @@ -1710,6 +1710,7 @@ aac*) unit=`expr $i : 'aac\(.*\)'` mknod aac$unit c 150 `unit2minor $unit` ln -fs aac$unit afa$unit + ln -fs aac$unit hpn$unit ;; mlx*) diff --git a/share/man/man4/aac.4 b/share/man/man4/aac.4 index 07d35df..3988c4d 100644 --- a/share/man/man4/aac.4 +++ b/share/man/man4/aac.4 @@ -73,8 +73,13 @@ or a Linux-based management application. .Pp The .Pa /dev/aac? -device nodes provides access to the management interface of the controller. -One node exists per installed card. +device nodes provide access to the management interface of the controller. +One node exists per installed card. The aliases +.Pa /dev/afa? +and +.Pa /dev/hpn? +exist for the Dell and HP flavors, respectively, and are required for +the CLI management utility available from these vendors to work. Compiling the driver with the .Dv AAC_COMPAT_LINUX option enables the Linux-compatible 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; |