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