From: Samuel Rydh <samuel@ibrium.se>
To: linuxppc-dev@lists.linuxppc.org
Cc: benh@kernel.crashing.org
Subject: [PATCH] kauai ATA for G4 windtunnel
Date: Sat, 3 Jan 2004 19:24:44 +0100 [thread overview]
Message-ID: <20040103182444.GA1309@ibrium.se> (raw)
Hi,
The kauai ATA support in the 2.5 linuxppc tree for the G4 windtunnel is currently
broken due to a missing PCI id. The pci_ids.h file defines PCI_DEVICE_ID_APPLE_KAUAI_ATA
to be 0x3b while the actual hardware (in my machine) has id 0x33.
The following patch fixes the problem (although the define should of course be pushed to
pci_ids.h).
===== drivers/ide/ppc/pmac.c 1.25 vs edited =====
--- 1.25/drivers/ide/ppc/pmac.c Mon Sep 1 00:49:53 2003
+++ edited/drivers/ide/ppc/pmac.c Sat Jan 3 18:27:32 2004
@@ -1439,8 +1439,10 @@
.resume = pmac_ide_macio_resume,
};
+#define PCI_DEVICE_ID_APPLE_KAUAI_G4WT_ATA 0x33
static struct pci_device_id pmac_ide_pci_match[] __devinitdata = {
{ PCI_VENDOR_ID_APPLE, PCI_DEVICE_ID_APPLE_KAUAI_ATA, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
+ { PCI_VENDOR_ID_APPLE, PCI_DEVICE_ID_APPLE_KAUAI_G4WT_ATA, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
};
static struct pci_driver pmac_ide_pci_driver = {
/Samuel
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next reply other threads:[~2004-01-03 18:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-03 18:24 Samuel Rydh [this message]
2004-01-03 22:59 ` [PATCH] kauai ATA for G4 windtunnel Benjamin Herrenschmidt
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=20040103182444.GA1309@ibrium.se \
--to=samuel@ibrium.se \
--cc=benh@kernel.crashing.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.