Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 219848
b: refs/heads/master
c: 8be11ff
h: refs/heads/master
v: v3
  • Loading branch information
Maurice Dawson authored and Greg Kroah-Hartman committed Sep 14, 2010
1 parent 49aa222 commit 9a1601c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 7 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: ff75f96bb0e9d4fc42efb66a6ccb7bf83ecc298f
refs/heads/master: 8be11ffcf59e9bcb5f0a2a2b2e7b43d56c797b98
21 changes: 15 additions & 6 deletions trunk/drivers/staging/comedi/drivers/adl_pci9111.c
Original file line number Diff line number Diff line change
Expand Up @@ -266,19 +266,28 @@ a multiple of chanlist_len*convert_arg.
outb(flags, PCI9111_IO_BASE+PCI9111_REGISTER_8254_CONTROL)

#define pci9111_8254_counter_0_set(data) \
outb(data & 0xFF, PCI9111_IO_BASE+PCI9111_REGISTER_8254_COUNTER_0); \
do { \
outb(data & 0xFF, \
PCI9111_IO_BASE+PCI9111_REGISTER_8254_COUNTER_0); \
outb((data >> 8) & 0xFF, \
PCI9111_IO_BASE+PCI9111_REGISTER_8254_COUNTER_0)
PCI9111_IO_BASE+PCI9111_REGISTER_8254_COUNTER_0); \
} while (0)

#define pci9111_8254_counter_1_set(data) \
outb(data & 0xFF, PCI9111_IO_BASE+PCI9111_REGISTER_8254_COUNTER_1); \
do { \
outb(data & 0xFF, \
PCI9111_IO_BASE+PCI9111_REGISTER_8254_COUNTER_1); \
outb((data >> 8) & 0xFF, \
PCI9111_IO_BASE+PCI9111_REGISTER_8254_COUNTER_1)
PCI9111_IO_BASE+PCI9111_REGISTER_8254_COUNTER_1); \
} while (0)

#define pci9111_8254_counter_2_set(data) \
outb(data & 0xFF, PCI9111_IO_BASE+PCI9111_REGISTER_8254_COUNTER_2); \
do { \
outb(data & 0xFF, \
PCI9111_IO_BASE+PCI9111_REGISTER_8254_COUNTER_2); \
outb((data >> 8) & 0xFF, \
PCI9111_IO_BASE+PCI9111_REGISTER_8254_COUNTER_2)
PCI9111_IO_BASE+PCI9111_REGISTER_8254_COUNTER_2); \
} while (0)

/* Function prototypes */

Expand Down

0 comments on commit 9a1601c

Please sign in to comment.