mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-25 16:11:45 +00:00
sdio: add device id table and matching
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
This commit is contained in:
parent
26074962e8
commit
3b38bea0d9
3 changed files with 92 additions and 7 deletions
|
@ -340,4 +340,15 @@ struct parisc_device_id {
|
|||
#define PA_HVERSION_ANY_ID 0xffff
|
||||
#define PA_SVERSION_ANY_ID 0xffffffff
|
||||
|
||||
/* SDIO */
|
||||
|
||||
#define SDIO_ANY_ID (~0)
|
||||
|
||||
struct sdio_device_id {
|
||||
__u8 class; /* Standard interface or SDIO_ANY_ID */
|
||||
__u16 vendor; /* Vendor or SDIO_ANY_ID */
|
||||
__u16 device; /* Device ID or SDIO_ANY_ID */
|
||||
kernel_ulong_t driver_data; /* Data private to the driver */
|
||||
};
|
||||
|
||||
#endif /* LINUX_MOD_DEVICETABLE_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue