Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178016014
D6246.1795763746.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
D6246.1795763746.diff
View Options
Index: head/sys/dev/bhnd/bhnd.h
===================================================================
--- head/sys/dev/bhnd/bhnd.h
+++ head/sys/dev/bhnd/bhnd.h
@@ -316,12 +316,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 BHND_MIPS_DEVICE(_device, _desc, _quirks, ...) \
+ _BHND_DEVICE(MIPS, _device, _desc, _quirks, ## __VA_ARGS__, 0)
+
+#define BHND_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
Fri, Nov 27, 7:15 AM (21 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42039602
Default Alt Text
D6246.1795763746.diff (1 KB)
Attached To
Mode
D6246: [BHND] Add support for matching of MIPS & ARM cores
Attached
Detach File
Event Timeline