public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Marco Roeland <marco.roeland@xs4all.nl>
To: linux-kernel@vger.kernel.org
Cc: Alan Cox <alan@redhat.com>
Subject: Re: Linux 2.5.44-ac3
Date: Fri, 25 Oct 2002 14:55:14 +0200	[thread overview]
Message-ID: <20021025125514.GA30278@localhost> (raw)
In-Reply-To: <200210251019.g9PAJ8V14406@devserv.devel.redhat.com>


> Linux 2.5.44-ac2
> o	Rip out lots of the left over pcibios_ stuff	(Greg Kroah-Hartmann)

Since -ac2 there's a pcibios_read_config_dword left in drivers/pcmcia/cist.c
preventing (CardBus) PCMCIA to compile.

The following makes it compile again, whether it _works_ I've absolutely no
idea, lacking amongst others any kernel knowledge or even a cardbus card.
Compiles for me (TM) ;-)

# This is a GNU diff generated patch for the following project:
# Project Name: Linux kernel tree
# -------------------------------------------------------------
 drivers/pcmcia/cistpl.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
# -------------------------------------------------------------
#
--- linux-2.5.44-ac3/drivers/pcmcia/cistpl.c	Tue Oct  8 14:34:46 2002
+++ linux-2.5.44-ac3-fix/drivers/pcmcia/cistpl.c	Fri Oct 25 14:24:07 2002
@@ -429,7 +429,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_read_config_dword(s->cap.cb_dev, 0x28, &ptr);
 	tuple->CISOffset = ptr & ~7;
 	SPACE(tuple->Flags) = (ptr & 7);
     } else

-- 
Marco Roeland

  reply	other threads:[~2002-10-25 12:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-25 10:19 Linux 2.5.44-ac3 Alan Cox
2002-10-25 12:55 ` Marco Roeland [this message]
2002-10-29 22:12   ` Greg KH
2002-10-25 14:38 ` patch: Linux 2.5.44-ac3, i386/config.in typo, "make xconfig" broken Alex Riesen
2002-10-25 14:39 ` Linux 2.5.44-ac3 Jurriaan
2002-10-25 15:34 ` Jason Williams
2002-10-28 15:15 ` Doug Ledford
2002-10-28 16:08   ` Alan Cox
2002-10-28 16:25   ` Alan Cox

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=20021025125514.GA30278@localhost \
    --to=marco.roeland@xs4all.nl \
    --cc=alan@redhat.com \
    --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