Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F158006693
D34999.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
465 B
Referenced Files
None
Subscribers
None
D34999.diff
View Options
diff --git a/sys/dev/twe/twe_freebsd.c b/sys/dev/twe/twe_freebsd.c
--- a/sys/dev/twe/twe_freebsd.c
+++ b/sys/dev/twe/twe_freebsd.c
@@ -1166,7 +1166,7 @@
struct twe_softc *sc;
int i;
- for (i = 0; (sc = devclass_get_softc(twe_devclass, i)) != NULL; i++)
+ for (i = 0; (sc = devclass_get_softc(devclass_find("twe"), i)) != NULL; i++)
twe_print_controller(sc);
printf("twed: total bio count in %u out %u\n", twed_bio_in, twed_bio_out);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, May 28, 10:24 AM (4 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33583577
Default Alt Text
D34999.diff (465 B)
Attached To
Mode
D34999: twe: Use devclass_find in twe_report debug function.
Attached
Detach File
Event Timeline
Log In to Comment