mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Samuli Suonpaa <suonpaa@iki.fi>
To: Justin A <ja6447@albany.edu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.5.47-ac4 panic on boot.
Date: Sat, 16 Nov 2002 00:02:49 +0200	[thread overview]
Message-ID: <877kfelcdy.fsf@puck.erasmus.jurri.net> (raw)
In-Reply-To: <200211150254.25306.ja6447@albany.edu> (Justin A's message of "Fri, 15 Nov 2002 02:54:25 -0500")

Justin A <ja6447@albany.edu> writes:
> On another note, pcibios_read_config_dword seems to be missing, and
> pcmcia-core wants it. I'll have to see whats up with that
> tomorrow...but at least I got it booting now:)

Osamu Tomita sent following fix a few days ago. No rediffed against
2.5.47-ac4. With this, I was able to get pcmcia_core loading. On the
other hand, I seem to be able to crash my Dell Latitude by removing
and then re-inserting 3c59x -cardbus-adapter. And by trying to reboot
or halt, so I really cannot tell whether this patch _really_ works.
But it definitely did something!-)

Suonpää...

--- linux-2.5.47-ac4/drivers/pcmcia/cistpl.c.orig	2002-11-15 23:29:24.000000000 +0200
+++ linux-2.5.47-ac4/drivers/pcmcia/cistpl.c	2002-11-15 23:31:35.000000000 +0200
@@ -430,7 +430,7 @@
 #ifdef CONFIG_CARDBUS
     if (s->state & SOCKET_CARDBUS) {
 	u_int ptr;
-	pcibios_read_config_dword(s->cap.cb_dev->subordinate->number, 0, 0x28, &ptr);
+	pci_bus_read_config_dword(s->cap.cb_dev->subordinate, 0, 0x28, &ptr);
 	tuple->CISOffset = ptr & ~7;
 	SPACE(tuple->Flags) = (ptr & 7);
     } else


  parent reply	other threads:[~2002-11-15 21:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-15  5:59 Justin A
2002-11-15  6:33 ` Andrew Morton
2002-11-15  7:54   ` Justin A
2002-11-15  8:28     ` Andrew Morton
2002-11-15 22:12       ` Justin A
2002-11-15 22:16         ` Andrew Morton
2002-11-15 22:59           ` Justin A
2002-11-15 22:02     ` Samuli Suonpaa [this message]
2002-11-15 22:36       ` Justin A

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=877kfelcdy.fsf@puck.erasmus.jurri.net \
    --to=suonpaa@iki.fi \
    --cc=ja6447@albany.edu \
    --cc=linux-kernel@vger.kernel.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

Powered by JetHome