mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-20 15:43:16 +00: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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=74661
@ -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