From: Paul Marrons <pmarrons@yahoo.co.uk>
To: mj@ucw.cz, linux-kernel@vger.kernel.org
Cc: torvalds@transmeta.com
Subject: Backport of pci cardbus number enumeration from 2.6 to 2.4.29
Date: Thu, 20 Jan 2005 02:56:59 +0000 [thread overview]
Message-ID: <41EF1DFB.6090103@yahoo.co.uk> (raw)
Hi Martin,
To overcome a problem with my laptop cardbus not being assigned the
correct bus number in 2.4.29 (I originally did this change for 2.4.27) I
backported a portion of the code in the 2.6 kernel drivers/pci/pci.c
file. I did this because I noticed that only 2.6 assigned the correct
bus number and I specifically need to run 2.4.X because of a driver I
need that is not 2.6 compatible. Basically without this change on my
laptop (Thinkpad 240) both the main PCI bus and cardbus bridge both get
assigned bus#0 and as a result any cardbus devices present are not
correctly detected and allocated any resources, in addition the
/proc/bus/pci contains two '0' entries and tools such as lspci fail to
work.
I am aware of people overcoming this problem (with my model of laptop)
by setting defining pcibios_assign_all_busses() as 1. But this backport
is a superior solution to the problem.
The few small changes are isolated to pci_add_new_bus and
pci_scan_bridge. I hope you will be able to incorporate them into the
next 2.4 kernel release.
If there is anything else I need to do please let me know.
Regards,
Paul Marrons.
reply other threads:[~2005-01-20 2:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=41EF1DFB.6090103@yahoo.co.uk \
--to=pmarrons@yahoo.co.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=mj@ucw.cz \
--cc=torvalds@transmeta.com \
/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