Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Dec 2002 15:45:09 -0800 (PST)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 22744 for review
Message-ID:  <200212252345.gBPNj9AY043300@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=22744

Change 22744 by marcel@marcel_nfs on 2002/12/25 15:44:30

	Remove the hackery that made the Diva multi-port board probe and
	attach. Assume I/O ports again until we have an UART that's
	memory mapped.

Affected files ...

.. //depot/projects/ia64/sys/dev/sio/sio_pci.c#13 edit

Differences ...

==== //depot/projects/ia64/sys/dev/sio/sio_pci.c#13 (text+ko) ====

@@ -79,7 +79,6 @@
 	{ 0x0000151f, "SmartLink 5634PCV SurfRider", 0x10 },
 	{ 0x0103115d, "Xircom Cardbus modem", 0x10 },
 	{ 0x98459710, "Netmos Nm9845 PCI Bridge with Dual UART", 0x10 },
-	{ 0x1048103c, "Diva Serial [GSP] Multiport UART", -0x10 },
 	{ 0x00000000, NULL, 0 }
 };
 
@@ -112,8 +111,8 @@
 	if (id->desc)
 		device_set_desc(dev, id->desc);
 	com = device_get_softc(dev);
-	com->addr_rid = (id->rid >= 0) ? id->rid : -id->rid;
-	com->addr_type = (id->rid >= 0) ? SYS_RES_IOPORT : SYS_RES_MEMORY;
+	com->addr_rid = id->rid;
+	com->addr_type = SYS_RES_IOPORT;
 	com->addr_res = bus_alloc_resource(dev, com->addr_type, &com->addr_rid,
 	    0, ~0, 8, RF_ACTIVE);
 	if (com->addr_res == NULL)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212252345.gBPNj9AY043300>