m68k patches for 2.6.23-rc2
Subsystems (5)
Geert Uytterhoeven
maintainercover m68k patches for 2.6.23-rc2
Hi Linus, Andrew,
Here are a few m68k-specific patches for 2.6.23-rc2:
[1] m68k: <asm/page.h> needs <linux/compiler.h>
[2] m68k: Kill superfluous extern
[3] m68k: Remove unnecessary m68k_memoffset export and init
[4] remove dead code in via-pmu68k
[5] m68k: Use _AC() instead of #ifdef __ASSEMBLY__
[6] m68k: Enable arbitary speed tty support
[7] m68k: Don't include RODATA into text segment
[8] m68k: Fix a few hickups in drivers/scsi/Kconfig
[9] zorro: Make sysfs `config' attribute read-only
[10] m68k/mac: Make mac_hid_mouse_emulate_buttons() declaration visible
Please apply, thanks!
Andrew: I know #10 is already in your tree, but as its omission breaks the m68k build for Macs, I'm sending it to Linus directly.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Geert Uytterhoeven
maintainerPATCH 1/10 m68k: <asm/page.h> needs <linux/compiler.h>
m68k: <asm/page.h> needs <linux/compiler.h> because of __attribute_const__
--- include/asm-m68k/page.h | 2 ++ 1 file changed, 2 insertions(+)
include/asm-m68k/page.h +2 -0
@@ -27,6 +27,8 @@#ifndef __ASSEMBLY__ +#include <linux/compiler.h> +#include <asm/module.h> #define get_user_page (vaddr) __get_free_page(GFP_KERNEL)
Signature · 10 lines
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus TorvaldsGeert Uytterhoeven
maintainerPATCH 2/10 m68k: Kill superfluous extern
In reply to Geert UytterhoevenKill a superfluous extern declaration
--- arch/m68k/mm/motorola.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
arch/m68k/mm/motorola.c +1 -5
@@ -210,11 +210,7 @@ void __init paging_init(void)int i;#ifdef DEBUG - { -extern unsigned long availmem; -printk ("start of paging_init (%p, %lx)\n" , - kernel_pg_dir, availmem); - } +printk ("start of paging_init (%p, %lx)\n" , kernel_pg_dir, availmem);#endif /* Fix the cache mode in the page descriptors for the 680[46]0. */
Signature · 10 lines
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus TorvaldsGeert Uytterhoeven
maintainerPATCH 3/10 m68k: Remove unnecessary m68k_memoffset export and init
In reply to Geert UytterhoevenFrom: Roman Zippel <[email protected]>
Remove an unnecessary m68k_memoffset export and initialization
--- arch/m68k/kernel/setup.c | 2 -- 1 file changed, 2 deletions(-)
arch/m68k/kernel/setup.c +0 -2
@@ -62,7 +62,6 @@ EXPORT_SYMBOL(m68k_num_memory);int m68k_realnum_memory;EXPORT_SYMBOL (m68k_realnum_memory);unsigned long m68k_memoffset; -EXPORT_SYMBOL (m68k_memoffset);struct mem_info m68k_memory[NUM_MEMINFO ];EXPORT_SYMBOL (m68k_memory);
@@ -200,7 +199,6 @@ static void __init m68k_parse_bootinfo(c (m68k_num_memory - 1)); m68k_num_memory = 1; } - m68k_memoffset = m68k_memory[0 ].addr-PAGE_OFFSET ;#endif }
Signature · 10 lines
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus TorvaldsGeert Uytterhoeven
maintainerPATCH 4/10 remove dead code in via-pmu68k
In reply to Geert UytterhoevenFrom: Johannes Berg <[email protected]>
When suspend is ever implemented for pmu68k it really should follow the generic pm_ops concept and not mirror the platform-specific /dev/pmu device with ioctls on it. Hence, this patch removes the unused code there; should the implementers need it they can look at via-pmu.c and/or the history of the file.
--- drivers/macintosh/via-pmu68k.c | 240 ----------------------------------------- 1 file changed, 240 deletions(-)
drivers/macintosh/via-pmu68k.c +0 -240
@@ -818,243 +818,3 @@ pmu_present(void) {return (pmu_kind !=PMU_UNKNOWN ); } - -#if 0 /* needs some work for 68K */ - -/* -* This struct is used to store config register values for -* PCI devices which may get powered off when we sleep. -*/ -static struct pci_save { -u16 command; -u16 cache_lat; -u16 intr; -} *pbook_pci_saves; -static int n_pbook_pci_saves; - -static inline void -pbook_pci_save (void ) -{ -int npci; -struct pci_dev *pd =NULL ; -struct pci_save *ps; - - npci =0 ; -while ((pd =pci_get_device (PCI_ANY_ID ,PCI_ANY_ID , pd)) !=NULL ) - ++npci; - n_pbook_pci_saves = npci; -if (npci ==0 ) -return ; - ps =kmalloc (npci *sizeof (*ps),GFP_KERNEL ); - pbook_pci_saves = ps; -if (ps ==NULL ) -return ; - - pd =NULL ; -while ((pd =pci_get_device (PCI_ANY_ID ,PCI_ANY_ID , pd)) !=NULL ) { -pci_read_config_word (pd,PCI_COMMAND , &ps->command); -pci_read_config_word (pd,PCI_CACHE_LINE_SIZE , &ps->cache_lat); -pci_read_config_word (pd,PCI_INTERRUPT_LINE , &ps->intr); - ++ps; - --npci; - } -} - -static inline void -pbook_pci_restore (void ) -{ -u16 cmd; -struct pci_save *ps = pbook_pci_saves; -struct pci_dev *pd =NULL ; -int j; - -while ((pd =pci_get_device (PCI_ANY_ID ,PCI_ANY_ID , pd)) !=NULL ) { -if (ps->command ==0 ) -continue ; -pci_read_config_word (pd,PCI_COMMAND , &cmd); -if ((ps->command & ~cmd) ==0 ) -continue ; -switch (pd->hdr_type) { -case PCI_HEADER_TYPE_NORMAL : -for (j =0 ; j <6 ; ++j) -pci_write_config_dword (pd, -PCI_BASE_ADDRESS_0 + j*4 , - pd->resource[j].start); -pci_write_config_dword (pd,PCI_ROM_ADDRESS , - pd->resource[PCI_ROM_RESOURCE ].start); -pci_write_config_word (pd,PCI_CACHE_LINE_SIZE , - ps->cache_lat); -pci_write_config_word (pd,PCI_INTERRUPT_LINE , - ps->intr); -pci_write_config_word (pd,PCI_COMMAND , ps->command); -break ; -/* other header types not restored at present */ - } - } -} - -/* -* Put the powerbook to sleep. -*/ -#define IRQ_ENABLE ((unsigned int *)0xf3000024) -#define MEM_CTRL ((unsigned int *)0xf8000070) - -int powerbook_sleep (void ) -{ -int ret, i, x; -static int save_backlight; -static unsigned int save_irqen; -unsigned long msr; -unsigned int hid0; -unsigned long p, wait; -struct adb_request sleep_req; - -/* Notify device drivers */ - ret =blocking_notifier_call_chain (&sleep_notifier_list, -PBOOK_SLEEP ,NULL ); -if (ret &NOTIFY_STOP_MASK ) -return -EBUSY ; - -/* Sync the disks. */ -/* XXX It would be nice to have some way to ensure that -* nobody is dirtying any new buffers while we wait. */ -sys_sync (); - -/* Turn off the display backlight */ - save_backlight = backlight_enabled; -if (save_backlight) -pmu_enable_backlight (0 ); - -/* Give the disks a little time to actually finish writing */ -for (wait = jiffies + (HZ /4 );time_before (jiffies, wait); ) -mb (); - -/* Disable all interrupts except pmu */ - save_irqen =in_le32 (IRQ_ENABLE ); -for (i =0 ; i <32 ; ++i) -if (i != vias->intrs[0 ].line && (save_irqen & (1 << i))) -disable_irq (i); - asmvolatile ("mtdec %0" : :"r" (0x7fffffff )); - -/* Save the state of PCI config space for some slots */ -pbook_pci_save (); - -/* Set the memory controller to keep the memory refreshed -while we're asleep */ -for (i =0x403f ; i >=0x4000 ; --i) { -out_be32 (MEM_CTRL , i); -do { - x = (in_be32 (MEM_CTRL ) >>16 ) &0x3ff ; - }while (x ==0 ); -if (x >=0x100 ) -break ; - } - -/* Ask the PMU to put us to sleep */ -pmu_request (&sleep_req,NULL ,5 ,PMU_SLEEP ,'M' ,'A' ,'T' ,'T' ); -while (!sleep_req.complete) -mb (); -/* displacement-flush the L2 cache - necessary? */ -for (p =KERNELBASE ; p <KERNELBASE +0x100000 ; p +=0x1000 ) - i = *(volatile int *)p; - asleep =1 ; - -/* Put the CPU into sleep mode */ - asmvolatile ("mfspr %0,1008" :"=r" (hid0) :); - hid0 = (hid0 & ~(HID0_NAP |HID0_DOZE )) |HID0_SLEEP ; - asmvolatile ("mtspr 1008,%0" : :"r" (hid0)); -local_save_flags (msr); - msr |=MSR_POW |MSR_EE ; -local_irq_restore (msr); -udelay (10 ); - -/* OK, we're awake again, start restoring things */ -out_be32 (MEM_CTRL ,0x3f ); -pbook_pci_restore (); - -/* wait for the PMU interrupt sequence to complete */ -while (asleep) -mb (); - -/* reenable interrupts */ -for (i =0 ; i <32 ; ++i) -if (i != vias->intrs[0 ].line && (save_irqen & (1 << i))) -enable_irq (i); - -/* Notify drivers */ -blocking_notifier_call_chain (&sleep_notifier_list,PBOOK_WAKE ,NULL ); - -/* reenable ADB autopoll */ -pmu_adb_autopoll (adb_dev_map); - -/* Turn on the screen backlight, if it was on before */ -if (save_backlight) -pmu_enable_backlight (1 ); - -/* Wait for the hard disk to spin up */ - -return 0 ; -} - -/* -* Support for /dev/pmu device -*/ -static int pmu_open (struct inode *inode,struct file *file) -{ -return 0 ; -} - -static ssize_t pmu_read (struct file *file,char *buf, -size_t count,loff_t *ppos) -{ -return 0 ; -} - -static ssize_t pmu_write (struct file *file,const char *buf, -size_t count,loff_t *ppos) -{ -return 0 ; -} - -static int pmu_ioctl (struct inode * inode,struct file *filp, -u_int cmd,u_long arg) -{ -int error; -__u32 value; - -switch (cmd) { -case PMU_IOC_SLEEP : -return -ENOSYS ; -case PMU_IOC_GET_BACKLIGHT : -return put_user (backlight_level, (__u32 *)arg); -case PMU_IOC_SET_BACKLIGHT : - error =get_user (value, (__u32 *)arg); -if (!error) -pmu_set_brightness (value); -return error; -case PMU_IOC_GET_MODEL : -return put_user (pmu_kind, (__u32 *)arg); - } -return -EINVAL ; -} - -static const struct file_operations pmu_device_fops = { - .read = pmu_read, - .write = pmu_write, - .ioctl = pmu_ioctl, - .open = pmu_open, -}; - -static struct miscdevice pmu_device = { -PMU_MINOR ,"pmu" , &pmu_device_fops -}; - -void pmu_device_init (void ) -{ -if (!via) -return ; -if (misc_register (&pmu_device) <0 ) -printk (KERN_ERR "via-pmu68k: cannot register misc device.\n" ); -} -#endif /* CONFIG_PMAC_PBOOK */ -
Signature · 10 lines
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus TorvaldsGeert Uytterhoeven
maintainerPATCH 5/10 m68k: Use _AC() instead of #ifdef __ASSEMBLY__
In reply to Geert Uytterhoevenm68k: Use _AC() instead of #ifdef __ASSEMBLY__ hackery when needed, remove hackery when unused.
--- include/asm-m68k/page.h | 8 +++----- include/asm-m68k/processor.h | 4 ---- 2 files changed, 3 insertions(+), 9 deletions(-)
include/asm-m68k/page.h +3 -5
@@ -4,17 +4,15 @@#ifdef __KERNEL__ +#include <linux/const.h> +/* PAGE_SHIFT determines the page size */ #ifndef CONFIG_SUN3 #define PAGE_SHIFT (12)#else #define PAGE_SHIFT (13)#endif -#ifdef __ASSEMBLY__ -#define PAGE_SIZE (1 << PAGE_SHIFT) -#else -#define PAGE_SIZE (1UL << PAGE_SHIFT) -#endif +#define PAGE_SIZE (_AC(1, UL) << PAGE_SHIFT)#define PAGE_MASK (~(PAGE_SIZE-1))#include <asm/setup.h>
include/asm-m68k/processor.h +0 -4
@@ -38,12 +38,8 @@ static inline void wrusp(unsigned long u#ifndef CONFIG_SUN3 #define TASK_SIZE (0xF0000000UL)#else -#ifdef __ASSEMBLY__ -#define TASK_SIZE (0x0E000000) -#else #define TASK_SIZE (0x0E000000UL)#endif -#endif /* This decides where the kernel will search for a free chunk of vm * space during mmap's.
Signature · 10 lines
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus TorvaldsGeert Uytterhoeven
maintainerPATCH 6/10 m68k: Enable arbitary speed tty support
In reply to Geert UytterhoevenFrom: Alan Cox <[email protected]>
Add the needed constants and defines to activate the existing code.
--- include/asm-m68k/ioctls.h | 4 ++++ include/asm-m68k/termbits.h | 5 ++++- include/asm-m68k/termios.h | 6 ++++-- 3 files changed, 12 insertions(+), 3 deletions(-)
include/asm-m68k/ioctls.h +4 -0
@@ -46,6 +46,10 @@#define TIOCSBRK 0x5427/* BSD compatibility */ #define TIOCCBRK 0x5428/* BSD compatibility */ #define TIOCGSID 0x5429/* Return the session ID of FD */ +#define TCGETS2 _IOR('T',0x2A, struct termios2) +#define TCSETS2 _IOW('T',0x2B, struct termios2) +#define TCSETSW2 _IOW('T',0x2C, struct termios2) +#define TCSETSF2 _IOW('T',0x2D, struct termios2)#define TIOCGPTN _IOR('T',0x30, unsigned int)/* Get Pty Number (of pty-mux device) */ #define TIOCSPTLCK _IOW('T',0x31, int)/* Lock/unlock Pty */
include/asm-m68k/termbits.h +4 -1
@@ -141,6 +141,7 @@ struct ktermios {#define HUPCL 0002000#define CLOCAL 0004000#define CBAUDEX 0010000 +#define BOTHER 0010000#define B57600 0010001#define B115200 0010002#define B230400 0010003
@@ -156,10 +157,12 @@ struct ktermios {#define B3000000 0010015#define B3500000 0010016#define B4000000 0010017 -#define CIBAUD 002003600000/* input baud rate (not used) */ +#define CIBAUD 002003600000/* input baud rate */ #define CMSPAR 010000000000/* mark or space (stick) parity */ #define CRTSCTS 020000000000/* flow control */ +#define IBSHIFT 16/* Shift from CBAUD to CIBAUD */ +/* c_lflag bits */ #define ISIG 0000001#define ICANON 0000002
include/asm-m68k/termios.h +4 -2
@@ -82,8 +82,10 @@ struct termio {copy_to_user ((termio)->c_cc, (termios)->c_cc,NCC ); \ }) -#define user_termios_to_kernel_termios (k, u) copy_from_user(k, u, sizeof(struct termios)) -#define kernel_termios_to_user_termios (u, k) copy_to_user(u, k, sizeof(struct termios)) +#define user_termios_to_kernel_termios (k, u) copy_from_user(k, u, sizeof(struct termios2)) +#define kernel_termios_to_user_termios (u, k) copy_to_user(u, k, sizeof(struct termios2)) +#define user_termios_to_kernel_termios_1 (k, u) copy_from_user(k, u, sizeof(struct termios)) +#define kernel_termios_to_user_termios_1 (u, k) copy_to_user(u, k, sizeof(struct termios))#endif /* __KERNEL__ */
Signature · 10 lines
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus TorvaldsGeert Uytterhoeven
maintainerPATCH 7/10 m68k: Dont include RODATA into text segment
In reply to Geert UytterhoevenFrom: Roman Zippel <[email protected]>
Don't include RODATA into text segment as it includes the kallsyms data and can cause spurious link failures (layout differences can change the number of symbols in kallsyms, i.e. when a symbol is equal to _etext it's not included).
--- arch/m68k/kernel/vmlinux-std.lds | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/m68k/kernel/vmlinux-std.lds +2 -2
@@ -19,6 +19,8 @@ SECTIONS *(.gnu.warning) } :text = 0x4e75 + _etext = .; /* End of text section */ + . = ALIGN(16); /* Exception table */ __start___ex_table = .; __ex_table : { *(__ex_table) }
@@ -26,8 +28,6 @@ SECTIONS RODATA - _etext = .; /* End of text section */ - .data : { /* Data */ DATA_DATA CONSTRUCTORS
Signature · 10 lines
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus TorvaldsGeert Uytterhoeven
maintainerPATCH 8/10 m68k: Fix a few hickups in drivers/scsi/Kconfig
In reply to Geert Uytterhoevenm68k: Fix a few hickups in drivers/scsi/Kconfig
--- drivers/scsi/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/scsi/Kconfig +2 -2
@@ -1561,7 +1561,7 @@ config A3000_SCSI built-in SCSI controller, say Y. Otherwise, say N. To compile this driver as a module, choose M here: the - module will be called wd33c93. + module will be called a3000. config A2091_SCSI tristate "A2091/A590 WD33C93A support"
@@ -1571,7 +1571,7 @@ config A2091_SCSI say N. To compile this driver as a module, choose M here: the - module will be called wd33c93. + module will be called a2091. config GVP11_SCSI tristate "GVP Series II WD33C93A support"
Signature · 10 lines
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus TorvaldsGeert Uytterhoeven
maintainerPATCH 9/10 zorro: Make sysfs `config attribute read-only
In reply to Geert Uytterhoevenzorro: Make the sysfs `config' attribute read-only, as you cannot write to it (there's no .write function neither).
--- drivers/zorro/zorro-sysfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/zorro/zorro-sysfs.c +1 -1
@@ -78,7 +78,7 @@ static ssize_t zorro_read_config(structstatic struct bin_attribute zorro_config_attr = { .attr = { .name ="config" , - .mode =S_IRUGO |S_IWUSR , + .mode =S_IRUGO , }, .size =sizeof (struct ConfigDev ), .read = zorro_read_config,
Signature · 10 lines
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus TorvaldsGeert Uytterhoeven
maintainerPATCH 10/10 m68k/mac: Make mac_hid_mouse_emulate_buttons() declaration visible
In reply to Geert UytterhoevenFrom: Geert Uytterhoeven <[email protected]>
m68k/mac: Make mac_hid_mouse_emulate_buttons() declaration visible
drivers/char/keyboard.c: In function 'kbd_keycode':drivers/char/keyboard.c:1142: error: implicit declaration of function 'mac_hid_mouse_emulate_buttons'
The forward declaration of mac_hid_mouse_emulate_buttons() is not visible on m68k because it's hidden in the middle of a big #ifdef block.
Move it to <linux/kbd_kern.h>, correct the type of the second parameter, and include <linux/kbd_kern.h> where needed.
--- drivers/char/keyboard.c | 4 ---- drivers/macintosh/mac_hid.c | 1 + include/linux/kbd_kern.h | 3 +++ 3 files changed, 4 insertions(+), 4 deletions(-)
drivers/char/keyboard.c +0 -4
@@ -1022,10 +1022,6 @@ static const unsigned short x86_keycodes308 ,310 ,313 ,314 ,315 ,317 ,318 ,319 ,320 ,357 ,322 ,323 ,324 ,325 ,276 ,330 , 332,340,365,342,343,344,345,346,356,270,341,368,369,370,371,372 }; -#ifdef CONFIG_MAC_EMUMOUSEBTN -extern int mac_hid_mouse_emulate_buttons (int ,int ,int ); -#endif /* CONFIG_MAC_EMUMOUSEBTN */ -#ifdef CONFIG_SPARC static int sparc_l1_a_state =0 ;extern void sun_do_break (void );
drivers/macintosh/mac_hid.c +1 -0
@@ -13,6 +13,7 @@#include <linux/sysctl.h> #include <linux/input.h> #include <linux/module.h> +#include <linux/kbd_kern.h> static struct input_dev *emumousebtn;
include/linux/kbd_kern.h +3 -0
@@ -161,4 +161,7 @@ static inline void con_schedule_flip(str schedule_delayed_work(&t->buf.work, 0); } +/* mac_hid.c */ +extern int mac_hid_mouse_emulate_buttons (int ,unsigned int ,int ); +#endif
Signature · 10 lines
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus TorvaldsRe: [patch 10/10] m68k/mac: Make mac_hid_mouse_emulate_buttons() declaration visible
Quoted 3 lines
From: Geert Uytterhoeven <[email protected]>
m68k/mac: Make
mac_hid_mouse_emulate_buttons()declaration visible
With buttons emulation being available via uinput event devices, do we still need the kernel mouse button emulation? At least on powerpc, it was declared deprecated long ago ...
Anyone using mouseemu on m68k Mac?
Michael
Re: [patch 10/10] m68k/mac: Make mac_hid_mouse_emulate_buttons() declaration visible
Quoted 9 lines · Michael Schmitz
Quoted 3 lines
From: Geert Uytterhoeven <[email protected]>
m68k/mac: Make
mac_hid_mouse_emulate_buttons()declaration visibleWith buttons emulation being available via uinput event devices, do we still need the kernel mouse button emulation? At least on powerpc, it was declared deprecated long ago ...
Anyone using mouseemu on m68k Mac?
Yes, and on powermac too. It provides the paste key for gpm and I'm quite fond of it. But if there's a better alternative, I'll happily try it instead.
-f
Quoted 7 lines
Michael
-
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [patch 10/10] m68k/mac: Make mac_hid_mouse_emulate_buttons() declaration visible
Quoted 5 lines
Quoted 1 line
Anyone using mouseemu on m68k Mac?
Yes, and on powermac too. It provides the paste key for gpm and I'm quite fond of it. But if there's a better alternative, I'll happily try it instead.
Too much overhead on m68k? On powermac it never gave me trouble, but I was surprised to hear people use it on m68k.
If it works OK, we can really drop the kernel support.
Michael
Geert Uytterhoeven
maintainerRe: [patch 10/10] m68k/mac: Make mac_hid_mouse_emulate_buttons() declaration visible
Quoted 10 lines · Michael Schmitz
Quoted 5 lines
Quoted 1 line
Anyone using mouseemu on m68k Mac?
Yes, and on powermac too. It provides the paste key for gpm and I'm quite fond of it. But if there's a better alternative, I'll happily try it instead.
Too much overhead on m68k? On powermac it never gave me trouble, but I was surprised to hear people use it on m68k.
If it works OK, we can really drop the kernel support.
If it can be removed completely, for PowerMac, Mac/m68k, and IntelliMac (or whatever it's called), fine for me! Please coordinate with the other Mac people.
But for now, Linus, please apply, as the missing prototype causes a broken Mac/m68k build.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds