isa_common.h (ef544f631226436ef590825881e7a28369df82f6) isa_common.h (132580b5afe793421e1fa57085e8e9c5fa928b86)
1/*-
2 * Copyright (c) 1999 Doug Rabson
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 42 unchanged lines hidden (view full) ---

51 uint32_t id_vendorid; /* pnp vendor id */
52 uint32_t id_serial; /* pnp serial */
53 uint32_t id_logicalid; /* pnp logical device id */
54 uint32_t id_compatid; /* pnp compat device id */
55 struct isa_config_list id_configs; /* pnp config alternatives */
56 isa_config_cb *id_config_cb; /* callback function */
57 void *id_config_arg; /* callback argument */
58 int id_config_attr; /* pnp config attributes */
1/*-
2 * Copyright (c) 1999 Doug Rabson
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 42 unchanged lines hidden (view full) ---

51 uint32_t id_vendorid; /* pnp vendor id */
52 uint32_t id_serial; /* pnp serial */
53 uint32_t id_logicalid; /* pnp logical device id */
54 uint32_t id_compatid; /* pnp compat device id */
55 struct isa_config_list id_configs; /* pnp config alternatives */
56 isa_config_cb *id_config_cb; /* callback function */
57 void *id_config_arg; /* callback argument */
58 int id_config_attr; /* pnp config attributes */
59 int id_pnpbios_handle; /* pnp handle, if any */
60 int id_pnp_csn; /* pnp Card Number */
61 int id_pnp_ldn; /* pnp Logical device on card */
59};
60
61#define DEVTOISA(dev) ((struct isa_device *) device_get_ivars(dev))
62
63/*
64 * These functions are architecture dependant.
65 */
66extern void isa_init(device_t dev);

--- 13 unchanged lines hidden ---
62};
63
64#define DEVTOISA(dev) ((struct isa_device *) device_get_ivars(dev))
65
66/*
67 * These functions are architecture dependant.
68 */
69extern void isa_init(device_t dev);

--- 13 unchanged lines hidden ---