| plan 9 kernel history: overview | file list | diff list |
2000/1211/bitsy/devflash.c (diff list | history)
| 2000/1209/sys/src/9/bitsy/devflash.c:653,667 – 2000/1211/sys/src/9/bitsy/devflash.c:653,669 (short | long | prev | next) | ||
| 2000/1209 | * the flash spec claimes writing goes faster if we use | |
| 2000/1117 | * the write buffer. We fill the write buffer and then * issue the write request. After the write request, | |
| 2000/1211 | * subsequent reads will yield the status register. | |
| 2000/1117 | * | |
| 2000/1211 | * returns the status, even on timeouts. | |
| 2000/1209 | * | |
| 2000/1211 | * NOTE: I tried starting back to back buffered writes * without reading the status in between, as the * flowchart in the intel data sheet suggests. * However, it always responded with an illegal * command sequence, so I must be missing something. * If someone learns better, please email me, though * I doubt it will be much faster. - presotto@bell-labs.com | |
| 2000/1117 | */ | |
| 2000/1209 | static ulong ise_wbwrite(ulong *p, int n, ulong off, ulong baddr, ulong *status) | |