[parisc-linux-cvs] Make EISA work on CCIO machines (2.4.17-pa8)

Matthew Wilcox willy@debian.org
Sun, 13 Jan 2002 18:04:21 +0000


On Sun, Jan 13, 2002 at 10:55:38AM -0700, Grant Grundler wrote:
> Matthew Wilcox wrote:
> > +static void __init ccio_init_resources(struct ioc *ioc)
> > +{
> > +	struct resource *res = ioc->mmio_region;
> > +	if (ccio_init_resource(res, (unsigned long)&ioc->ioc_hpa->io_io_low)) {
> > +		char *name = kmalloc(17, GFP_KERNEL);
> > +		sprintf(name, "GSC Bus %d Primary", ioc_count);
> 
> Would it be easy to print the HW Path here?
> 
> GSC Bus # doesn't make sense since GSC busses aren't enumerated
> like PCI busses are. Or rather, such enumeration doesn't match what
> PDC and HPUX are doing and thus isn't meaningful.

Well.. they are enumerated on an internal document we've been using :-)
But yes, it's possible to print the hwpath -- How would you like it to
look?

"GSC Bus 8 Primary"
"GSC Bus 8 Secondary"
"GSC Bus 10 Primary"
"GSC Bus 10 Secondary"

> the rest of the patch makes sense. good work!

thanks!  fwiw, the name that's being given to the regions wasn't changed
by this patch, I just changed how we assigned it.

-- 
Revolutions do not require corporate support.