public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d97ea3
)
ubee: floppy driver write fix
author
Alan Cox
<alan@linux.intel.com>
Fri, 9 Feb 2018 23:41:22 +0000
(23:41 +0000)
committer
Alan Cox
<alan@linux.intel.com>
Fri, 9 Feb 2018 23:41:22 +0000
(23:41 +0000)
Kernel/platform-ubee/floppy.s
patch
|
blob
|
history
diff --git
a/Kernel/platform-ubee/floppy.s
b/Kernel/platform-ubee/floppy.s
index
3252a37
..
26f3bc4
100644
(file)
--- a/
Kernel/platform-ubee/floppy.s
+++ b/
Kernel/platform-ubee/floppy.s
@@
-238,6
+238,12
@@
fdio_out1:
jr z, fdio_out1
outi ; Stuff byte into FDC while we think
jr nz,fdio_out1
+fdio_out2:
+ in a, (FDCREG) ; Wait for DRQ (or error)
+ and e
+ jr z, fdio_out2
+ outi ; Stuff byte into FDC while we think
+ jr nz,fdio_out2
fdio_nmiout:
;
; Now tidy up