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

Grant Grundler grundler@dsl2.external.hp.com
Sun, 13 Jan 2002 10:55:38 -0700


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.

> +		res->name = name;
> +	}

the rest of the patch makes sense. good work!

grant