Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu

Pull m68knommu fixes from Greg Ungerer:
"Nothing big, only a small collection of minor cleanups/fixes"

* 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu:
arch: m68k: 68360: config: Remove unused function
m68knommu: fix irq handler types in 68360/commproc.c
m68k: remove check for CONFIG_BSEIP

+5 -40
+4 -4
arch/m68k/68360/commproc.c
··· 64 64 65 65 /* CPM interrupt vector functions. */ 66 66 struct cpm_action { 67 - void (*handler)(void *); 68 - void *dev_id; 67 + irq_handler_t handler; 68 + void *dev_id; 69 69 }; 70 70 static struct cpm_action cpm_vecs[CPMVEC_NR]; 71 71 static void cpm_interrupt(int irq, void * dev, struct pt_regs * regs); 72 72 static void cpm_error_interrupt(void *); 73 73 74 74 /* prototypes: */ 75 - void cpm_install_handler(int vec, void (*handler)(), void *dev_id); 75 + void cpm_install_handler(int vec, irq_handler_t handler, void *dev_id); 76 76 void m360_cpm_reset(void); 77 77 78 78 ··· 208 208 /* Install a CPM interrupt handler. 209 209 */ 210 210 void 211 - cpm_install_handler(int vec, void (*handler)(), void *dev_id) 211 + cpm_install_handler(int vec, irq_handler_t handler, void *dev_id) 212 212 { 213 213 214 214 request_irq(vec, handler, 0, "timer", dev_id);
-13
arch/m68k/68360/config.c
··· 106 106 pquicc->timer_tgcr = tgcr_save; 107 107 } 108 108 109 - int BSP_set_clock_mmss(unsigned long nowtime) 110 - { 111 - #if 0 112 - short real_seconds = nowtime % 60, real_minutes = (nowtime / 60) % 60; 113 - 114 - tod->second1 = real_seconds / 10; 115 - tod->second2 = real_seconds % 10; 116 - tod->minute1 = real_minutes / 10; 117 - tod->minute2 = real_minutes % 10; 118 - #endif 119 - return 0; 120 - } 121 - 122 109 void BSP_reset (void) 123 110 { 124 111 local_irq_disable();
+1 -23
arch/m68k/include/asm/commproc.h
··· 480 480 #define SICR_ENET_CLKRT ((uint)0x0000003d) 481 481 #endif 482 482 483 - #ifdef CONFIG_BSEIP 484 - /* This ENET stuff is for the MPC823 with ethernet on SCC2. 485 - * This is unique to the BSE ip-Engine board. 486 - */ 487 - #define PA_ENET_RXD ((ushort)0x0004) 488 - #define PA_ENET_TXD ((ushort)0x0008) 489 - #define PA_ENET_TCLK ((ushort)0x0100) 490 - #define PA_ENET_RCLK ((ushort)0x0200) 491 - #define PB_ENET_TENA ((uint)0x00002000) 492 - #define PC_ENET_CLSN ((ushort)0x0040) 493 - #define PC_ENET_RENA ((ushort)0x0080) 494 - 495 - /* BSE uses port B and C bits for PHY control also. 496 - */ 497 - #define PB_BSE_POWERUP ((uint)0x00000004) 498 - #define PB_BSE_FDXDIS ((uint)0x00008000) 499 - #define PC_BSE_LOOPBACK ((ushort)0x0800) 500 - 501 - #define SICR_ENET_MASK ((uint)0x0000ff00) 502 - #define SICR_ENET_CLKRT ((uint)0x00002c00) 503 - #endif 504 - 505 483 /* SCC Event register as used by Ethernet. 506 484 */ 507 485 #define SCCE_ENET_GRA ((ushort)0x0080) /* Graceful stop complete */ ··· 649 671 /* #define CPMVEC_PIO_PC4 ((ushort)0x01) */ 650 672 /* #define CPMVEC_ERROR ((ushort)0x00) */ 651 673 652 - extern void cpm_install_handler(int vec, void (*handler)(void *), void *dev_id); 674 + extern void cpm_install_handler(int vec, irq_handler_t handler, void *dev_id); 653 675 654 676 /* CPM interrupt configuration vector. 655 677 */