agp: Set the driver-specific field correctly
PR: 281035
Reviewed by: mhorne
MFC after: 1 week
Fixes: 437ea82ce7 ("agp: Handle multiple devices more gracefully")
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user