From: Olaf Hering <olh@suse.de>
To: linuxppc-dev@lists.linuxppc.org
Subject: ThinkPad 850 Patches for 2.2.16
Date: Tue, 24 Oct 2000 20:03:39 +0200 [thread overview]
Message-ID: <20001024200338.A908@suse.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 628 bytes --]
Hi,
Linar Yusupov did some patches for the Thinkpad 850 to make sound work
on these machines. It fixes also some typos for /proc/cpuinfo.
I'm not sure if the CAROLINA_IRQ_EDGE_MASK_HI change breaks anything else.
The sound stuff should be moved out of arch/ppc into the driver cs4232, you
can't have it as a module right now. xmms works fine, but I have many
dropouts. Any ideas how to finetune that?
That sound-patch will proably break the other PReP machines, I will test
it on the 43p 133 later. We need proably a _PREP_IBM_portable or so.
Gruss Olaf
--
$ man clone
BUGS
Main feature not yet implemented...
[-- Attachment #2: tp850.2.2.16.SuSE.dif --]
[-- Type: text/plain, Size: 1805 bytes --]
diff -urN linux-2.2.16.SuSE.orig/arch/ppc/kernel/prep_pci.c linux-2.2.16.SuSE/arch/ppc/kernel/prep_pci.c
--- linux-2.2.16.SuSE.orig/arch/ppc/kernel/prep_pci.c Fri Oct 21 08:01:53 1994
+++ linux-2.2.16.SuSE/arch/ppc/kernel/prep_pci.c Tue Oct 25 11:29:08 1994
@@ -560,7 +560,7 @@
* to either edge or level.
*/
#define CAROLINA_IRQ_EDGE_MASK_LO 0x00 /* IRQ's 0-7 */
-#define CAROLINA_IRQ_EDGE_MASK_HI 0xA4 /* IRQ's 8-15 [10,13,15] */
+#define CAROLINA_IRQ_EDGE_MASK_HI 0xA0 /* IRQ's 8-15 [10,13,15] */
/*
* 8259 edge/level control definitions
@@ -932,7 +932,7 @@
switch(inb(0x0852))
{
case 0xff:
- Motherboard_map_name = "IBM 850/860 Portable\n";
+ Motherboard_map_name = "IBM 850/860 Portable";
Motherboard_map = Nobis_pci_IRQ_map;
Motherboard_routes = Nobis_pci_IRQ_routes;
break;
diff -urN linux-2.2.16.SuSE.orig/arch/ppc/kernel/prep_setup.c linux-2.2.16.SuSE/arch/ppc/kernel/prep_setup.c
--- linux-2.2.16.SuSE.orig/arch/ppc/kernel/prep_setup.c Fri Oct 21 08:01:53 1994
+++ linux-2.2.16.SuSE/arch/ppc/kernel/prep_setup.c Tue Oct 25 11:39:47 1994
@@ -140,7 +140,7 @@
}
len += sprintf(buffer+len,"%sKb,",
(((*(unsigned char *)0x8000080d)>>2)&1)?"512":"256");
- len += sprintf(buffer+len,"%sync\n",
+ len += sprintf(buffer+len,"%ssync\n",
((*(unsigned char *)0x8000080d)>>7) ? "":"a");
break;
case _PREP_Motorola:
@@ -329,9 +329,9 @@
}
if ( _prep_type == _PREP_IBM )
{
- snd_ptr->config.io_base = 0x530;
- snd_ptr->config.irq = 5;
- snd_ptr->config.dma = ppc_cs4232_dma = 1;
+ snd_ptr->config.io_base = 0x830;
+ snd_ptr->config.irq = 10;
+ snd_ptr->config.dma = ppc_cs4232_dma = 6;
/* this is wrong - but leave it for now */
snd_ptr->config.dma2 = ppc_cs4232_dma2 = 7;
}
next reply other threads:[~2000-10-24 18:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-10-24 18:03 Olaf Hering [this message]
2000-10-24 19:22 ` ThinkPad 850 Patches for 2.2.16 Benjamin Herrenschmidt
2000-10-24 19:29 ` Olaf Hering
2000-10-24 20:12 ` Hollis R Blanchard
2000-10-25 23:37 ` Olaf Hering
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20001024200338.A908@suse.de \
--to=olh@suse.de \
--cc=linuxppc-dev@lists.linuxppc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).