Intel Ethernet i217: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
Content deleted Content added
No edit summary |
No edit summary |
||
Line 382: | Line 382: | ||
</source> |
|||
To enable interrupts |
|||
<source lang="c"> |
|||
void E1000::enableInterrupt() |
|||
{ |
|||
writeCommand(REG_IMASK ,0x1F6DC); |
|||
writeCommand(REG_IMASK ,0xff & ~4); |
|||
readCommand(0xc0); |
|||
} |
|||
</source> |
</source> |