port = isapnp_alloc(sizeof(struct pnp_port));
port = kcalloc(1, sizeof(struct pnp_port), GFP_KERNEL);
static void __init isapnp_parse_port_resource(struct pnp_option *option,						int size){	unsigned char tmp[7];	struct pnp_port *port;	isapnp_peek(tmp, size);	port = isapnp_alloc(sizeof(struct pnp_port));	if (!port)		return;	port->min = (tmp[2] << 8) | tmp[1];	port->max = (tmp[4] << 8) | tmp[3];	port->align = tmp[5];	port->size = tmp[6];	port->flags = tmp[0] ? PNP_PORT_FLAG_16BITADDR : 0;	pnp_register_port_resource(option,port);	return;}