Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147049349
D6246.id15981.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D6246.id15981.diff
View Options
Index: sys/dev/bhnd/bhnd.h
===================================================================
--- sys/dev/bhnd/bhnd.h
+++ sys/dev/bhnd/bhnd.h
@@ -257,12 +257,18 @@
uint32_t device_flags; /**< required BHND_DF_* flags */
};
-#define _BHND_DEVICE(_device, _desc, _quirks, _flags, ...) \
- { BHND_CORE_MATCH(BHND_MFGID_BCM, BHND_COREID_ ## _device, \
+#define _BHND_DEVICE(_vendor, _device, _desc, _quirks, _flags, ...) \
+ { BHND_CORE_MATCH(BHND_MFGID_ ## _vendor, BHND_COREID_ ## _device, \
BHND_HWREV_ANY), _desc, _quirks, _flags }
+#define MIPS_DEVICE(_device, _desc, _quirks, ...) \
+ _BHND_DEVICE(MIPS, _device, _desc, _quirks, ## __VA_ARGS__, 0)
+
+#define ARM_DEVICE(_device, _desc, _quirks, ...) \
+ _BHND_DEVICE(ARM, _device, _desc, _quirks, ## __VA_ARGS__, 0)
+
#define BHND_DEVICE(_device, _desc, _quirks, ...) \
- _BHND_DEVICE(_device, _desc, _quirks, ## __VA_ARGS__, 0)
+ _BHND_DEVICE(BCM, _device, _desc, _quirks, ## __VA_ARGS__, 0)
#define BHND_DEVICE_END { BHND_CORE_MATCH_ANY, NULL, NULL, 0 }
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 8, 9:56 PM (16 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29419847
Default Alt Text
D6246.id15981.diff (1 KB)
Attached To
Mode
D6246: [BHND] Add support for matching of MIPS & ARM cores
Attached
Detach File
Event Timeline
Log In to Comment