Rev 1911 | Rev 1984 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1911 | Rev 1946 | ||
---|---|---|---|
Line 95... | Line 95... | ||
95 | return pci; |
95 | return pci; |
96 | } |
96 | } |
97 | 97 | ||
98 | void pci_sabre_enable_interrupt(pci_t *pci, int inr) |
98 | void pci_sabre_enable_interrupt(pci_t *pci, int inr) |
99 | { |
99 | { |
100 | pci->reg[PCI_SABRE_ICLR_BASE + (inr & INO_MASK)] = 0; |
- | |
101 | pci->reg[PCI_SABRE_IMAP_BASE + (inr & INO_MASK)] |= IMAP_V_MASK; |
100 | pci->reg[PCI_SABRE_IMAP_BASE + (inr & INO_MASK)] |= IMAP_V_MASK; |
102 | } |
101 | } |
103 | 102 | ||
104 | void pci_sabre_clear_interrupt(pci_t *pci, int inr) |
103 | void pci_sabre_clear_interrupt(pci_t *pci, int inr) |
105 | { |
104 | { |