* Also mangle the name into the device class symbol - this should help with the
e1000 driver. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42192 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
d1d65a79cb
commit
59236b809b
@ -228,6 +228,7 @@ extern const char* __haiku_firmware_name_map[][2];
|
||||
|
||||
#define DRIVER_MODULE(name, busname, driver, devclass, evh, arg) \
|
||||
driver_t *DRIVER_MODULE_NAME(name, busname) = &(driver); \
|
||||
devclass_t *__class_ ## busname ## _ ## devclass = &(devclass)
|
||||
devclass_t *__class_ ## name ## _ ## busname ## _ ## devclass = &(devclass)
|
||||
|
||||
|
||||
#endif /* _FBSD_COMPAT_SYS_HAIKU_MODULE_H_ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user