tag | line | file | source code |
olddor | 703 | drivers/block/floppy.c | register unsigned char drive, unit, newdor,olddor; |
olddor | 708 | drivers/block/floppy.c | olddor = FDCS->dor; |
olddor | 709 | drivers/block/floppy.c | newdor = (olddor & mask) | data; |
olddor | 710 | drivers/block/floppy.c | if (newdor != olddor){ |
olddor | 711 | drivers/block/floppy.c | unit = olddor & 0x3; |
olddor | 712 | drivers/block/floppy.c | if (is_selected(olddor, unit) && !is_selected(newdor,unit)){ |
olddor | 725 | drivers/block/floppy.c | if (!is_selected(olddor, unit) && is_selected(newdor,unit)){ |
olddor | 732 | drivers/block/floppy.c | if (olddor & 0xf0) |
olddor | 734 | drivers/block/floppy.c | return olddor; |