Advertisement
Guest User

ipxe-hp-interrupt-fix-rfm6.patch

a guest
Feb 23rd, 2013
300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.03 KB | None | 0 0
  1. --- a/src/arch/i386/drivers/net/undinet.c   2013-01-09 14:25:49.824273512 +0000
  2. +++ b/src/arch/i386/drivers/net/undinet.cc  2013-01-09 14:31:35.484271369 +0000
  3. @@ -639,6 +639,16 @@
  4.          ( undinic->irq != 0 ) ) {
  5.         undinic->irq_supported = 1;
  6.     }
  7. +        /* Override to polling mode on broken HP laptops that incorrectly report interrupt mode
  8. +               ven:8086 dev:1503 (6570b) & ven:8086 dev:1502 (6570b,2170b,xx70x) - Richard Moore
  9. +               NB device ids in decimal
  10. +        */
  11. +        if ( ( undi->pci_vendor == 32902 ) &&
  12. +             ( ( undi->pci_device == 5378 || undi->pci_device == 5378 ) ) ) {
  13. +               undinic->irq_supported = 0;
  14. +               DBGC ( undinic, "UNDINIC Forcing polling mode for match VEN:%d ", undi->pci_vendor );
  15. +               DBGC ( undinic, "DEV:%d\n", undi->pci_device );
  16. +        }
  17.     DBGC ( undinic, "UNDINIC %p using %s mode\n", undinic,
  18.            ( undinic->irq_supported ? "interrupt" : "polling" ) );
  19.     if ( strncmp ( ( ( char * ) undi_iface.IfaceType ), "Etherboot",
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement