* 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:
Axel Dörfler 2011-06-15 18:24:51 +00:00
parent d1d65a79cb
commit 59236b809b

View File

@ -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_ */