diff options
Diffstat (limited to 'drivers/scsi/sym53c8xx_2/sym_nvram.c')
-rw-r--r-- | drivers/scsi/sym53c8xx_2/sym_nvram.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/scsi/sym53c8xx_2/sym_nvram.c b/drivers/scsi/sym53c8xx_2/sym_nvram.c index 1b721e3ec52..cd9140e158c 100644 --- a/drivers/scsi/sym53c8xx_2/sym_nvram.c +++ b/drivers/scsi/sym53c8xx_2/sym_nvram.c | |||
@@ -270,6 +270,7 @@ static void S24C16_set_bit(struct sym_device *np, u_char write_bit, u_char *gpre | |||
270 | 270 | ||
271 | } | 271 | } |
272 | OUTB(np, nc_gpreg, *gpreg); | 272 | OUTB(np, nc_gpreg, *gpreg); |
273 | INB(np, nc_mbox1); | ||
273 | udelay(5); | 274 | udelay(5); |
274 | } | 275 | } |
275 | 276 | ||
@@ -547,6 +548,7 @@ static int sym_read_Symbios_nvram(struct sym_device *np, Symbios_nvram *nvram) | |||
547 | static void T93C46_Clk(struct sym_device *np, u_char *gpreg) | 548 | static void T93C46_Clk(struct sym_device *np, u_char *gpreg) |
548 | { | 549 | { |
549 | OUTB(np, nc_gpreg, *gpreg | 0x04); | 550 | OUTB(np, nc_gpreg, *gpreg | 0x04); |
551 | INB(np, nc_mbox1); | ||
550 | udelay(2); | 552 | udelay(2); |
551 | OUTB(np, nc_gpreg, *gpreg); | 553 | OUTB(np, nc_gpreg, *gpreg); |
552 | } | 554 | } |
@@ -574,6 +576,7 @@ static void T93C46_Write_Bit(struct sym_device *np, u_char write_bit, u_char *gp | |||
574 | *gpreg |= 0x10; | 576 | *gpreg |= 0x10; |
575 | 577 | ||
576 | OUTB(np, nc_gpreg, *gpreg); | 578 | OUTB(np, nc_gpreg, *gpreg); |
579 | INB(np, nc_mbox1); | ||
577 | udelay(2); | 580 | udelay(2); |
578 | 581 | ||
579 | T93C46_Clk(np, gpreg); | 582 | T93C46_Clk(np, gpreg); |
@@ -586,6 +589,7 @@ static void T93C46_Stop(struct sym_device *np, u_char *gpreg) | |||
586 | { | 589 | { |
587 | *gpreg &= 0xef; | 590 | *gpreg &= 0xef; |
588 | OUTB(np, nc_gpreg, *gpreg); | 591 | OUTB(np, nc_gpreg, *gpreg); |
592 | INB(np, nc_mbox1); | ||
589 | udelay(2); | 593 | udelay(2); |
590 | 594 | ||
591 | T93C46_Clk(np, gpreg); | 595 | T93C46_Clk(np, gpreg); |
@@ -733,7 +737,8 @@ static int sym_read_parisc_pdc(struct sym_device *np, struct pdc_initiator *pdc) | |||
733 | return SYM_PARISC_PDC; | 737 | return SYM_PARISC_PDC; |
734 | } | 738 | } |
735 | #else | 739 | #else |
736 | static int sym_read_parisc_pdc(struct sym_device *np, struct pdc_initiator *x) | 740 | static inline int sym_read_parisc_pdc(struct sym_device *np, |
741 | struct pdc_initiator *x) | ||
737 | { | 742 | { |
738 | return 0; | 743 | return 0; |
739 | } | 744 | } |