start rewrite of pci_find_classcode

was scanning PCI config space of all valid slot/bus combination when all needed information is already available from the initial scan.
This commit is contained in:
Markus Fröschle
2016-12-05 07:03:16 +00:00
parent 1411589816
commit 21401b69a3
8 changed files with 52 additions and 81 deletions

View File

@@ -286,7 +286,7 @@ static struct fb_var_screeninfo default_fb =
.xres = 1280,
.yres = 1024,
.xres_virtual = 1280,
.yres_virtual = 1024,
.yres_virtual = 1024 * 2, /* ensure we have accel offscreen space */
.bits_per_pixel = 8,
.grayscale = 0,
.red = { .length = 8 },
@@ -364,11 +364,6 @@ void video_init(void)
int32_t id;
bool radeon_found = false;
dbg("\r\n");
/* FIXME: we currently just return here because the PCI configuration of ATI cards does not (yet) work */
//return;
do
{
/*