Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F101905521
D34994.id105280.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
462 B
Referenced Files
None
Subscribers
None
D34994.id105280.diff
View Options
diff --git a/sys/dev/mlx/mlx.c b/sys/dev/mlx/mlx.c
--- a/sys/dev/mlx/mlx.c
+++ b/sys/dev/mlx/mlx.c
@@ -980,7 +980,7 @@
error = ENOENT;
MLX_CONFIG_LOCK(sc);
bus_topo_lock();
- mlxd = (struct mlxd_softc *)devclass_get_softc(mlxd_devclass, *arg);
+ mlxd = devclass_get_softc(devclass_find("mlxd"), *arg);
bus_topo_unlock();
if ((mlxd != NULL) && (mlxd->mlxd_drive >= sc->mlx_sysdrive) &&
(mlxd->mlxd_drive < (sc->mlx_sysdrive + MLX_MAXDRIVES))) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 6, 11:04 AM (20 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14478855
Default Alt Text
D34994.id105280.diff (462 B)
Attached To
Mode
D34994: mlx: Use devclass_find to lookup the devclass for mlxd.
Attached
Detach File
Event Timeline
Log In to Comment