common/dev_c3600_bay.h
raw| 1 | /* |
| 2 | * Cisco 3600 simulation platform. |
| 3 | * Copyright (c) 2005,2006 Christophe Fillot ([email protected]) |
| 4 | * |
| 5 | * Network Module helper. |
| 6 | */ |
| 7 | |
| 8 | #ifndef __DEV_C3600_BAY_H__ |
| 9 | #define __DEV_C3600_BAY_H__ |
| 10 | |
| 11 | #include "pci_dev.h" |
| 12 | #include "dev_c3600.h" |
| 13 | |
| 14 | /* NM Information */ |
| 15 | struct nm_bay_info { |
| 16 | int pci_bridge_device; |
| 17 | int pci_device; |
| 18 | }; |
| 19 | |
| 20 | /* Get a NM bay information */ |
| 21 | struct nm_bay_info *c3600_nm_get_bay_info(u_int chassis,u_int nm_bay); |
| 22 | |
| 23 | #endif |