* devices we need to disable this on. */ static iegd_pci_t disabled_legacy_vga_list[] = { {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_SDVO_TNC, 0, 0, 0}, }; #define MAX_PCI_DEVICE_SUPPORTED \ (sizeof(intel_pci_device_table)/sizeof(intel_pci_device_table[0])) #define MAX_LEGACY_VGA_DISABLE \ (sizeof(disabled_legacy_vga_list)/sizeof(disabled_legacy_vga_list[0])) static dispatch_table_t init_dispatch_table[] = { DISPATCH_PLB(&init_dispatch_plb) DISPATCH_TNC(&init_dispatch_tnc) #ifdef CONFIG_MSRT DISPATCH_TNC_A0(&init_dispatch_tnc_a0) DISPATCH_LNC(&init_dispatch_lnc) #endif DISPATCH_END }; static init_dispatch_t *init_dispatch; /*--------------------------------------------------------------------------- * Optional Init Module Components *--------------------------------------------------------------------------*/
#define TIMING_CHANGED(a,b,c,d,e,f,g) timing_changed(a,b,c,d,e,f,g) #define CALCULATE_ELD_INFOFRAMES #else #define TIMING_CHANGED(a,b,c,d,e,f,g) 1 #endif /* CONFIG_MICRO */ #define MODE_MIN(x, y) (x<y)?x:y /* * NOTE: Do not add comma's to this dispatch table. The macro's * remove the entire entry. */ static dispatch_table_t mode_dispatch[] = { DISPATCH_PLB( &mode_dispatch_plb ) DISPATCH_TNC( &mode_dispatch_tnc ) DISPATCH_END }; /* * Do not malloc the context for two reasons. * 1) vBIOS needs to minimize mallocs * 2) Mode context needs to stay around until after all modules are * shut down for the register restore functionality. */ mode_context_t mode_context[1]; #ifndef CONFIG_MICRO /*!