mirror of
https://github.com/opnsense/src.git
synced 2026-04-23 07:07:24 -04:00
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
392df6bce7
commit
157fbb2e83
1 changed files with 2 additions and 0 deletions
|
|
@ -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 a new issue