diff options
Diffstat (limited to 'arch/ppc/8xx_io')
-rw-r--r-- | arch/ppc/8xx_io/commproc.c | 19 | ||||
-rw-r--r-- | arch/ppc/8xx_io/cs4218_tdm.c | 4 | ||||
-rw-r--r-- | arch/ppc/8xx_io/enet.c | 4 | ||||
-rw-r--r-- | arch/ppc/8xx_io/fec.c | 7 |
4 files changed, 16 insertions, 18 deletions
diff --git a/arch/ppc/8xx_io/commproc.c b/arch/ppc/8xx_io/commproc.c index 9b3ace26280c..3b23bcb35b7a 100644 --- a/arch/ppc/8xx_io/commproc.c +++ b/arch/ppc/8xx_io/commproc.c | |||
@@ -47,12 +47,12 @@ cpm8xx_t *cpmp; /* Pointer to comm processor space */ | |||
47 | /* CPM interrupt vector functions. | 47 | /* CPM interrupt vector functions. |
48 | */ | 48 | */ |
49 | struct cpm_action { | 49 | struct cpm_action { |
50 | void (*handler)(void *, struct pt_regs * regs); | 50 | void (*handler)(void *); |
51 | void *dev_id; | 51 | void *dev_id; |
52 | }; | 52 | }; |
53 | static struct cpm_action cpm_vecs[CPMVEC_NR]; | 53 | static struct cpm_action cpm_vecs[CPMVEC_NR]; |
54 | static irqreturn_t cpm_interrupt(int irq, void * dev, struct pt_regs * regs); | 54 | static irqreturn_t cpm_interrupt(int irq, void * dev); |
55 | static irqreturn_t cpm_error_interrupt(int irq, void *dev, struct pt_regs * regs); | 55 | static irqreturn_t cpm_error_interrupt(int irq, void *dev); |
56 | static void alloc_host_memory(void); | 56 | static void alloc_host_memory(void); |
57 | /* Define a table of names to identify CPM interrupt handlers in | 57 | /* Define a table of names to identify CPM interrupt handlers in |
58 | * /proc/interrupts. | 58 | * /proc/interrupts. |
@@ -205,7 +205,7 @@ cpm_interrupt_init(void) | |||
205 | * Get the CPM interrupt vector. | 205 | * Get the CPM interrupt vector. |
206 | */ | 206 | */ |
207 | int | 207 | int |
208 | cpm_get_irq(struct pt_regs *regs) | 208 | cpm_get_irq(void) |
209 | { | 209 | { |
210 | int cpm_vec; | 210 | int cpm_vec; |
211 | 211 | ||
@@ -222,7 +222,7 @@ cpm_get_irq(struct pt_regs *regs) | |||
222 | /* CPM interrupt controller cascade interrupt. | 222 | /* CPM interrupt controller cascade interrupt. |
223 | */ | 223 | */ |
224 | static irqreturn_t | 224 | static irqreturn_t |
225 | cpm_interrupt(int irq, void * dev, struct pt_regs * regs) | 225 | cpm_interrupt(int irq, void * dev) |
226 | { | 226 | { |
227 | /* This interrupt handler never actually gets called. It is | 227 | /* This interrupt handler never actually gets called. It is |
228 | * installed only to unmask the CPM cascade interrupt in the SIU | 228 | * installed only to unmask the CPM cascade interrupt in the SIU |
@@ -237,7 +237,7 @@ cpm_interrupt(int irq, void * dev, struct pt_regs * regs) | |||
237 | * tests in the interrupt handler. | 237 | * tests in the interrupt handler. |
238 | */ | 238 | */ |
239 | static irqreturn_t | 239 | static irqreturn_t |
240 | cpm_error_interrupt(int irq, void *dev, struct pt_regs *regs) | 240 | cpm_error_interrupt(int irq, void *dev) |
241 | { | 241 | { |
242 | return IRQ_HANDLED; | 242 | return IRQ_HANDLED; |
243 | } | 243 | } |
@@ -246,11 +246,11 @@ cpm_error_interrupt(int irq, void *dev, struct pt_regs *regs) | |||
246 | * request_irq() to the handler prototype required by cpm_install_handler(). | 246 | * request_irq() to the handler prototype required by cpm_install_handler(). |
247 | */ | 247 | */ |
248 | static irqreturn_t | 248 | static irqreturn_t |
249 | cpm_handler_helper(int irq, void *dev_id, struct pt_regs *regs) | 249 | cpm_handler_helper(int irq, void *dev_id) |
250 | { | 250 | { |
251 | int cpm_vec = irq - CPM_IRQ_OFFSET; | 251 | int cpm_vec = irq - CPM_IRQ_OFFSET; |
252 | 252 | ||
253 | (*cpm_vecs[cpm_vec].handler)(dev_id, regs); | 253 | (*cpm_vecs[cpm_vec].handler)(dev_id); |
254 | 254 | ||
255 | return IRQ_HANDLED; | 255 | return IRQ_HANDLED; |
256 | } | 256 | } |
@@ -267,8 +267,7 @@ cpm_handler_helper(int irq, void *dev_id, struct pt_regs *regs) | |||
267 | * request_irq() or cpm_install_handler(). | 267 | * request_irq() or cpm_install_handler(). |
268 | */ | 268 | */ |
269 | void | 269 | void |
270 | cpm_install_handler(int cpm_vec, void (*handler)(void *, struct pt_regs *regs), | 270 | cpm_install_handler(int cpm_vec, void (*handler)(void *), void *dev_id) |
271 | void *dev_id) | ||
272 | { | 271 | { |
273 | int err; | 272 | int err; |
274 | 273 | ||
diff --git a/arch/ppc/8xx_io/cs4218_tdm.c b/arch/ppc/8xx_io/cs4218_tdm.c index f5f300fc213d..959d31c26cbb 100644 --- a/arch/ppc/8xx_io/cs4218_tdm.c +++ b/arch/ppc/8xx_io/cs4218_tdm.c | |||
@@ -331,7 +331,7 @@ static int CS_SetFormat(int format); | |||
331 | static int CS_SetVolume(int volume); | 331 | static int CS_SetVolume(int volume); |
332 | static void cs4218_tdm_tx_intr(void *devid); | 332 | static void cs4218_tdm_tx_intr(void *devid); |
333 | static void cs4218_tdm_rx_intr(void *devid); | 333 | static void cs4218_tdm_rx_intr(void *devid); |
334 | static void cs4218_intr(void *devid, struct pt_regs *regs); | 334 | static void cs4218_intr(void *devid); |
335 | static int cs_get_volume(uint reg); | 335 | static int cs_get_volume(uint reg); |
336 | static int cs_volume_setter(int volume, int mute); | 336 | static int cs_volume_setter(int volume, int mute); |
337 | static int cs_get_gain(uint reg); | 337 | static int cs_get_gain(uint reg); |
@@ -2646,7 +2646,7 @@ int __init tdm8xx_sound_init(void) | |||
2646 | * full duplex operation. | 2646 | * full duplex operation. |
2647 | */ | 2647 | */ |
2648 | static void | 2648 | static void |
2649 | cs4218_intr(void *dev_id, struct pt_regs *regs) | 2649 | cs4218_intr(void *dev_id) |
2650 | { | 2650 | { |
2651 | volatile smc_t *sp; | 2651 | volatile smc_t *sp; |
2652 | volatile cpm8xx_t *cp; | 2652 | volatile cpm8xx_t *cp; |
diff --git a/arch/ppc/8xx_io/enet.c b/arch/ppc/8xx_io/enet.c index a695375c3e4c..b23c45bc151a 100644 --- a/arch/ppc/8xx_io/enet.c +++ b/arch/ppc/8xx_io/enet.c | |||
@@ -149,7 +149,7 @@ struct scc_enet_private { | |||
149 | static int scc_enet_open(struct net_device *dev); | 149 | static int scc_enet_open(struct net_device *dev); |
150 | static int scc_enet_start_xmit(struct sk_buff *skb, struct net_device *dev); | 150 | static int scc_enet_start_xmit(struct sk_buff *skb, struct net_device *dev); |
151 | static int scc_enet_rx(struct net_device *dev); | 151 | static int scc_enet_rx(struct net_device *dev); |
152 | static void scc_enet_interrupt(void *dev_id, struct pt_regs *regs); | 152 | static void scc_enet_interrupt(void *dev_id); |
153 | static int scc_enet_close(struct net_device *dev); | 153 | static int scc_enet_close(struct net_device *dev); |
154 | static struct net_device_stats *scc_enet_get_stats(struct net_device *dev); | 154 | static struct net_device_stats *scc_enet_get_stats(struct net_device *dev); |
155 | static void set_multicast_list(struct net_device *dev); | 155 | static void set_multicast_list(struct net_device *dev); |
@@ -305,7 +305,7 @@ scc_enet_timeout(struct net_device *dev) | |||
305 | * This is called from the CPM handler, not the MPC core interrupt. | 305 | * This is called from the CPM handler, not the MPC core interrupt. |
306 | */ | 306 | */ |
307 | static void | 307 | static void |
308 | scc_enet_interrupt(void *dev_id, struct pt_regs *regs) | 308 | scc_enet_interrupt(void *dev_id) |
309 | { | 309 | { |
310 | struct net_device *dev = dev_id; | 310 | struct net_device *dev = dev_id; |
311 | volatile struct scc_enet_private *cep; | 311 | volatile struct scc_enet_private *cep; |
diff --git a/arch/ppc/8xx_io/fec.c b/arch/ppc/8xx_io/fec.c index 8b6295bbb564..2f9fa9e3d331 100644 --- a/arch/ppc/8xx_io/fec.c +++ b/arch/ppc/8xx_io/fec.c | |||
@@ -198,8 +198,7 @@ static int fec_enet_start_xmit(struct sk_buff *skb, struct net_device *dev); | |||
198 | #ifdef CONFIG_USE_MDIO | 198 | #ifdef CONFIG_USE_MDIO |
199 | static void fec_enet_mii(struct net_device *dev); | 199 | static void fec_enet_mii(struct net_device *dev); |
200 | #endif /* CONFIG_USE_MDIO */ | 200 | #endif /* CONFIG_USE_MDIO */ |
201 | static irqreturn_t fec_enet_interrupt(int irq, void * dev_id, | 201 | static irqreturn_t fec_enet_interrupt(int irq, void * dev_id); |
202 | struct pt_regs * regs); | ||
203 | #ifdef CONFIG_FEC_PACKETHOOK | 202 | #ifdef CONFIG_FEC_PACKETHOOK |
204 | static void fec_enet_tx(struct net_device *dev, __u32 regval); | 203 | static void fec_enet_tx(struct net_device *dev, __u32 regval); |
205 | static void fec_enet_rx(struct net_device *dev, __u32 regval); | 204 | static void fec_enet_rx(struct net_device *dev, __u32 regval); |
@@ -472,7 +471,7 @@ fec_timeout(struct net_device *dev) | |||
472 | * This is called from the MPC core interrupt. | 471 | * This is called from the MPC core interrupt. |
473 | */ | 472 | */ |
474 | static irqreturn_t | 473 | static irqreturn_t |
475 | fec_enet_interrupt(int irq, void * dev_id, struct pt_regs * regs) | 474 | fec_enet_interrupt(int irq, void * dev_id) |
476 | { | 475 | { |
477 | struct net_device *dev = dev_id; | 476 | struct net_device *dev = dev_id; |
478 | volatile fec_t *fecp; | 477 | volatile fec_t *fecp; |
@@ -1408,7 +1407,7 @@ static | |||
1408 | #ifdef CONFIG_RPXCLASSIC | 1407 | #ifdef CONFIG_RPXCLASSIC |
1409 | void mii_link_interrupt(void *dev_id) | 1408 | void mii_link_interrupt(void *dev_id) |
1410 | #else | 1409 | #else |
1411 | irqreturn_t mii_link_interrupt(int irq, void * dev_id, struct pt_regs * regs) | 1410 | irqreturn_t mii_link_interrupt(int irq, void * dev_id) |
1412 | #endif | 1411 | #endif |
1413 | { | 1412 | { |
1414 | #ifdef CONFIG_USE_MDIO | 1413 | #ifdef CONFIG_USE_MDIO |