diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2024-01-14 19:40:25 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2024-01-14 19:40:25 +0100 |
commit | aab647a0cc135a0510ded3b65b812dfd110321a5 (patch) | |
tree | 5d4e4d67125ce93c1f26bf8891502af0c2ccc6c4 /doc/FEEDBACK.TYNDUR | |
parent | 6c4dd008f98d50192012b2a80f74cbee6787f19c (diff) | |
download | abaos-aab647a0cc135a0510ded3b65b812dfd110321a5.tar.gz abaos-aab647a0cc135a0510ded3b65b812dfd110321a5.tar.bz2 |
updated links and documentation
Diffstat (limited to 'doc/FEEDBACK.TYNDUR')
-rw-r--r-- | doc/FEEDBACK.TYNDUR | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/FEEDBACK.TYNDUR b/doc/FEEDBACK.TYNDUR new file mode 100644 index 0000000..f9d57fb --- /dev/null +++ b/doc/FEEDBACK.TYNDUR @@ -0,0 +1,18 @@ +rtl8139 driver + + // Warten bis der Reset beendet ist + while ((read_register_byte(netcard, REG_COMMAND) & REG_COMMAND) == + CR_RESET); + + // docu says reading ISR clears the interrupts, writting has no effect: + write_register_word(netcard, REG_INTERRUPT_STATUS, 0); + // so this is wrong + + write_register_word(netcard, REG_INTERRUPT_MASK, 0xFFFF); + + // not quite sure, but I would use an uint16_t as we read a word, not a dword + // from ISR + uint32_t isr = read_register_word(netcard, REG_INTERRUPT_STATUS); + + // where is DMA (PCI bus mastering) enabled? not visible in driver, quite + // confusuing for the newbie
\ No newline at end of file |