Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 70749
b: refs/heads/master
c: fdc1ca8
h: refs/heads/master
i:
  70747: 2d14433
v: v3
  • Loading branch information
Jesper Juhl authored and Linus Torvalds committed Oct 17, 2007
1 parent 404b47b commit dc264dd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: aee9041c5f36aa1353ada995c8f8bb3e6b167e4b
refs/heads/master: fdc1ca8abae72c5829e099fd35626b83ecb12666
7 changes: 5 additions & 2 deletions trunk/drivers/block/floppy.c
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,10 @@ static inline int is_selected(int dor, int unit)

static int set_dor(int fdc, char mask, char data)
{
register unsigned char drive, unit, newdor, olddor;
unsigned char unit;
unsigned char drive;
unsigned char newdor;
unsigned char olddor;

if (FDCS->address == -1)
return -1;
Expand Down Expand Up @@ -937,7 +940,7 @@ static void motor_off_callback(unsigned long nr)
static void floppy_off(unsigned int drive)
{
unsigned long volatile delta;
register int fdc = FDC(drive);
int fdc = FDC(drive);

if (!(FDCS->dor & (0x10 << UNIT(drive))))
return;
Expand Down

0 comments on commit dc264dd

Please sign in to comment.