From: Richard Hirst <rhirst@levanta.com>
To: parisc-linux@lists.parisc-linux.org
Subject: Re: [parisc-linux] 2.6.13-rc3-pa0 booted to login prompt on B180
Date: Wed, 27 Jul 2005 22:25:06 +0100 [thread overview]
Message-ID: <20050727212506.GJ5500@levanta.com> (raw)
In-Reply-To: <20050727203951.GI5500@levanta.com>
[-- Attachment #1: Type: text/plain, Size: 580 bytes --]
On Wed, Jul 27, 2005 at 09:39:51PM +0100, Richard Hirst wrote:
> On Tue, Jul 26, 2005 at 11:52:46PM +0100, Richard Hirst wrote:
> > Patch attached; it boots to a login prompt but
> >
> > a) keyboard is dead
> > b) serial port is dead
>
> Those problems are caused by the gsc.c part of the patch, which is
Patch attached, which I think is the correct fix. There are many
next_device() functions in the tree; we needed one that used
knode_parent, not knode_driver.
Still looks to me like drivers/parisc/sba_iommu.c needs this fix
too, but I've not actually tried it.
Richard
[-- Attachment #2: gsc.patch --]
[-- Type: text/plain, Size: 748 bytes --]
Index: drivers/parisc/gsc.c
===================================================================
RCS file: /var/cvs/linux-2.6/drivers/parisc/gsc.c,v
retrieving revision 1.22
diff -d -u -r1.22 gsc.c
--- drivers/parisc/gsc.c 27 Jul 2005 00:31:04 -0000 1.22
+++ drivers/parisc/gsc.c 27 Jul 2005 21:18:04 -0000
@@ -183,10 +183,15 @@
*irqp = irq;
}
+static struct device* next_device(struct klist_iter *i)
+{
+ struct klist_node * n = klist_next(i);
+ return n ? container_of(n, struct device, knode_parent) : NULL;
+}
+
void gsc_fixup_irqs(struct parisc_device *parent, void *ctrl,
void (*choose_irq)(struct parisc_device *, void *))
{
- extern struct device *next_device(struct klist_iter *i);
struct device *dev;
struct klist_iter i;
[-- Attachment #3: Type: text/plain, Size: 169 bytes --]
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
prev parent reply other threads:[~2005-07-27 21:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-26 22:52 [parisc-linux] 2.6.13-rc3-pa0 booted to login prompt on B180 Richard Hirst
[not found] ` <20050727203951.GI5500@levanta.com>
2005-07-27 21:25 ` Richard Hirst [this message]
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=20050727212506.GJ5500@levanta.com \
--to=rhirst@levanta.com \
--cc=parisc-linux@lists.parisc-linux.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.