Date: Thu, 6 Mar 2003 15:58:34 -0800 (PST) From: "Justin T. Gibbs" <gibbs@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/aic7xxx aic79xx.c aic79xx.h aic79xx_inline.h aic79xx_pci.c Message-ID: <200303062358.h26NwYGf071222@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
gibbs 2003/03/06 15:58:34 PST FreeBSD src repository Modified files: sys/dev/aic7xxx aic79xx.c aic79xx.h aic79xx_inline.h aic79xx_pci.c Log: aic79xx.c: Include read streaming in the PPR flags we display in diagnostics. In ahd_reset(), set the known mode after our initial pause prior to setting the mode. We can't just set the mode directly because the current mode, after the pause, is most likely unknown and setting the mode when the saved mode is unknown will trigger an assertion in the mode debug code. Complete an audit for SCB RAM reads. These reads must be performed via the special ahd_in?_scbram() methods so we can perform a Rev A. PCI-X workaround. Remove a superfluous mode save operation that was performed just prior to a call to ahd_clear_critical_section(). The saved mode was never restored and wouldn't have been valid anyway since the mode could change while single stepping out of a critical section. aic79xx.h: Add new BUG definition AHD_PCIX_SCBRAM_RD_BUG. aic79xx_inline.h: Update ahd_inb_scbram routine to check for AHD_PCIX_SCBRAM_RD_BUG and only apply the workaround if this bug is active. The old code applied the workaround in all cases. aic79xx_pci.c: Set AHD_PCIX_SCBRAM_RD_BUG for the A4. Remove an attempted saved_modes call in ahd_pci_test_register_access(). Saving the modes can only occur when we are paused, but the call was happening before the chip was known to be paused. Restoring the modes doesn't make sense either since the code makes no assumptions about the state of the sequencer until the first time the mode is set by the driver. This happens after the registers are successfully mapped. Revision Changes Path 1.11 +18 -11 src/sys/dev/aic7xxx/aic79xx.c 1.9 +19 -16 src/sys/dev/aic7xxx/aic79xx.h 1.8 +3 -2 src/sys/dev/aic7xxx/aic79xx_inline.h 1.9 +6 -9 src/sys/dev/aic7xxx/aic79xx_pci.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-src" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303062358.h26NwYGf071222>