2.4.0-test10-pre4
Buffalo Bill
buffalo at the7lg.de
Tue Oct 24 06:30:18 EST 2000
Hi !
I am new to ppc linux. I tried to get a recent developer kernel from
ppc.samba.org without succes, so i tried to use 2.4.0-test10-pre4.
After some minor changes it worked on my ibook. If anyone is interrested
in the diff, here it is. I hope i did nothing wrong posting this to this
list.
P.s. Who can tell me, where to get specs about the ATI Rage Mobility.
Have a nice day ...
-------------- next part --------------
diff -r -u linux.orig/arch/ppc/kernel/ppc_ksyms.c linux/arch/ppc/kernel/ppc_ksyms.c
--- linux.orig/arch/ppc/kernel/ppc_ksyms.c Sun Sep 17 18:48:07 2000
+++ linux/arch/ppc/kernel/ppc_ksyms.c Mon Oct 23 15:12:58 2000
@@ -222,6 +222,8 @@
#ifdef CONFIG_ADB_PMU
EXPORT_SYMBOL(pmu_request);
EXPORT_SYMBOL(pmu_poll);
+EXPORT_SYMBOL(pmu_resume);
+EXPORT_SYMBOL(pmu_suspend);
#endif /* CONFIG_ADB_PMU */
#ifdef CONFIG_PMAC_PBOOK
EXPORT_SYMBOL(pmu_register_sleep_notifier);
@@ -253,6 +255,7 @@
EXPORT_SYMBOL(feature_clear);
EXPORT_SYMBOL(feature_test);
EXPORT_SYMBOL(feature_set_gmac_power);
+EXPORT_SYMBOL(feature_set_gmac_phy_reset);
EXPORT_SYMBOL(feature_set_usb_power);
EXPORT_SYMBOL(feature_set_firewire_power);
#endif /* defined(CONFIG_ALL_PPC) */
diff -r -u linux.orig/drivers/ide/ide-pmac.c linux/drivers/ide/ide-pmac.c
--- linux.orig/drivers/ide/ide-pmac.c Tue Jun 20 16:52:36 2000
+++ linux/drivers/ide/ide-pmac.c Mon Oct 23 13:12:11 2000
@@ -110,7 +110,7 @@
static void pmac_ide_setup_dma(struct device_node *np, int ix);
static int pmac_ide_dmaproc(ide_dma_action_t func, ide_drive_t *drive);
static int pmac_ide_build_dmatable(ide_drive_t *drive, int ix, int wr);
-static int pmac_ide_tune_chipset(ide_drive_t *drive, byte speed);
static void pmac_ide_tuneproc(ide_drive_t *drive, byte pio);
static void pmac_ide_selectproc(ide_drive_t *drive);
diff -r -u linux.orig/drivers/input/keybdev.c linux/drivers/input/keybdev.c
--- linux.orig/drivers/input/keybdev.c Fri Jul 28 03:36:54 2000
+++ linux/drivers/input/keybdev.c Mon Oct 23 13:12:11 2000
@@ -90,7 +90,7 @@
return 0;
}
-#elif defined(CONFIG_ADB_KEYBOARD)
+#elif defined(CONFIG_ADB)
static unsigned char mac_keycodes[128] =
{ 0, 53, 18, 19, 20, 21, 23, 22, 26, 28, 25, 29, 27, 24, 51, 48,
diff -r -u linux.orig/fs/nfsd/nfsfh.c linux/fs/nfsd/nfsfh.c
--- linux.orig/fs/nfsd/nfsfh.c Mon Oct 23 16:11:41 2000
+++ linux/fs/nfsd/nfsfh.c Mon Oct 23 13:12:11 2000
@@ -379,7 +379,7 @@
/* It's a directory, or we are required to confirm the file's
* location in the tree.
*/
- dprintk("nfs_fh: need to look harder for %d/%ld\n",sb->s_dev,ino);
+ dprintk("nfs_fh: need to look harder for %d/%d\n",sb->s_dev,ino);
down(&sb->s_nfsd_free_path_sem);
/* claiming the semaphore might have allowed things to get fixed up */
diff -r -u linux.orig/include/asm-ppc/pgtable.h linux/include/asm-ppc/pgtable.h
--- linux.orig/include/asm-ppc/pgtable.h Mon Oct 23 16:11:54 2000
+++ linux/include/asm-ppc/pgtable.h Mon Oct 23 13:21:44 2000
@@ -301,6 +301,7 @@
#define SIZEOF_PTR_LOG2 2
#define pte_none(pte) (!pte_val(pte))
+#define pte_same(pte1, pte2) (pte_val(pte1) == pte_val(pte2))
#define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT)
#define pte_clear(ptep) do { pte_val(*(ptep)) = 0; } while (0)
diff -r -u linux.orig/include/linux/time.h linux/include/linux/time.h
--- linux.orig/include/linux/time.h Mon Oct 2 20:01:17 2000
+++ linux/include/linux/time.h Mon Oct 23 13:21:38 2000
@@ -94,6 +94,7 @@
#define NFDBITS __NFDBITS
#ifdef __KERNEL__
+extern int do_sys_settimeofday(struct timeval *tv, struct timezone *tz);
extern void do_gettimeofday(struct timeval *tv);
extern void do_settimeofday(struct timeval *tv);
extern void get_fast_time(struct timeval *tv);
diff -r -u linux.orig/include/linux/usbdevice_fs.h linux/include/linux/usbdevice_fs.h
--- linux.orig/include/linux/usbdevice_fs.h Mon Oct 2 20:02:52 2000
+++ linux/include/linux/usbdevice_fs.h Mon Oct 23 13:24:41 2000
@@ -162,16 +162,16 @@
#define IROOT 1
-/*
- * sigh. rwsemaphores do not (yet) work from modules
- */
-
-#define rw_semaphore semaphore
-#define init_rwsem init_MUTEX
-#define down_read down
-#define down_write down
-#define up_read up
-#define up_write up
struct dev_state {
More information about the Linuxppc-dev
mailing list