Create /dev/afaN as a symlink to /dev/aacN. This allows the CLI tools from
Dell and HP to run. Reviewed by: msmith
This commit is contained in:
parent
5066c83435
commit
0c8d0b0a59
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user