search for: __pci_cfg_type

Displaying 1 result from an estimated 1 matches for "__pci_cfg_type".

2005 Apr 21
2
ethersel.c32 issues
...tion information from being available. This will also allow ethersel to work under vmware. YMMV. --- ethersel.c 2005-04-21 01:55:22.903371800 -0400 +++ ethersel.c.biosfix 2005-04-21 01:55:59.905746584 -0400 @@ -43,6 +43,8 @@ # define dprintf(...) ((void)0) #endif +extern enum pci_config_type __pci_cfg_type; + struct match { struct match *next; uint32_t did; @@ -64,6 +66,35 @@ return MK_PTR(r.es, r.ebx.w[0]); } +static int +get_bios(void) +{ + static com32sys_t r; + int lastbus = -1; + uint8_t bioscfg; + + r.eax.w[0] = 0xb101; + __intcall(0x1a, &r, &r); + + if (r.eax.b[1] ==...