Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 44539
b: refs/heads/master
c: 75c9902
h: refs/heads/master
i:
  44537: 7e39915
  44535: 3b7ce32
v: v3
  • Loading branch information
Jean Delvare authored and Jean Delvare committed Dec 12, 2006
1 parent 7ace776 commit fe7d246
Show file tree
Hide file tree
Showing 2 changed files with 5 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: c7176cb515edbc937006fd05fa391b0d926a337a
refs/heads/master: 75c990291dd7af84ea68f3c3ead934b51d0b81ad
7 changes: 4 additions & 3 deletions trunk/drivers/hwmon/f71805f.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ superio_exit(int base)
* ISA constants
*/

#define REGION_LENGTH 2
#define ADDR_REG_OFFSET 0
#define DATA_REG_OFFSET 1
#define REGION_LENGTH 8
#define ADDR_REG_OFFSET 5
#define DATA_REG_OFFSET 6

/*
* Registers
Expand Down Expand Up @@ -1359,6 +1359,7 @@ static int __init f71805f_find(int sioaddr, unsigned short *address,
"skipping\n");
goto exit;
}
*address &= ~(REGION_LENGTH - 1); /* Ignore 3 LSB */

err = 0;
printk(KERN_INFO DRVNAME ": Found %s chip at %#x, revision %u\n",
Expand Down

0 comments on commit fe7d246

Please sign in to comment.