Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 68961
b: refs/heads/master
c: 9a256fa
h: refs/heads/master
i:
  68959: 11b8e33
v: v3
  • Loading branch information
Matthew Wilcox authored and James Bottomley committed Oct 12, 2007
1 parent 9b30211 commit dcfc6ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: ae002fec6906622aa96d01f8065ef90023660a68
refs/heads/master: 9a256fa50e9a9d6bd03e0d6e8eddce9dca4f15f2
5 changes: 2 additions & 3 deletions trunk/drivers/scsi/advansys.c
Original file line number Diff line number Diff line change
Expand Up @@ -2232,7 +2232,6 @@ do { \
#define ASC_IS_WIDE_BOARD 0x04 /* AdvanSys Wide Board */

#define ASC_NARROW_BOARD(boardp) (((boardp)->flags & ASC_IS_WIDE_BOARD) == 0)
#define ASC_WIDE_BOARD(boardp) ((boardp)->flags & ASC_IS_WIDE_BOARD)

#define NO_ISA_DMA 0xff /* No ISA DMA Channel Used */

Expand Down Expand Up @@ -4385,7 +4384,7 @@ advansys_proc_info(struct Scsi_Host *shost, char *buffer, char **start,
/*
* Display Wide Board BIOS Information.
*/
if (ASC_WIDE_BOARD(boardp)) {
if (!ASC_NARROW_BOARD(boardp)) {
cp = boardp->prtbuf;
cplen = asc_prt_adv_bios(shost, cp, ASC_PRTBUF_SIZE);
BUG_ON(cplen >= ASC_PRTBUF_SIZE);
Expand Down Expand Up @@ -14432,7 +14431,7 @@ static int advansys_release(struct Scsi_Host *shost)
ASC_DBG(1, "advansys_release: free_dma()\n");
free_dma(shost->dma_channel);
}
if (ASC_WIDE_BOARD(boardp)) {
if (!ASC_NARROW_BOARD(boardp)) {
iounmap(boardp->ioremap_addr);
advansys_wide_free_mem(boardp);
}
Expand Down

0 comments on commit dcfc6ed

Please sign in to comment.