diff options
author | Jan Engelhardt <jengelh@gmx.de> | 2007-10-19 17:21:04 -0400 |
---|---|---|
committer | Adrian Bunk <bunk@kernel.org> | 2007-10-19 17:21:04 -0400 |
commit | 96de0e252cedffad61b3cb5e05662c591898e69a (patch) | |
tree | e3eb7d3e65ec27d39e1da13a17f6f0f91b28f5e9 /drivers/isdn/hisax/enternow_pci.c | |
parent | 3f5b98a2a0cba3351f96fcaa6d79aa1a0d93ee78 (diff) |
Convert files to UTF-8 and some cleanups
* Convert files to UTF-8.
* Also correct some people's names
(one example is Eißfeldt, which was found in a source file.
Given that the author used an ß at all in a source file
indicates that the real name has in fact a 'ß' and not an 'ss',
which is commonly used as a substitute for 'ß' when limited to
7bit.)
* Correct town names (Goettingen -> Göttingen)
* Update Eberhard Mönkeberg's address (http://lkml.org/lkml/2007/1/8/313)
Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Diffstat (limited to 'drivers/isdn/hisax/enternow_pci.c')
-rw-r--r-- | drivers/isdn/hisax/enternow_pci.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/isdn/hisax/enternow_pci.c b/drivers/isdn/hisax/enternow_pci.c index b73027ff50e8..39f421ed8de8 100644 --- a/drivers/isdn/hisax/enternow_pci.c +++ b/drivers/isdn/hisax/enternow_pci.c | |||
@@ -75,16 +75,16 @@ | |||
75 | static const char *enternow_pci_rev = "$Revision: 1.1.4.5 $"; | 75 | static const char *enternow_pci_rev = "$Revision: 1.1.4.5 $"; |
76 | 76 | ||
77 | 77 | ||
78 | /* für PowerISDN PCI */ | 78 | /* for PowerISDN PCI */ |
79 | #define TJ_AMD_IRQ 0x20 | 79 | #define TJ_AMD_IRQ 0x20 |
80 | #define TJ_LED1 0x40 | 80 | #define TJ_LED1 0x40 |
81 | #define TJ_LED2 0x80 | 81 | #define TJ_LED2 0x80 |
82 | 82 | ||
83 | 83 | ||
84 | /* Das Fenster zum AMD... | 84 | /* The window to [the] AMD [chip]... |
85 | * Ab Adresse hw.njet.base + TJ_AMD_PORT werden vom AMD jeweils 8 Bit in | 85 | * From address hw.njet.base + TJ_AMD_PORT onwards, the AMD |
86 | * den TigerJet i/o-Raum gemappt | 86 | * maps [consecutive/multiple] 8 bits into the TigerJet I/O space |
87 | * -> 0x01 des AMD bei hw.njet.base + 0C4 */ | 87 | * -> 0x01 of the AMD at hw.njet.base + 0C4 */ |
88 | #define TJ_AMD_PORT 0xC0 | 88 | #define TJ_AMD_PORT 0xC0 |
89 | 89 | ||
90 | 90 | ||
@@ -96,11 +96,11 @@ static const char *enternow_pci_rev = "$Revision: 1.1.4.5 $"; | |||
96 | static unsigned char | 96 | static unsigned char |
97 | ReadByteAmd7930(struct IsdnCardState *cs, unsigned char offset) | 97 | ReadByteAmd7930(struct IsdnCardState *cs, unsigned char offset) |
98 | { | 98 | { |
99 | /* direktes Register */ | 99 | /* direct register */ |
100 | if(offset < 8) | 100 | if(offset < 8) |
101 | return (inb(cs->hw.njet.isac + 4*offset)); | 101 | return (inb(cs->hw.njet.isac + 4*offset)); |
102 | 102 | ||
103 | /* indirektes Register */ | 103 | /* indirect register */ |
104 | else { | 104 | else { |
105 | outb(offset, cs->hw.njet.isac + 4*AMD_CR); | 105 | outb(offset, cs->hw.njet.isac + 4*AMD_CR); |
106 | return(inb(cs->hw.njet.isac + 4*AMD_DR)); | 106 | return(inb(cs->hw.njet.isac + 4*AMD_DR)); |
@@ -111,11 +111,11 @@ ReadByteAmd7930(struct IsdnCardState *cs, unsigned char offset) | |||
111 | static void | 111 | static void |
112 | WriteByteAmd7930(struct IsdnCardState *cs, unsigned char offset, unsigned char value) | 112 | WriteByteAmd7930(struct IsdnCardState *cs, unsigned char offset, unsigned char value) |
113 | { | 113 | { |
114 | /* direktes Register */ | 114 | /* direct register */ |
115 | if(offset < 8) | 115 | if(offset < 8) |
116 | outb(value, cs->hw.njet.isac + 4*offset); | 116 | outb(value, cs->hw.njet.isac + 4*offset); |
117 | 117 | ||
118 | /* indirektes Register */ | 118 | /* indirect register */ |
119 | else { | 119 | else { |
120 | outb(offset, cs->hw.njet.isac + 4*AMD_CR); | 120 | outb(offset, cs->hw.njet.isac + 4*AMD_CR); |
121 | outb(value, cs->hw.njet.isac + 4*AMD_DR); | 121 | outb(value, cs->hw.njet.isac + 4*AMD_DR); |