port = dev->hpa + PARPORT_GSC_OFFSET; 
port = dev->hpa.start + PARPORT_GSC_OFFSET; 
static int __devinit parport_init_chip(struct parisc_device *dev){	struct parport *p;	unsigned long port;	if (!dev->irq) {		printk("IRQ not found for parallel device at 0x%lx\n", dev->hpa);		return -ENODEV;	}	port = dev->hpa + PARPORT_GSC_OFFSET;		/* some older machines with ASP-chip don't support	 * the enhanced parport modes.	 */	if (boot_cpu_data.cpu_type > pcxt && !pdc_add_valid(port+4)) {		/* Initialize bidirectional-mode (0x10) & data-tranfer-mode #1 (0x20) */		printk("%s: initialize bidirectional-mode.\n", __FUNCTION__);		parport_writeb ( (0x10 + 0x20), port + 4);	} else {		printk("%s: enhanced parport-modes not supported.\n", __FUNCTION__);	}		p = parport_gsc_probe_port(port, 0, dev->irq,			/* PARPORT_IRQ_NONE */ PARPORT_DMA_NONE, NULL);	if (p)		parport_count++;	dev->dev.driver_data = p;	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/53f01bba49938f115237fe43a261c31ac13ae5c6/parport_gsc.c/clean/drivers/parport/parport_gsc.c