* [PATCH] PCI in 2.3.15
@ 1999-08-26 8:27 Mitchell Blank Jr
1999-08-26 11:30 ` Ivan Kokshaysky
0 siblings, 1 reply; 2+ messages in thread
From: Mitchell Blank Jr @ 1999-08-26 8:27 UTC (permalink / raw)
To: axp-list
[-- Attachment #1: Type: text/plain, Size: 1698 bytes --]
As some of you noticed, alpha stopped working (again :-) in 2.3.15pre3
due to the merge of the new PCI code. Here is a half-assed attempt
to fix it:
It does:
* ...compile
* ...work on my SX164
It does not:
* ...switch to the new way of using resource_allocate() to pick I/O and
MEM regions ala i386. I actually spent a couple hours writing
that, and finally gave up and threw the code away. Basically
you have to do a multilevel resource thing with
&ioport_resource ==> hose ==> dev->resource[i]
&iomem_resource ==> hose ==> segment ==> dev->resource[i]
(the segment thing in the iomem is to implement the spaces
for the ISA holes in each 128M segment) Oh yeah, and somehow
make sure the holes don't step on each other. And make sure
this works on all the possible types of alpha. I had a lot
of this figured out, but I didn't see a good way of programming
the bridge in layout_bus() - the tmem/bmem stuff, so I punted.
* ...work on multi-hose machines (probably). I don't understand what
the linked list fixup in layout_one_hose() is trying to accomplish,
so I probably didn't fix it right :-) Someone in the know: please
take a look.
* ...win any beauty contents. There are still many things in bios32.c
that are calls into compat.c which isn't the nicest state of
affairs. Some of them are trivial to fix, some would be a little
more involved. Not a big deal, really.
Anyway I'll let rth decide if there's anything in there worth merging.
If you're itching to play with 2.3.15 on a PCI alpha you might want
to check it out. Of course I'm still not a PCI wizard, so be careful
out there.
-Mitch
[-- Attachment #2: axppci-for-2.3.15.diff.gz --]
[-- Type: application/x-gunzip, Size: 2458 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] PCI in 2.3.15
1999-08-26 8:27 [PATCH] PCI in 2.3.15 Mitchell Blank Jr
@ 1999-08-26 11:30 ` Ivan Kokshaysky
0 siblings, 0 replies; 2+ messages in thread
From: Ivan Kokshaysky @ 1999-08-26 11:30 UTC (permalink / raw)
To: axp-list
On Thu, Aug 26, 1999 at 01:27:54AM -0700, Mitchell Blank Jr wrote:
> As some of you noticed, alpha stopped working (again :-) in 2.3.15pre3
> due to the merge of the new PCI code. Here is a half-assed attempt
> to fix it:
>
Just a small note - you've overlooked one line from my cy82c693 patch:
&& dev->device == PCI_DEVICE_ID_CONTAQ_82C693
+ && dev->devfn < 3
&& idx < 2) {
Without that fn 3 on Cypress (USB controller) won't be setting up,
and its memory region may be overlapped with something else.
Ivan.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1999-08-26 11:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-08-26 8:27 [PATCH] PCI in 2.3.15 Mitchell Blank Jr
1999-08-26 11:30 ` Ivan Kokshaysky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox