From: Lei Xia Date: Fri, 11 Nov 2011 17:04:39 +0000 (-0600) Subject: change RTL8139's PCI default IO base port to -1 X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=commitdiff_plain;h=6d9bc1787b5e409bb37a40f09c16cd8e66934491 change RTL8139's PCI default IO base port to -1 --- diff --git a/palacios/src/devices/rtl8139.c b/palacios/src/devices/rtl8139.c index 176d053..33a5cfa 100644 --- a/palacios/src/devices/rtl8139.c +++ b/palacios/src/devices/rtl8139.c @@ -1713,7 +1713,7 @@ static int register_dev(struct rtl8139_state * nic_state) { } bars[0].type = PCI_BAR_IO; - bars[0].default_base_port = 0xc100; + bars[0].default_base_port = -1; bars[0].num_ports = 0x100; bars[0].io_read = rtl8139_ioport_read;