Subversion Repositories Kolibri OS

Rev

Rev 4279 | Rev 5178 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4279 Rev 5056
Line 429... Line 429...
429
struct spi_device_id {
429
struct spi_device_id {
430
	char name[SPI_NAME_SIZE];
430
	char name[SPI_NAME_SIZE];
431
	kernel_ulong_t driver_data;	/* Data private to the driver */
431
	kernel_ulong_t driver_data;	/* Data private to the driver */
432
};
432
};
Line -... Line 433...
-
 
433
 
-
 
434
#define SPMI_NAME_SIZE	32
-
 
435
#define SPMI_MODULE_PREFIX "spmi:"
-
 
436
 
-
 
437
struct spmi_device_id {
-
 
438
	char name[SPMI_NAME_SIZE];
-
 
439
	kernel_ulong_t driver_data;	/* Data private to the driver */
-
 
440
};
433
 
441
 
434
/* dmi */
442
/* dmi */
435
enum dmi_field {
443
enum dmi_field {
436
	DMI_NONE,
444
	DMI_NONE,
437
	DMI_BIOS_VENDOR,
445
	DMI_BIOS_VENDOR,
Line 545... Line 553...
545
/*
553
/*
546
 * Match x86 CPUs for CPU specific drivers.
554
 * Match x86 CPUs for CPU specific drivers.
547
 * See documentation of "x86_match_cpu" for details.
555
 * See documentation of "x86_match_cpu" for details.
548
 */
556
 */
Line -... Line 557...
-
 
557
 
-
 
558
/*
-
 
559
 * MODULE_DEVICE_TABLE expects this struct to be called x86cpu_device_id.
-
 
560
 * Although gcc seems to ignore this error, clang fails without this define.
-
 
561
 */
549
 
562
#define x86cpu_device_id x86_cpu_id
550
struct x86_cpu_id {
563
struct x86_cpu_id {
551
	__u16 vendor;
564
	__u16 vendor;
552
	__u16 family;
565
	__u16 family;
553
	__u16 model;
566
	__u16 model;
Line 561... Line 574...
561
#define X86_VENDOR_ANY 0xffff
574
#define X86_VENDOR_ANY 0xffff
562
#define X86_FAMILY_ANY 0
575
#define X86_FAMILY_ANY 0
563
#define X86_MODEL_ANY  0
576
#define X86_MODEL_ANY  0
564
#define X86_FEATURE_ANY 0	/* Same as FPU, you can't test for that */
577
#define X86_FEATURE_ANY 0	/* Same as FPU, you can't test for that */
Line -... Line 578...
-
 
578
 
-
 
579
/*
-
 
580
 * Generic table type for matching CPU features.
-
 
581
 * @feature:	the bit number of the feature (0 - 65535)
-
 
582
 */
-
 
583
 
-
 
584
struct cpu_feature {
-
 
585
	__u16	feature;
-
 
586
};
565
 
587
 
566
#define IPACK_ANY_FORMAT 0xff
588
#define IPACK_ANY_FORMAT 0xff
567
#define IPACK_ANY_ID (~0)
589
#define IPACK_ANY_ID (~0)
568
struct ipack_device_id {
590
struct ipack_device_id {
569
	__u8  format;			/* Format version or IPACK_ANY_ID */
591
	__u8  format;			/* Format version or IPACK_ANY_ID */
Line 596... Line 618...
596
struct rio_device_id {
618
struct rio_device_id {
597
	__u16 did, vid;
619
	__u16 did, vid;
598
	__u16 asm_did, asm_vid;
620
	__u16 asm_did, asm_vid;
599
};
621
};
Line -... Line 622...
-
 
622
 
-
 
623
struct mcb_device_id {
-
 
624
	__u16 device;
-
 
625
	kernel_ulong_t driver_data;
-
 
626
};
600
 
627