Changeset View
Changeset View
Standalone View
Standalone View
Modules/pci/kpci_private.h
Show First 20 Lines • Show All 448 Lines • ▼ Show 20 Line(s) | 439 | static const id2name devClass[]={{ 0x00, i18n("Unclassified device")}, | |||
---|---|---|---|---|---|
449 | { 0x0A, i18n("Docking station")}, | 449 | { 0x0A, i18n("Docking station")}, | ||
450 | { 0x0B, i18n("Processor")}, | 450 | { 0x0B, i18n("Processor")}, | ||
451 | { 0x0C, i18n("Serial bus controller")}, | 451 | { 0x0C, i18n("Serial bus controller")}, | ||
452 | { 0x0D, i18n("Wireless controller")}, | 452 | { 0x0D, i18n("Wireless controller")}, | ||
453 | { 0x0E, i18n("Intelligent controller")}, | 453 | { 0x0E, i18n("Intelligent controller")}, | ||
454 | { 0x0F, i18n("Satellite communications controller")}, | 454 | { 0x0F, i18n("Satellite communications controller")}, | ||
455 | { 0x10, i18n("Encryption controller")}, | 455 | { 0x10, i18n("Encryption controller")}, | ||
456 | { 0x11, i18n("Signal processing controller")}, | 456 | { 0x11, i18n("Signal processing controller")}, | ||
457 | { -1, i18n("Unknown device class")} | 457 | { -1, i18n("Unknown device class")} | ||
458 | }; | 458 | }; | ||
459 | 459 | | |||
460 | //keep -1 in last position in "id" | 460 | //keep -1 in last position in "id" | ||
461 | //and in last position in "id2" with certain "id" | 461 | //and in last position in "id2" with certain "id" | ||
462 | //subdevice classes list | 462 | //subdevice classes list | ||
463 | static const id3name devSubclass[]={ { 0x00, 0x00, i18n("Non-VGA unclassified device")}, | 463 | static const id3name devSubclass[]={ { 0x00, 0x00, i18n("Non-VGA unclassified device")}, | ||
464 | { 0x00, 0x01, i18n("VGA unclassified device")}, | 464 | { 0x00, 0x01, i18n("VGA unclassified device")}, | ||
465 | { 0x00, -1, i18n("Unknown unclassified device")}, | 465 | { 0x00, -1, i18n("Unknown unclassified device")}, | ||
466 | 466 | | |||
467 | { 0x01, 0x00, i18n("SCSI storage controller")}, | 467 | { 0x01, 0x00, i18n("SCSI storage controller")}, | ||
468 | { 0x01, 0x01, i18n("IDE controller")}, | 468 | { 0x01, 0x01, i18n("IDE controller")}, | ||
469 | { 0x01, 0x02, i18n("Floppy disk controller")}, | 469 | { 0x01, 0x02, i18n("Floppy disk controller")}, | ||
470 | { 0x01, 0x03, i18n("IPI bus controller")}, | 470 | { 0x01, 0x03, i18n("IPI bus controller")}, | ||
471 | { 0x01, 0x04, i18n("RAID bus controller")}, | 471 | { 0x01, 0x04, i18n("RAID bus controller")}, | ||
472 | { 0x01, 0x05, i18n("ATA controller")}, | 472 | { 0x01, 0x05, i18n("ATA controller")}, | ||
473 | { 0x01, 0x06, i18n("Serial ATA direct port access")}, | 473 | { 0x01, 0x06, i18n("Serial ATA direct port access")}, | ||
474 | { 0x01, 0x80, i18n("Mass storage controller")}, | 474 | { 0x01, 0x80, i18n("Mass storage controller")}, | ||
475 | { 0x01, -1, i18n("Unknown storage controller")}, | 475 | { 0x01, -1, i18n("Unknown storage controller")}, | ||
476 | 476 | | |||
477 | { 0x02, 0x00, i18n("Ethernet controller")}, | 477 | { 0x02, 0x00, i18n("Ethernet controller")}, | ||
478 | { 0x02, 0x01, i18n("Token ring network controller")}, | 478 | { 0x02, 0x01, i18n("Token ring network controller")}, | ||
479 | { 0x02, 0x02, i18n("FDDI network controller")}, | 479 | { 0x02, 0x02, i18n("FDDI network controller")}, | ||
480 | { 0x02, 0x03, i18n("ATM network controller")}, | 480 | { 0x02, 0x03, i18n("ATM network controller")}, | ||
481 | { 0x02, 0x04, i18n("ISDN controller")}, | 481 | { 0x02, 0x04, i18n("ISDN controller")}, | ||
482 | { 0x02, 0x05, i18n("WorldFip controller")}, | 482 | { 0x02, 0x05, i18n("WorldFip controller")}, | ||
483 | { 0x02, 0x06, i18n("PICMG 2.14 multi computing")}, | 483 | { 0x02, 0x06, i18n("PICMG 2.14 multi computing")}, | ||
484 | { 0x02, 0x80, i18n("Network controller")}, | 484 | { 0x02, 0x80, i18n("Network controller")}, | ||
485 | { 0x02, -1, i18n("Unknown network controller")}, | 485 | { 0x02, -1, i18n("Unknown network controller")}, | ||
486 | 486 | | |||
487 | { 0x03, 0x00, i18n("VGA compatible controller")}, | 487 | { 0x03, 0x00, i18n("VGA compatible controller")}, | ||
488 | { 0x03, 0x01, i18n("XGA compatible controller")}, | 488 | { 0x03, 0x01, i18n("XGA compatible controller")}, | ||
489 | { 0x03, 0x02, i18n("3D controller")}, | 489 | { 0x03, 0x02, i18n("3D controller")}, | ||
490 | { 0x03, 0x80, i18n("Display controller")}, | 490 | { 0x03, 0x80, i18n("Display controller")}, | ||
491 | { 0x03, -1, i18n("Unknown display controller")}, | 491 | { 0x03, -1, i18n("Unknown display controller")}, | ||
492 | 492 | | |||
493 | { 0x04, 0x00, i18n("Multimedia video controller")}, | 493 | { 0x04, 0x00, i18n("Multimedia video controller")}, | ||
494 | { 0x04, 0x01, i18n("Multimedia audio controller")}, | 494 | { 0x04, 0x01, i18n("Multimedia audio controller")}, | ||
495 | { 0x04, 0x02, i18n("Computer telephony device")}, | 495 | { 0x04, 0x02, i18n("Computer telephony device")}, | ||
496 | { 0x04, 0x80, i18n("Multimedia controller")}, | 496 | { 0x04, 0x80, i18n("Multimedia controller")}, | ||
497 | { 0x04, -1, i18n("Unknown multimedia controller")}, | 497 | { 0x04, -1, i18n("Unknown multimedia controller")}, | ||
498 | 498 | | |||
499 | { 0x05, 0x00, i18n("RAM memory")}, | 499 | { 0x05, 0x00, i18n("RAM memory")}, | ||
500 | { 0x05, 0x01, i18n("FLASH memory")}, | 500 | { 0x05, 0x01, i18n("FLASH memory")}, | ||
501 | { 0x05, 0x80, i18n("Memory controller")}, | 501 | { 0x05, 0x80, i18n("Memory controller")}, | ||
502 | { 0x05, -1, i18n("Unknown memory controller")}, | 502 | { 0x05, -1, i18n("Unknown memory controller")}, | ||
503 | 503 | | |||
504 | { 0x06, 0x00, i18n("Host bridge")}, | 504 | { 0x06, 0x00, i18n("Host bridge")}, | ||
505 | { 0x06, 0x01, i18n("ISA bridge")}, | 505 | { 0x06, 0x01, i18n("ISA bridge")}, | ||
506 | { 0x06, 0x02, i18n("EISA bridge")}, | 506 | { 0x06, 0x02, i18n("EISA bridge")}, | ||
507 | { 0x06, 0x03, i18n("MicroChannel bridge")}, | 507 | { 0x06, 0x03, i18n("MicroChannel bridge")}, | ||
508 | { 0x06, 0x04, i18n("PCI bridge")}, | 508 | { 0x06, 0x04, i18n("PCI bridge")}, | ||
509 | { 0x06, 0x05, i18n("PCMCIA bridge")}, | 509 | { 0x06, 0x05, i18n("PCMCIA bridge")}, | ||
510 | { 0x06, 0x06, i18n("NuBus bridge")}, | 510 | { 0x06, 0x06, i18n("NuBus bridge")}, | ||
511 | { 0x06, 0x07, i18n("CardBus bridge")}, | 511 | { 0x06, 0x07, i18n("CardBus bridge")}, | ||
512 | { 0x06, 0x08, i18n("RACEway bridge")}, | 512 | { 0x06, 0x08, i18n("RACEway bridge")}, | ||
513 | { 0x06, 0x09, i18n("Semi-transparent PCI-to-PCI bridge")}, | 513 | { 0x06, 0x09, i18n("Semi-transparent PCI-to-PCI bridge")}, | ||
514 | { 0x06, 0x0A, i18n("InfiniBand to PCI host bridge")}, | 514 | { 0x06, 0x0A, i18n("InfiniBand to PCI host bridge")}, | ||
515 | { 0x06, 0x80, i18n("Bridge")}, | 515 | { 0x06, 0x80, i18n("Bridge")}, | ||
516 | { 0x06, -1, i18n("Unknown bridge")}, | 516 | { 0x06, -1, i18n("Unknown bridge")}, | ||
517 | 517 | | |||
518 | { 0x07, 0x00, i18n("Serial controller")}, | 518 | { 0x07, 0x00, i18n("Serial controller")}, | ||
519 | { 0x07, 0x01, i18n("Parallel controller")}, | 519 | { 0x07, 0x01, i18n("Parallel controller")}, | ||
520 | { 0x07, 0x02, i18n("Multiport serial controller")}, | 520 | { 0x07, 0x02, i18n("Multiport serial controller")}, | ||
521 | { 0x07, 0x03, i18n("Modem")}, | 521 | { 0x07, 0x03, i18n("Modem")}, | ||
522 | { 0x07, 0x04, i18n("GPIB (IEEE 488.1/2) controller")}, | 522 | { 0x07, 0x04, i18n("GPIB (IEEE 488.1/2) controller")}, | ||
523 | { 0x07, 0x05, i18n("Smart card")}, | 523 | { 0x07, 0x05, i18n("Smart card")}, | ||
524 | { 0x07, 0x80, i18n("Communication controller")}, | 524 | { 0x07, 0x80, i18n("Communication controller")}, | ||
525 | { 0x07, -1, i18n("Unknown communication controller")}, | 525 | { 0x07, -1, i18n("Unknown communication controller")}, | ||
526 | 526 | | |||
527 | { 0x08, 0x00, i18n("PIC")}, | 527 | { 0x08, 0x00, i18n("PIC")}, | ||
528 | { 0x08, 0x01, i18n("DMA controller")}, | 528 | { 0x08, 0x01, i18n("DMA controller")}, | ||
529 | { 0x08, 0x02, i18n("Timer")}, | 529 | { 0x08, 0x02, i18n("Timer")}, | ||
530 | { 0x08, 0x03, i18n("RTC")}, | 530 | { 0x08, 0x03, i18n("RTC")}, | ||
531 | { 0x08, 0x04, i18n("PCI Hot-plug controller")}, | 531 | { 0x08, 0x04, i18n("PCI Hot-plug controller")}, | ||
532 | { 0x08, 0x80, i18n("System peripheral")}, | 532 | { 0x08, 0x80, i18n("System peripheral")}, | ||
533 | { 0x08, -1, i18n("Unknown system peripheral")}, | 533 | { 0x08, -1, i18n("Unknown system peripheral")}, | ||
534 | 534 | | |||
535 | { 0x09, 0x00, i18n("Keyboard controller")}, | 535 | { 0x09, 0x00, i18n("Keyboard controller")}, | ||
536 | { 0x09, 0x01, i18n("Digitizer Pen")}, | 536 | { 0x09, 0x01, i18n("Digitizer Pen")}, | ||
537 | { 0x09, 0x02, i18n("Mouse controller")}, | 537 | { 0x09, 0x02, i18n("Mouse controller")}, | ||
538 | { 0x09, 0x03, i18n("Scanner controller")}, | 538 | { 0x09, 0x03, i18n("Scanner controller")}, | ||
539 | { 0x09, 0x04, i18n("Gameport controller")}, | 539 | { 0x09, 0x04, i18n("Gameport controller")}, | ||
540 | { 0x09, 0x80, i18n("Input device controller")}, | 540 | { 0x09, 0x80, i18n("Input device controller")}, | ||
541 | { 0x09, -1, i18n("Unknown input device controller")}, | 541 | { 0x09, -1, i18n("Unknown input device controller")}, | ||
542 | 542 | | |||
543 | { 0x0A, 0x00, i18n("Generic docking station")}, | 543 | { 0x0A, 0x00, i18n("Generic docking station")}, | ||
544 | { 0x0A, 0x80, i18n("Docking station")}, | 544 | { 0x0A, 0x80, i18n("Docking station")}, | ||
545 | { 0x0A, -1, i18n("Unknown docking station")}, | 545 | { 0x0A, -1, i18n("Unknown docking station")}, | ||
546 | 546 | | |||
547 | { 0x0B, 0x00, i18n("386")}, | 547 | { 0x0B, 0x00, i18n("386")}, | ||
548 | { 0x0B, 0x01, i18n("486")}, | 548 | { 0x0B, 0x01, i18n("486")}, | ||
549 | { 0x0B, 0x02, i18n("Pentium")}, | 549 | { 0x0B, 0x02, i18n("Pentium")}, | ||
550 | { 0x0B, 0x10, i18n("Alpha")}, | 550 | { 0x0B, 0x10, i18n("Alpha")}, | ||
551 | { 0x0B, 0x20, i18n("Power PC")}, | 551 | { 0x0B, 0x20, i18n("Power PC")}, | ||
552 | { 0x0B, 0x30, i18n("MIPS")}, | 552 | { 0x0B, 0x30, i18n("MIPS")}, | ||
553 | { 0x0B, 0x40, i18n("Co-processor")}, | 553 | { 0x0B, 0x40, i18n("Co-processor")}, | ||
554 | { 0x0B, -1, i18n("Unknown processor")}, | 554 | { 0x0B, -1, i18n("Unknown processor")}, | ||
555 | 555 | | |||
556 | { 0x0C, 0x00, i18n("FireWire (IEEE 1394)")}, | 556 | { 0x0C, 0x00, i18n("FireWire (IEEE 1394)")}, | ||
557 | { 0x0C, 0x01, i18n("ACCESS bus")}, | 557 | { 0x0C, 0x01, i18n("ACCESS bus")}, | ||
558 | { 0x0C, 0x02, i18n("SSA")}, | 558 | { 0x0C, 0x02, i18n("SSA")}, | ||
559 | { 0x0C, 0x03, i18n("USB controller")}, | 559 | { 0x0C, 0x03, i18n("USB controller")}, | ||
560 | { 0x0C, 0x04, i18n("Fibre channel")}, | 560 | { 0x0C, 0x04, i18n("Fibre channel")}, | ||
561 | { 0x0C, 0x05, i18n("SMBus")}, | 561 | { 0x0C, 0x05, i18n("SMBus")}, | ||
562 | { 0x0C, 0x06, i18n("InfiniBand")}, | 562 | { 0x0C, 0x06, i18n("InfiniBand")}, | ||
563 | { 0x0C, 0x07, i18n("IPMI interface")}, | 563 | { 0x0C, 0x07, i18n("IPMI interface")}, | ||
564 | { 0x0C, 0x08, i18n("SERCOS interface")}, | 564 | { 0x0C, 0x08, i18n("SERCOS interface")}, | ||
565 | { 0x0C, 0x09, i18n("CANbus")}, | 565 | { 0x0C, 0x09, i18n("CANbus")}, | ||
566 | { 0x0C, -1, i18n("Unknown serial bus controller")}, | 566 | { 0x0C, -1, i18n("Unknown serial bus controller")}, | ||
567 | 567 | | |||
568 | { 0x0D, 0x00, i18n("IRDA controller")}, | 568 | { 0x0D, 0x00, i18n("IRDA controller")}, | ||
569 | { 0x0D, 0x01, i18n("Consumer IR controller")}, | 569 | { 0x0D, 0x01, i18n("Consumer IR controller")}, | ||
570 | { 0x0D, 0x10, i18n("RF controller")}, | 570 | { 0x0D, 0x10, i18n("RF controller")}, | ||
571 | { 0x0D, 0x11, i18n("Bluetooth")}, | 571 | { 0x0D, 0x11, i18n("Bluetooth")}, | ||
572 | { 0x0D, 0x12, i18n("Broadband")}, | 572 | { 0x0D, 0x12, i18n("Broadband")}, | ||
573 | { 0x0D, 0x20, i18n("Ethernet (802.11a - 5 GHz)")}, | 573 | { 0x0D, 0x20, i18n("Ethernet (802.11a - 5 GHz)")}, | ||
574 | { 0x0D, 0x21, i18n("Ethernet (802.11b - 2.4 GHz)")}, | 574 | { 0x0D, 0x21, i18n("Ethernet (802.11b - 2.4 GHz)")}, | ||
575 | { 0x0D, 0x80, i18n("Wireless controller")}, | 575 | { 0x0D, 0x80, i18n("Wireless controller")}, | ||
576 | { 0x0D, -1, i18n("Unknown wireless controller")}, | 576 | { 0x0D, -1, i18n("Unknown wireless controller")}, | ||
577 | 577 | | |||
578 | { 0x0E, 0x00, i18n("I2O")}, | 578 | { 0x0E, 0x00, i18n("I2O")}, | ||
579 | { 0x0E, -1, i18n("Unknown intelligent controller")}, | 579 | { 0x0E, -1, i18n("Unknown intelligent controller")}, | ||
580 | 580 | | |||
581 | { 0x0F, 0x01, i18n("Satellite TV controller")}, | 581 | { 0x0F, 0x01, i18n("Satellite TV controller")}, | ||
582 | { 0x0F, 0x02, i18n("Satellite audio communication controller")}, | 582 | { 0x0F, 0x02, i18n("Satellite audio communication controller")}, | ||
583 | { 0x0F, 0x03, i18n("Satellite voice communication controller")}, | 583 | { 0x0F, 0x03, i18n("Satellite voice communication controller")}, | ||
584 | { 0x0F, 0x04, i18n("Satellite data communication controller")}, | 584 | { 0x0F, 0x04, i18n("Satellite data communication controller")}, | ||
585 | { 0x0F, -1, i18n("Unknown satellite communications controller")}, | 585 | { 0x0F, -1, i18n("Unknown satellite communications controller")}, | ||
586 | 586 | | |||
587 | { 0x10, 0x00, i18n("Network and computing encryption device")}, | 587 | { 0x10, 0x00, i18n("Network and computing encryption device")}, | ||
588 | { 0x10, 0x10, i18n("Entertainment encryption device")}, | 588 | { 0x10, 0x10, i18n("Entertainment encryption device")}, | ||
589 | { 0x10, 0x80, i18n("Encryption controller")}, | 589 | { 0x10, 0x80, i18n("Encryption controller")}, | ||
590 | { 0x10, -1, i18n("Unknown encryption controller")}, | 590 | { 0x10, -1, i18n("Unknown encryption controller")}, | ||
591 | 591 | | |||
592 | { 0x11, 0x00, i18n("DPIO module")}, | 592 | { 0x11, 0x00, i18n("DPIO module")}, | ||
593 | { 0x11, 0x01, i18n("Performance counters")}, | 593 | { 0x11, 0x01, i18n("Performance counters")}, | ||
594 | { 0x11, 0x10, i18n("Communication synchronizer")}, | 594 | { 0x11, 0x10, i18n("Communication synchronizer")}, | ||
595 | { 0x11, 0x20, i18n("Management card")}, | 595 | { 0x11, 0x20, i18n("Management card")}, | ||
596 | { 0x11, 0x80, i18n("Signal processing controller")}, | 596 | { 0x11, 0x80, i18n("Signal processing controller")}, | ||
597 | { 0x11, -1, i18n("Unknown signal processing controller")}, | 597 | { 0x11, -1, i18n("Unknown signal processing controller")}, | ||
598 | 598 | | |||
599 | { -1, -1, i18n("Unknown subdevice class")} | 599 | { -1, -1, i18n("Unknown subdevice class")} | ||
600 | }; | 600 | }; | ||
601 | 601 | | |||
602 | //keep -1 in last position in "id", | 602 | //keep -1 in last position in "id", | ||
603 | //in last position in "id2" with certain "id", | 603 | //in last position in "id2" with certain "id", | ||
604 | //and in last position in "id3" with certain "id2" | 604 | //and in last position in "id3" with certain "id2" | ||
605 | //device programming interface list | 605 | //device programming interface list | ||
606 | static const id4name devInterface[]={ { 0x01, 0x05, 0x20, i18n("single DMA")}, | 606 | static const id4name devInterface[]={ { 0x01, 0x05, 0x20, i18n("single DMA")}, | ||
607 | { 0x01, 0x05, 0x30, i18n("chained DMA")}, | 607 | { 0x01, 0x05, 0x30, i18n("chained DMA")}, | ||
▲ Show 20 Lines • Show All 58 Lines • ▼ Show 20 Line(s) | |||||
666 | { 0x0C, 0x03, 0x20, i18n("EHCI")}, | 666 | { 0x0C, 0x03, 0x20, i18n("EHCI")}, | ||
667 | { 0x0C, 0x03, 0x80, i18n("Unspecified")}, | 667 | { 0x0C, 0x03, 0x80, i18n("Unspecified")}, | ||
668 | { 0x0C, 0x03, 0xFE, i18n("USB Device")}, | 668 | { 0x0C, 0x03, 0xFE, i18n("USB Device")}, | ||
669 | 669 | | |||
670 | { 0x0C, 0x07, 0x00, i18n("SMIC")}, | 670 | { 0x0C, 0x07, 0x00, i18n("SMIC")}, | ||
671 | { 0x0C, 0x07, 0x01, i18n("Keyboard controller style")}, | 671 | { 0x0C, 0x07, 0x01, i18n("Keyboard controller style")}, | ||
672 | { 0x0C, 0x07, 0x02, i18n("Block transfer")}, | 672 | { 0x0C, 0x07, 0x02, i18n("Block transfer")}, | ||
673 | 673 | | |||
674 | { -1, -1, -1, i18n(strUnknown)} | 674 | { -1, -1, -1, i18n(strUnknown)} | ||
675 | }; | 675 | }; | ||
676 | 676 | | |||
677 | 677 | | |||
678 | //keep -1 in last position | 678 | //keep -1 in last position | ||
679 | //capabilities list | 679 | //capabilities list | ||
680 | static const id2name capNames[]={{ 0x01, i18n("Power management")}, | 680 | static const id2name capNames[]={{ 0x01, i18n("Power management")}, | ||
681 | { 0x02, i18n("AGP")}, | 681 | { 0x02, i18n("AGP")}, | ||
682 | { 0x03, i18n("Vital product data")}, | 682 | { 0x03, i18n("Vital product data")}, | ||
683 | { 0x04, i18n("Slot identification")}, | 683 | { 0x04, i18n("Slot identification")}, | ||
684 | { 0x05, i18n("Message signaled interrupts")}, | 684 | { 0x05, i18n("Message signaled interrupts")}, | ||
685 | { 0x06, i18n("CompactPCI hot swap")}, | 685 | { 0x06, i18n("CompactPCI hot swap")}, | ||
686 | { 0x07, i18n("PCI-X")}, | 686 | { 0x07, i18n("PCI-X")}, | ||
687 | { 0x08, i18n("HyperTransport")}, | 687 | { 0x08, i18n("HyperTransport")}, | ||
688 | { 0x09, i18n("Vendor specific")}, | 688 | { 0x09, i18n("Vendor specific")}, | ||
689 | { 0x0A, i18n("Debug port")}, | 689 | { 0x0A, i18n("Debug port")}, | ||
690 | { 0x0B, i18n("CompactPCI central resource control")}, | 690 | { 0x0B, i18n("CompactPCI central resource control")}, | ||
691 | { 0x0C, i18n("PCI hot-plug")}, | 691 | { 0x0C, i18n("PCI hot-plug")}, | ||
692 | { 0x0E, i18n("AGP x8")}, | 692 | { 0x0E, i18n("AGP x8")}, | ||
693 | { 0x0F, i18n("Secure device")}, | 693 | { 0x0F, i18n("Secure device")}, | ||
694 | { 0x10, i18n("PCI express")}, | 694 | { 0x10, i18n("PCI express")}, | ||
695 | { 0x11, i18n("MSI-X")}, | 695 | { 0x11, i18n("MSI-X")}, | ||
696 | { -1, i18n(strUnknown)} | 696 | { -1, i18n(strUnknown)} | ||
697 | }; | 697 | }; | ||
698 | 698 | | |||
699 | //keep -1 in last position | 699 | //keep -1 in last position | ||
700 | //device selection timing | 700 | //device selection timing | ||
701 | static const id2name devSel[]={ { 0x00, i18n("Fast")}, | 701 | static const id2name devSel[]={ { 0x00, i18n("Fast")}, | ||
702 | { 0x01, i18n("Medium")}, | 702 | { 0x01, i18n("Medium")}, | ||
703 | { 0x02, i18n("Slow")}, | 703 | { 0x02, i18n("Slow")}, | ||
704 | { -1, i18n(strUnknown)} | 704 | { -1, i18n(strUnknown)} | ||
705 | }; | 705 | }; | ||
706 | 706 | | |||
707 | //keep -1 in last position | 707 | //keep -1 in last position | ||
708 | //mapping type | 708 | //mapping type | ||
709 | static const id2name mappingType[]={{ 0x00, i18n("32 bit")}, | 709 | static const id2name mappingType[]={{ 0x00, i18n("32 bit")}, | ||
710 | { 0x01, i18n("Below 1M")}, | 710 | { 0x01, i18n("Below 1M")}, | ||
711 | { 0x02, i18n("64 bit")}, | 711 | { 0x02, i18n("64 bit")}, | ||
712 | { -1, i18n(strUnknown)} | 712 | { -1, i18n(strUnknown)} | ||
713 | }; | 713 | }; | ||
714 | 714 | | |||
715 | //keep -1 in last position | 715 | //keep -1 in last position | ||
716 | //header type | 716 | //header type | ||
717 | static const id2name headerType[]={ { 0x00, i18n("Standard")}, | 717 | static const id2name headerType[]={ { 0x00, i18n("Standard")}, | ||
718 | { 0x01, i18n("Bridge")}, | 718 | { 0x01, i18n("Bridge")}, | ||
719 | { 0x02, i18n("CardBus")}, | 719 | { 0x02, i18n("CardBus")}, | ||
720 | { -1, i18n(strUnknown)} | 720 | { -1, i18n(strUnknown)} | ||
721 | }; | 721 | }; | ||
722 | 722 | | |||
723 | //keep -1 in last position | 723 | //keep -1 in last position | ||
724 | //AGP rate | 724 | //AGP rate | ||
725 | static const id2name agpRate[]={{ 0x01, i18n("1X")}, | 725 | static const id2name agpRate[]={{ 0x01, i18n("1X")}, | ||
726 | { 0x02, i18n("2X")}, | 726 | { 0x02, i18n("2X")}, | ||
727 | { 0x03, i18n("1X & 2X")}, | 727 | { 0x03, i18n("1X & 2X")}, | ||
728 | { 0x04, i18n("4X")}, | 728 | { 0x04, i18n("4X")}, | ||
729 | { 0x05, i18n("1X & 4X")}, | 729 | { 0x05, i18n("1X & 4X")}, | ||
730 | { 0x06, i18n("2X & 4X")}, | 730 | { 0x06, i18n("2X & 4X")}, | ||
731 | { 0x07, i18n("1X & 2X & 4X")}, | 731 | { 0x07, i18n("1X & 2X & 4X")}, | ||
732 | { 0x09, i18n("4X")}, | 732 | { 0x09, i18n("4X")}, | ||
733 | { 0x0A, i18n("8X")}, | 733 | { 0x0A, i18n("8X")}, | ||
734 | { 0x0B, i18n("4X & 8X")}, | 734 | { 0x0B, i18n("4X & 8X")}, | ||
735 | { -1, i18n(strUnknown)} | 735 | { -1, i18n(strUnknown)} | ||
736 | }; | 736 | }; | ||
737 | 737 | | |||
738 | //keep -1 in last position | 738 | //keep -1 in last position | ||
739 | //AGP calibrating cycle | 739 | //AGP calibrating cycle | ||
740 | static const id2name calCycle[]={ { 0x00, i18n("4 ms")}, | 740 | static const id2name calCycle[]={ { 0x00, i18n("4 ms")}, | ||
741 | { 0x01, i18n("16 ms")}, | 741 | { 0x01, i18n("16 ms")}, | ||
742 | { 0x02, i18n("64 ms")}, | 742 | { 0x02, i18n("64 ms")}, | ||
743 | { 0x03, i18n("256 ms")}, | 743 | { 0x03, i18n("256 ms")}, | ||
744 | { 0x07, i18n("Not needed")}, | 744 | { 0x07, i18n("Not needed")}, | ||
745 | { -1, i18n(strUnknown)} | 745 | { -1, i18n(strUnknown)} | ||
746 | }; | 746 | }; | ||
747 | 747 | | |||
748 | //keep -1 in last position | 748 | //keep -1 in last position | ||
749 | //PM auxiliary current | 749 | //PM auxiliary current | ||
750 | static const id2name auxCur[]={ { 0x00, i18n("0 (self powered)")}, | 750 | static const id2name auxCur[]={ { 0x00, i18n("0 (self powered)")}, | ||
751 | { 0x01, i18n("55 mA")}, | 751 | { 0x01, i18n("55 mA")}, | ||
752 | { 0x02, i18n("100 mA")}, | 752 | { 0x02, i18n("100 mA")}, | ||
753 | { 0x03, i18n("160 mA")}, | 753 | { 0x03, i18n("160 mA")}, | ||
754 | { 0x04, i18n("220 mA")}, | 754 | { 0x04, i18n("220 mA")}, | ||
755 | { 0x05, i18n("270 mA")}, | 755 | { 0x05, i18n("270 mA")}, | ||
756 | { 0x06, i18n("320 mA")}, | 756 | { 0x06, i18n("320 mA")}, | ||
757 | { 0x07, i18n("375 mA")}, | 757 | { 0x07, i18n("375 mA")}, | ||
758 | { -1, i18n(strUnknown)} | 758 | { -1, i18n(strUnknown)} | ||
759 | }; | 759 | }; | ||
760 | 760 | | |||
761 | //keep -1 in last position | 761 | //keep -1 in last position | ||
762 | //PM power state | 762 | //PM power state | ||
763 | static const id2name powerState[]={ { 0x00, i18n("D0")}, | 763 | static const id2name powerState[]={ { 0x00, i18n("D0")}, | ||
764 | { 0x01, i18n("D1")}, | 764 | { 0x01, i18n("D1")}, | ||
765 | { 0x02, i18n("D2")}, | 765 | { 0x02, i18n("D2")}, | ||
766 | { 0x03, i18n("D3 hot")}, | 766 | { 0x03, i18n("D3 hot")}, | ||
767 | { -1, i18n(strUnknown)} | 767 | { -1, i18n(strUnknown)} | ||
768 | }; | 768 | }; | ||
769 | 769 | | |||
770 | //keep -1 in last position | 770 | //keep -1 in last position | ||
771 | //MSI multiple message | 771 | //MSI multiple message | ||
772 | static const id2name multipleMessage[]={{ 0x00, i18n("1 vector")}, | 772 | static const id2name multipleMessage[]={{ 0x00, i18n("1 vector")}, | ||
773 | { 0x01, i18n("2 vectors")}, | 773 | { 0x01, i18n("2 vectors")}, | ||
774 | { 0x02, i18n("4 vectors")}, | 774 | { 0x02, i18n("4 vectors")}, | ||
775 | { 0x03, i18n("8 vectors")}, | 775 | { 0x03, i18n("8 vectors")}, | ||
776 | { 0x04, i18n("16 vectors")}, | 776 | { 0x04, i18n("16 vectors")}, | ||
777 | { 0x05, i18n("32 vectors")}, | 777 | { 0x05, i18n("32 vectors")}, | ||
778 | { -1, i18n(strUnknown)} | 778 | { -1, i18n(strUnknown)} | ||
779 | }; | 779 | }; | ||
780 | 780 | | |||
781 | static const QString& getNameById(const id2name *const table,int id); | 781 | static const QString& getNameById(const id2name *const table,int id); | ||
782 | static const QString& getNameBy2Id(const id3name *const table,int id,int id2); | 782 | static const QString& getNameBy2Id(const id3name *const table,int id,int id2); | ||
783 | static const QString& getNameBy3Id(const id4name *const table,int id,int id2, int id3); | 783 | static const QString& getNameBy3Id(const id4name *const table,int id,int id2, int id3); | ||
784 | 784 | | |||
785 | #endif //KCONTROL_KPCI_PRIVATE_H | 785 | #endif //KCONTROL_KPCI_PRIVATE_H |