Date: Wed, 14 Jan 2009 22:46:13 +0000 (UTC) From: Oleksandr Tymoshenko <gonzo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r187252 - head/sys/mips/idt Message-ID: <200901142246.n0EMkDh7056177@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gonzo Date: Wed Jan 14 22:46:13 2009 New Revision: 187252 URL: http://svn.freebsd.org/changeset/base/187252 Log: o Code cleanup, remove unused fields of idtpci_softc Modified: head/sys/mips/idt/idtpci.c Modified: head/sys/mips/idt/idtpci.c ============================================================================== --- head/sys/mips/idt/idtpci.c Wed Jan 14 22:32:43 2009 (r187251) +++ head/sys/mips/idt/idtpci.c Wed Jan 14 22:46:13 2009 (r187252) @@ -125,8 +125,6 @@ struct idtpci_softc { struct rman sc_mem_rman[2]; struct rman sc_io_rman[2]; struct rman sc_irq_rman; - uint32_t sc_mem; - uint32_t sc_io; }; static uint32_t @@ -155,9 +153,6 @@ idtpci_attach(device_t dev) sc->sc_dev = dev; sc->sc_busno = busno; - sc->sc_io = 0; - sc->sc_mem = 0; - /* TODO: Check for host mode */ /* Enabled PCI, IG mode, EAP mode */ @@ -240,7 +235,6 @@ idtpci_attach(device_t dev) } /* Use KSEG1 to access IO ports for it is uncached */ - sc->sc_io = 0; sc->sc_io_rman[0].rm_type = RMAN_ARRAY; sc->sc_io_rman[0].rm_descr = "IDTPCI I/O Ports window 1"; if (rman_init(&sc->sc_io_rman[0]) != 0 || @@ -258,7 +252,6 @@ idtpci_attach(device_t dev) } /* Use KSEG1 to access PCI memory for it is uncached */ - sc->sc_mem = 0; sc->sc_mem_rman[0].rm_type = RMAN_ARRAY; sc->sc_mem_rman[0].rm_descr = "IDTPCI PCI Memory window 1"; if (rman_init(&sc->sc_mem_rman[0]) != 0 ||
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901142246.n0EMkDh7056177>