mirror of
https://github.com/opnsense/src.git
synced 2026-02-18 18:20:26 -05:00
agp: Set the driver-specific field correctly
PR: 281035
Reviewed by: mhorne
MFC after: 1 week
Fixes: 437ea82ce7 ("agp: Handle multiple devices more gracefully")
(cherry picked from commit 12500c14281dc62ddeac4c5e1e6eabd1e380f11c)
This commit is contained in:
parent
f3e22a08ca
commit
57e0d4b9a6
1 changed files with 1 additions and 1 deletions
|
|
@ -254,7 +254,7 @@ agp_generic_attach(device_t dev)
|
|||
mdargs.mda_uid = UID_ROOT;
|
||||
mdargs.mda_gid = GID_WHEEL;
|
||||
mdargs.mda_mode = 0600;
|
||||
mdargs.mda_si_drv1 = sc;
|
||||
mdargs.mda_si_drv1 = dev;
|
||||
mdargs.mda_si_drv2 = NULL;
|
||||
|
||||
unit = device_get_unit(dev);
|
||||
|
|
|
|||
Loading…
Reference in a new issue