cvs commit: src/sys/dev/pci pci.c

2008-08-23 Thread Warner Losh
imp 2008-08-23 07:23:52 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: SVN rev 182033 on 2008-08-23 07:23:52Z by imp Cope with errors from device_get_children(). These errors can happen only in low memory situations, so the error fork of th

cvs commit: src/sys/dev/pci pci.c

2008-08-23 Thread Warner Losh
imp 2008-08-23 07:18:30 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: SVN rev 182032 on 2008-08-23 07:18:30Z by imp Cosmetic nit. Revision ChangesPath 1.362 +0 -2 src/sys/dev/pci/pci.c

cvs commit: src/sys/dev/pci pci.c pci_pci.c pcivar.h

2008-08-22 Thread Max Laier
mlaier 2008-08-23 03:43:38 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/dev/pci pci.c pci_pci.c pcivar.h Log: SVN rev 182030 on 2008-08-23 03:43:38Z by mlaier MFC r180753 by luoqi@: Only enable MSI mappings for devices that use MSI.

cvs commit: src/sys/dev/pci pci.c pci_pci.c pcivar.h

2008-08-22 Thread Max Laier
mlaier 2008-08-23 03:40:49 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/dev/pci pci.c pci_pci.c pcivar.h Log: SVN rev 182029 on 2008-08-23 03:40:49Z by mlaier MFC r180753 by luoqi@: Only enable MSI mappings for devices that use MSI.

cvs commit: src/sys/dev/pci pci.c

2008-08-15 Thread John Baldwin
jhb 2008-08-15 20:17:08 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/dev/pci pci.c Log: SVN rev 181772 on 2008-08-15 20:17:08Z by jhb MFC: If the kernel fails to allocate resources for the initial value of a PCI BAR, then zero the B

cvs commit: src/sys/dev/pci pci.c

2008-08-15 Thread John Baldwin
jhb 2008-08-15 20:16:21 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/dev/pci pci.c Log: SVN rev 181771 on 2008-08-15 20:16:21Z by jhb MFC: If the kernel fails to allocate resources for the initial value of a PCI BAR, then zero the B

cvs commit: src/sys/dev/pci pci.c

2008-08-08 Thread Warner Losh
imp 2008-08-09 03:54:12 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: SVN rev 181452 on 2008-08-09 03:54:12Z by imp Change -1 to 0xul since the interface returns uint32_t. Revision ChangesPath 1.361 +1 -1 src/sys/

cvs commit: src/sys/dev/pci pci.c

2008-08-05 Thread John Baldwin
jhb 2008-08-05 21:04:00 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: SVN rev 181336 on 2008-08-05 21:04:00Z by jhb Remove the second check for a 64-bit BAR value on a 32-bit system in pci_add_map(). First, this condition is already handle

cvs commit: src/sys/dev/pci pci.c

2008-08-05 Thread John Baldwin
jhb 2008-08-05 18:24:41 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: SVN rev 181333 on 2008-08-05 18:24:41Z by jhb If the kernel fails to allocate resources for the initial value of a BAR for a PCI device during the boot-time probe of the

Re: cvs commit: src/sys/dev/pci pci.c pci_pci.c pcivar.h

2008-07-25 Thread Max Laier
On Thursday 24 July 2008 17:23:59 Max Laier wrote: > On Wednesday 23 July 2008 11:44:36 Luoqi Chen wrote: > > luoqi 2008-07-23 09:44:36 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/dev/pci pci.c pci_pci.c pcivar.h > > Log: > > SVN rev 180753 on 2008-

Re: cvs commit: src/sys/dev/pci pci.c pci_pci.c pcivar.h

2008-07-24 Thread Max Laier
On Wednesday 23 July 2008 11:44:36 Luoqi Chen wrote: > luoqi 2008-07-23 09:44:36 UTC > > FreeBSD src repository > > Modified files: > sys/dev/pci pci.c pci_pci.c pcivar.h > Log: > SVN rev 180753 on 2008-07-23 09:44:36Z by luoqi > > SATA device on some nForce based board

cvs commit: src/sys/dev/pci pci.c pci_pci.c pcivar.h

2008-07-23 Thread Luoqi Chen
luoqi 2008-07-23 09:44:36 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c pci_pci.c pcivar.h Log: SVN rev 180753 on 2008-07-23 09:44:36Z by luoqi SATA device on some nForce based boards could get confused if MSI is not used but MSI to HyperTransport

cvs commit: src/sys/dev/pci pci.c

2008-02-12 Thread John Baldwin
jhb 2008-02-12 20:21:35 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/dev/pci pci.c Log: MFC: Relax the check for a PCI-express chipset. RevisionChangesPath 1.292.2.25 +2 -5 src/sys/dev/pci/pci.c ___

cvs commit: src/sys/dev/pci pci.c

2008-02-12 Thread John Baldwin
jhb 2008-02-12 20:20:56 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/dev/pci pci.c Log: MFC: Relax the check for a PCI-express chipset. Revision ChangesPath 1.355.2.2 +2 -5 src/sys/dev/pci/pci.c _

Re: cvs commit: src/sys/dev/pci pci.c

2008-02-04 Thread John Baldwin
On Monday 04 February 2008 10:34:09 am Scott Long wrote: > John Baldwin wrote: > > On Friday 01 February 2008 09:18:38 pm Scott Long wrote: > >> John Baldwin wrote: > >>> jhb 2008-02-01 20:31:09 UTC > >>> > >>> FreeBSD src repository > >>> > >>> Modified files: > >>> sys/dev/pci

Re: cvs commit: src/sys/dev/pci pci.c

2008-02-04 Thread John E Hein
John Baldwin wrote at 09:44 -0500 on Feb 4, 2008: > We can blacklist those bridges just like we blacklist the AMD HT8131 bridge > which is broken. That's okay with me. We might use a PCIe switch to split an x16 lane (used normally for PEG) into two x8 lanes (used for our own nefarious purposes

Re: cvs commit: src/sys/dev/pci pci.c

2008-02-04 Thread Scott Long
John Baldwin wrote: On Friday 01 February 2008 09:18:38 pm Scott Long wrote: John Baldwin wrote: jhb 2008-02-01 20:31:09 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: Relax the check for a PCI-express chipset by assuming the system is a PCI

Re: cvs commit: src/sys/dev/pci pci.c

2008-02-04 Thread John Baldwin
On Monday 04 February 2008 12:49:49 am John E Hein wrote: > Peter Grehan wrote at 19:00 -0800 on Feb 1, 2008: > > > I'm sure there are fun, interesting, and highly obtuse ways to get a > > > PCI-E device onto a system with no PCI-E root complex. > > > > Be afraid ... > > > > http://w

Re: cvs commit: src/sys/dev/pci pci.c

2008-02-04 Thread John Baldwin
On Friday 01 February 2008 09:18:38 pm Scott Long wrote: > John Baldwin wrote: > > jhb 2008-02-01 20:31:09 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/dev/pci pci.c > > Log: > > Relax the check for a PCI-express chipset by assuming the system i

Re: cvs commit: src/sys/dev/pci pci.c

2008-02-03 Thread John E Hein
Peter Grehan wrote at 19:00 -0800 on Feb 1, 2008: > > I'm sure there are fun, interesting, and highly obtuse ways to get a > > PCI-E device onto a system with no PCI-E root complex. > > Be afraid ... > > http://www.pericom.com/products/pci/ > > "In ?reverse? mode, the PI7C9X110

Re: cvs commit: src/sys/dev/pci pci.c

2008-02-01 Thread Peter Grehan
I'm sure there are fun, interesting, and highly obtuse ways to get a PCI-E device onto a system with no PCI-E root complex. Be afraid ... http://www.pericom.com/products/pci/ "In “reverse” mode, the PI7C9X110 is configured with the PCI port on the primary and the PCI Express port on the

Re: cvs commit: src/sys/dev/pci pci.c

2008-02-01 Thread Scott Long
John Baldwin wrote: jhb 2008-02-01 20:31:09 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: Relax the check for a PCI-express chipset by assuming the system is a PCI-express chipset (and thus has functional MSI) if there are any PCI-express d

cvs commit: src/sys/dev/pci pci.c

2008-02-01 Thread John Baldwin
jhb 2008-02-01 20:31:09 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: Relax the check for a PCI-express chipset by assuming the system is a PCI-express chipset (and thus has functional MSI) if there are any PCI-express devices in the system, n

cvs commit: src/sys/dev/pci pci.c

2008-01-26 Thread John Baldwin
jhb 2008-01-26 17:09:46 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/dev/pci pci.c Log: MFC 1.343: Add support for ATA chipsets that have NULL'd BAR's for legacy ports. RevisionChangesPath 1.292.2.24 +3 -1 src/sys/de

cvs commit: src/sys/dev/pci pci.c

2008-01-10 Thread John Baldwin
jhb 2008-01-10 21:17:12 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/dev/pci pci.c Log: Flip the switch to enable MSI by default on 6.x. This will not be MFC'd into 6.3. RevisionChangesPath 1.292.2.23 +2 -2 src/sys/

cvs commit: src/sys/dev/pci pci.c

2007-11-26 Thread Jung-uk Kim
jkim2007-11-26 17:37:24 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/dev/pci pci.c Log: MFC:1.356 Make VPD register access more robust: - Implement timing out of VPD register access. - Fix an off-by-one error of freeing mal

Re: cvs commit: src/sys/dev/pci pci.c

2007-11-17 Thread Jung-uk Kim
On Friday 16 November 2007 03:49 pm, Jung-uk Kim wrote: > jkim2007-11-16 20:49:34 UTC > > FreeBSD src repository > > Modified files: > sys/dev/pci pci.c > Log: > Make VPD register access more robust: > > - Implement timing out of VPD register access.[1] > - Fix an o

cvs commit: src/sys/dev/pci pci.c

2007-11-16 Thread Jung-uk Kim
jkim2007-11-16 20:49:34 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: Make VPD register access more robust: - Implement timing out of VPD register access.[1] - Fix an off-by-one error of freeing malloc'd space when checksum is invalid. -

cvs commit: src/sys/dev/pci pci.c

2007-07-28 Thread Marcel Moolenaar
marcel 2007-07-29 02:44:41 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: In pci_alloc_map(), restore the original value of the BAR for the duration of the function. The device we would otherwise have left in an useless state may just as well be

cvs commit: src/sys/dev/pci pci.c

2007-05-23 Thread John Baldwin
jhb 2007-05-23 18:12:00 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/dev/pci pci.c Log: MFC 1.352: Fix a typo in a bootverbose printf. RevisionChangesPath 1.292.2.21 +1 -1 src/sys/dev/pci/pci.c

cvs commit: src/sys/dev/pci pci.c

2007-05-23 Thread John Baldwin
jhb 2007-05-23 18:11:30 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/dev/pci pci.c Log: MFC 1.350: Use more specific local variable pointers to narrow some expressions. RevisionChangesPath 1.292.2.20 +72 -73src/sys/de

cvs commit: src/sys/dev/pci pci.c

2007-05-16 Thread John Baldwin
jhb 2007-05-16 23:42:05 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: Don't completely skip pci_cfg_save() in the PCI nomatch routine if the power_nodriver tunable is off. pci_cfg_save() already checks the tunable internally, and no other cal

cvs commit: src/sys/dev/pci pci.c

2007-05-07 Thread John Baldwin
jhb 2007-05-07 18:29:38 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: Fix a typo in a bootverbose printf. MFC after: 3 days Submitted by: yongari Revision ChangesPath 1.352 +1 -1 src/sys/dev/pci/pci.c ___

cvs commit: src/sys/dev/pci pci.c

2007-05-02 Thread John Baldwin
jhb 2007-05-02 16:21:18 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: Use more specific local variable pointers to narrow some expressions. MFC after: 1 week Revision ChangesPath 1.350 +72 -73src/sys/dev/pci/pci.c ___

cvs commit: src/sys/dev/pci pci.c pcireg.h src/usr.sbin/pciconf cap.c

2007-04-30 Thread John Baldwin
jhb 2007-04-30 17:58:23 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/dev/pci pci.c pcireg.h usr.sbin/pciconf cap.c Log: MFC: Handle HyperTransport MSI mapping window fixed-window flag. RevisionChangesPath 1.292.2.19

cvs commit: src/sys/dev/pci pci.c pcireg.h src/usr.sbin/pciconf cap.c

2007-04-25 Thread John Baldwin
jhb 2007-04-25 14:45:46 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c pcireg.h usr.sbin/pciconf cap.c Log: - HT 2.00b added a new flag to the MSI mapping HT capability to indicate that the MSI mapping window is fixed at 0xfee0 and the

cvs commit: src/sys/dev/pci pci.c

2007-04-23 Thread John Baldwin
jhb 2007-04-23 18:03:58 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/dev/pci pci.c Log: MFC: Correct word index calculation in pci_pending_msix(). RevisionChangesPath 1.292.2.18 +1 -1 src/sys/dev/pci/pci.c

cvs commit: src/sys/dev/pci pci.c

2007-03-31 Thread John Baldwin
jhb 2007-03-31 20:59:12 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: Forced commit to note that the previous commit log was wrong for this file. The previous commit fixed a bug in pci_pending_msix() where it mis-calculated the word in the PB

cvs commit: src/sys/dev/pci pci.c pcivar.h

2007-03-26 Thread John Baldwin
jhb 2007-03-26 20:18:53 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c pcivar.h Log: Change the VPD code to read the VPD data on-demand when a driver asks for it via pci_get_vpd_*() rather than always reading it for each device during boot. I've le

cvs commit: src/sys/dev/pci pci.c

2007-03-05 Thread John Baldwin
jhb 2007-03-05 16:21:59 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: - Use constants for VPD capability register offsets. - Add missing ()'s around return values. Revision ChangesPath 1.344 +13 -13src/sys/dev/pci/pci.c _

cvs commit: src/sys/dev/pci pci.c src/sys/dev/ata ata-pci.c

2007-02-17 Thread S�ren Schmidt
sos 2007-02-17 16:56:39 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c sys/dev/ata ata-pci.c Log: Add support for chipsets that has NULL'd BAR's for legacy ports. This allows DMA to be used on a fine little geode system I got here and

Re: cvs commit: src/sys/dev/pci pci.c

2007-02-14 Thread John Baldwin
On Wednesday 14 February 2007 17:36, John Baldwin wrote: > jhb 2007-02-14 22:36:27 UTC > > FreeBSD src repository > > Modified files: > sys/dev/pci pci.c > Log: > Adjust the global MSI blacklisting strategy so we don't have to explicitly > blacklist a bunch of old

cvs commit: src/sys/dev/pci pci.c

2007-02-14 Thread John Baldwin
jhb 2007-02-14 22:36:27 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: Adjust the global MSI blacklisting strategy so we don't have to explicitly blacklist a bunch of old chipsets. If a system contains a PCI-PCI bridge that supports PCI-X, ass

cvs commit: src/sys/dev/pci pci.c

2007-02-14 Thread John Baldwin
jhb 2007-02-14 22:32:55 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: - Fix an off by one error in pci_remap_msix_method() that effectively broke the method as all the MSI-X table indices were off by one in the backend MD code. - Fix a c

cvs commit: src/sys/dev/pci pci.c

2007-02-14 Thread John Baldwin
jhb 2007-02-14 17:04:05 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/dev/pci pci.c Log: Add a couple of missing breaks that are harmless, though the first one missing meant that a PCI-PCI bridge that supported MSI but didn't support PC

cvs commit: src/sys/dev/pci pci.c

2007-02-14 Thread John Baldwin
jhb 2007-02-14 17:02:16 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: Add missing 'break' that in this case is harmless. Revision ChangesPath 1.340 +1 -0 src/sys/dev/pci/pci.c ___ cv

cvs commit: src/sys/dev/pci pci.c pcireg.h

2007-02-09 Thread John Baldwin
jhb 2007-02-09 14:23:01 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/dev/pci pci.c pcireg.h Log: MFC: Fix the subvendor ID for PCI-PCI bridges. RevisionChangesPath 1.292.2.14 +8 -2 src/sys/dev/pci/pci.c 1.45.2.4+

cvs commit: src/sys/dev/pci pci.c pci_private.h pcib_private.h pcireg.h pcivar.h

2007-02-09 Thread John Baldwin
jhb 2007-02-09 14:16:30 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/dev/pci pci.c pci_private.h pcib_private.h pcireg.h pcivar.h Log: MFC: Style fix: s/#define/#define/. RevisionChangesPath 1.292.2

cvs commit: src/sys/dev/pci pci.c

2007-02-08 Thread Robert Watson
rwatson 2007-02-08 14:33:07 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: As VPD support still causes hard hangs on boot with some hardware, add a tunable allowing automatic parsing of VPD data to be disabled. The default is left as-is; if you ar

cvs commit: src/sys/dev/pci pci.c

2007-01-16 Thread John Baldwin
jhb 2007-01-16 19:44:45 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: Disable MSI for the Intel 845 and 865 chipsets and update comment for E7210 to note it is the same devid as the 875 chipset. Revision ChangesPath 1.337 +3 -1

cvs commit: src/sys/dev/pci pci.c pcireg.h

2007-01-16 Thread John Baldwin
jhb 2007-01-16 17:04:43 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c pcireg.h Log: Fix the subvendor ID for PCI-PCI bridges. - Retire the PCI_SUB*_1 constants and don't try to read a subvendor ID out of them. There isn't a standard subvendor ID

cvs commit: src/sys/dev/pci pci.c pci_pci.c pcib_private.h

2007-01-12 Thread John Baldwin
jhb 2007-01-13 04:57:38 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c pci_pci.c pcib_private.h Log: - Add a new flag to the PCI-PCI driver to disable MSI on devices behind the bridge if it doesn't pass MSI messages up correctly. We set the flag

cvs commit: src/sys/dev/pci pci.c

2007-01-12 Thread John Baldwin
jhb 2007-01-12 21:37:51 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: Disable MSI for two ServerWorks chipsets. The first is based on a user report. The second is blacklisted in Linux. Revision ChangesPath 1.334 +7 -0 src/

cvs commit: src/sys/dev/pci pci.c

2007-01-12 Thread John Baldwin
jhb 2007-01-12 21:30:26 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: Blacklist a few more Intel chipsets re: MSI based on user reports: E7500 and 855. Revision ChangesPath 1.333 +4 -2 src/sys/dev/pci/pci.c _

Re: cvs commit: src/sys/dev/pci pci.c

2007-01-12 Thread John Baldwin
On Friday 12 January 2007 08:33, John Baldwin wrote: > jhb 2007-01-12 13:33:56 UTC > > FreeBSD src repository > > Modified files: > sys/dev/pci pci.c > Log: > - Condense the comment for Intel chipset MSI blacklist entries. > - Blacklist the E7210. > > PR:

cvs commit: src/sys/dev/pci pci.c

2007-01-12 Thread John Baldwin
jhb 2007-01-12 13:33:56 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: - Condense the comment for Intel chipset MSI blacklist entries. - Blacklist the E7210. PR: kern/105768 (2) Reported by:marcus (2) Revision Changes

cvs commit: src/sys/dev/pci pci.c

2006-12-27 Thread John Baldwin
jhb 2006-12-28 06:14:42 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: Disable MSI on the Intel E7505 chipset. It is reported broken on a Tyan S2665ANF motherboard. Reported by:"Eugene M. Kim" Revision ChangesPath 1.331

Re: cvs commit: src/sys/dev/pci pci.c

2006-12-14 Thread Eugene M. Kim
Could you also add 0x25508086 (Intel E7505 chipset)? I have a Tyan S2665ANF M/B, which uses this chipset; MSI does not work. Thank you, Eugene John Baldwin wrote: jhb 2006-12-14 19:59:29 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: Disable

cvs commit: src/sys/dev/pci pci.c

2006-12-14 Thread John Baldwin
jhb 2006-12-14 19:59:29 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: Disable MSI for the Intel E7501 chipset. Reported by:jdp Revision ChangesPath 1.330 +6 -0 src/sys/dev/pci/pci.c ___

cvs commit: src/sys/dev/pci pci.c pcivar.h

2006-12-14 Thread John Baldwin
jhb 2006-12-14 19:57:06 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c pcivar.h Log: Add a first pass at a way to blacklist MSI on systems where it doesn't work: - A new PCI quirk (PCI_QUIRK_DISABLE_MSI) is added to the quirk table. - A new pci_ms

cvs commit: src/sys/dev/pci pci.c pci_private.h pcib_private.h pcireg.h pcivar.h

2006-12-14 Thread John Baldwin
jhb 2006-12-14 16:53:48 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c pci_private.h pcib_private.h pcireg.h pcivar.h Log: Replace #define with #define so the code is consistent with style(9) and avoids mixing the two formats

cvs commit: src/sys/dev/pci pci.c pcireg.h

2006-12-12 Thread John Baldwin
jhb 2006-12-12 19:33:25 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c pcireg.h Log: - Add constants for HT PCI capability registers including the various subtypes of HT capabilities. - Add constants for the MSI mapping window HT PCI capability.

cvs commit: src/sys/dev/pci pci.c

2006-12-12 Thread John Baldwin
jhb 2006-12-12 19:30:40 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: Give the WREG() macro the same lifetime as the REG() macro. Revision ChangesPath 1.326 +3 -3 src/sys/dev/pci/pci.c _

cvs commit: src/sys/dev/pci pci.c

2006-12-12 Thread John Baldwin
jhb 2006-12-12 19:29:02 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: Add some bootverbose printf's to detail how many MSI messages are allocated and to which IRQs. Requested by: scottl Revision ChangesPath 1.325 +92 -0

cvs commit: src/sys/dev/pci pci.c

2006-12-01 Thread John Baldwin
jhb 2006-12-01 16:55:15 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/dev/pci pci.c Log: MFC: Look for capabilities in PCI-PCI bidges using the same CAP PTR register as for type 0 devices. RevisionChangesPath 1.292.2.10 +1

cvs commit: src/sys/dev/pci pci.c

2006-11-16 Thread John Baldwin
jhb 2006-11-16 17:31:33 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: Look for capabilities in PCI-PCI bridges using the same CAP PTR register as for type 0 devices. Submitted by: grehan MFC after: 1 week Revision Changes

cvs commit: src/sys/dev/pci pci.c

2006-11-09 Thread John-Mark Gurney
jmg 2006-11-09 21:05:32 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: fix hanging on invalid data... (This doesn't fix hanging due to broken hardware)... Tested by: Ian Dowse, Adam K Kirchhoff and Vladimir Kushnir Revision Change

cvs commit: src/sys/dev/pci pci.c pci_private.h pcib_if.m

2006-11-07 Thread John Baldwin
jhb 2006-11-07 18:55:52 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c pci_private.h pcib_if.m Log: Various whitespace cleanups. Revision ChangesPath 1.320 +23 -22src/sys/dev/pci/pci.c 1.19 +1 -0 src/sys/dev/pci/pci_priva

cvs commit: src/sys/dev/pci pci.c

2006-11-03 Thread Warner Losh
imp 2006-11-04 06:56:51 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: Doh! Actually commit checking against NULL for res. Noticed by: dougb@ Revision ChangesPath 1.319 +5 -5 src/sys/dev/pci/pci.c

cvs commit: src/sys/dev/pci pci.c

2006-10-30 Thread Warner Losh
imp 2006-10-30 22:46:33 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: Assign start to the value we were able to allocate and use that to write out the BAR. Otherwise, we were trying to shift a 32-bit quantity on 32-bit platforms. Also, 'star

cvs commit: src/sys/dev/pci pci.c pci_pci.c pcivar.h

2006-10-30 Thread Warner Losh
imp 2006-10-30 19:18:46 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c pci_pci.c pcivar.h Log: More fully support 64-bit bars. Prior to this commit, we supported only those bars that had addresses assigned by the BIOS and where the bridges were pro

Re: cvs commit: src/sys/dev/pci pci.c

2006-10-21 Thread Yuriy Tsibizov
jmg 2006-10-20 21:28:11 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: fix tab indentation for CP and RV... If the length is zero, catch this early, instead of making dflen go negative and letting bad things happen... We also check to see if RV (checksum)

Re: cvs commit: src/sys/dev/pci pci.c

2006-10-21 Thread John-Mark Gurney
Yuriy Tsibizov wrote this message on Sat, Oct 21, 2006 at 14:24 +0400: > >jmg 2006-10-20 21:28:11 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/dev/pci pci.c > > Log: > > fix tab indentation for CP and RV... > > > > If the length is zero, catch this early, in

Re: cvs commit: src/sys/dev/pci pci.c

2006-10-21 Thread Yuriy Tsibizov
jmg 2006-10-20 21:28:11 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: fix tab indentation for CP and RV... If the length is zero, catch this early, instead of making dflen go negative and letting bad things happen... We also check to see if RV (che

cvs commit: src/sys/dev/pci pci.c

2006-10-20 Thread John-Mark Gurney
jmg 2006-10-20 21:28:11 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: fix tab indentation for CP and RV... If the length is zero, catch this early, instead of making dflen go negative and letting bad things happen... We also check to see i

Re: cvs commit: src/sys/dev/pci pci.c pci_if.m pci_private.h pcivar.h src/sys/dev/sk if_sk.c if_skreg.h

2006-10-18 Thread Oleg Bulyzhin
On Tue, Oct 17, 2006 at 10:57:52AM -0700, John-Mark Gurney wrote: > Oleg Bulyzhin wrote this message on Tue, Oct 17, 2006 at 14:53 +0400: > > On Mon, Oct 16, 2006 at 10:05:17AM -0700, John-Mark Gurney wrote: > > > Oleg Bulyzhin wrote this message on Mon, Oct 16, 2006 at 12:14 +0400: > > > > On Mon,

Re: cvs commit: src/sys/dev/pci pci.c pci_if.m pci_private.h pcivar.h src/sys/dev/sk if_sk.c if_skreg.h

2006-10-17 Thread John-Mark Gurney
Oleg Bulyzhin wrote this message on Tue, Oct 17, 2006 at 14:53 +0400: > On Mon, Oct 16, 2006 at 10:05:17AM -0700, John-Mark Gurney wrote: > > Oleg Bulyzhin wrote this message on Mon, Oct 16, 2006 at 12:14 +0400: > > > On Mon, Oct 09, 2006 at 04:15:56PM +, John-Mark Gurney wrote: > > > > jmg

Re: cvs commit: src/sys/dev/pci pci.c pci_if.m pci_private.h pcivar.h src/sys/dev/sk if_sk.c if_skreg.h

2006-10-17 Thread John-Mark Gurney
Oleg Bulyzhin wrote this message on Tue, Oct 17, 2006 at 14:53 +0400: > On Mon, Oct 16, 2006 at 10:05:17AM -0700, John-Mark Gurney wrote: > > Oleg Bulyzhin wrote this message on Mon, Oct 16, 2006 at 12:14 +0400: > > > On Mon, Oct 09, 2006 at 04:15:56PM +, John-Mark Gurney wrote: > > > > jmg

Re: cvs commit: src/sys/dev/pci pci.c pci_if.m pci_private.h pcivar.h src/sys/dev/sk if_sk.c if_skreg.h

2006-10-17 Thread Oleg Bulyzhin
On Mon, Oct 16, 2006 at 10:05:17AM -0700, John-Mark Gurney wrote: > Oleg Bulyzhin wrote this message on Mon, Oct 16, 2006 at 12:14 +0400: > > On Mon, Oct 09, 2006 at 04:15:56PM +, John-Mark Gurney wrote: > > > jmg 2006-10-09 16:15:56 UTC > > > > > > FreeBSD src repository > > > > >

Re: cvs commit: src/sys/dev/pci pci.c pci_if.m pci_private.h pcivar.h src/sys/dev/sk if_sk.c if_skreg.h

2006-10-16 Thread John-Mark Gurney
Oleg Bulyzhin wrote this message on Mon, Oct 16, 2006 at 12:14 +0400: > On Mon, Oct 09, 2006 at 04:15:56PM +, John-Mark Gurney wrote: > > jmg 2006-10-09 16:15:56 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/dev/pci pci.c pci_if.m pci_private.h pc

Re: cvs commit: src/sys/dev/pci pci.c pci_if.m pci_private.h pcivar.h src/sys/dev/sk if_sk.c if_skreg.h

2006-10-16 Thread Oleg Bulyzhin
On Mon, Oct 09, 2006 at 04:15:56PM +, John-Mark Gurney wrote: > jmg 2006-10-09 16:15:56 UTC > > FreeBSD src repository > > Modified files: > sys/dev/pci pci.c pci_if.m pci_private.h pcivar.h > sys/dev/sk if_sk.c if_skreg.h > Log: > provide routines

Re: cvs commit: src/sys/dev/pci pci.c pci_if.m pci_private.h pcivar.h src/sys/dev/sk if_sk.c if_skreg.h

2006-10-10 Thread John-Mark Gurney
Bruce M. Simpson wrote this message on Tue, Oct 10, 2006 at 12:22 +0100: > John-Mark Gurney wrote: > >jmg 2006-10-09 16:15:56 UTC > > > > FreeBSD src repository > > > > Modified files: > >sys/dev/pci pci.c pci_if.m pci_private.h pcivar.h > >sys/dev/sk if_sk.c i

Re: cvs commit: src/sys/dev/pci pci.c pci_if.m pci_private.h pcivar.h src/sys/dev/sk if_sk.c if_skreg.h

2006-10-10 Thread Bruce M. Simpson
John-Mark Gurney wrote: jmg 2006-10-09 16:15:56 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c pci_if.m pci_private.h pcivar.h sys/dev/sk if_sk.c if_skreg.h Log: provide routines to access VPD data at the PCI layer... Excellent. B

cvs commit: src/sys/dev/pci pci.c pci_if.m pci_private.h pcivar.h src/sys/dev/sk if_sk.c if_skreg.h

2006-10-09 Thread John-Mark Gurney
jmg 2006-10-09 16:15:56 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c pci_if.m pci_private.h pcivar.h sys/dev/sk if_sk.c if_skreg.h Log: provide routines to access VPD data at the PCI layer... remove sk's own implementation, and use

cvs commit: src/sys/dev/pci pci.c

2006-09-25 Thread Marcel Moolenaar
marcel 2006-09-25 15:49:51 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/dev/pci pci.c Log: MFC rev 1.311: Allow 16 byte memory mapped I/O ranges. Approved by: re (hrs) Revision ChangesPath 1.292.2.9 +2 -2 src/sys/dev/p

cvs commit: src/sys/dev/pci pci.c

2006-09-22 Thread John-Mark Gurney
jmg 2006-09-23 03:33:18 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/dev/pci pci.c Log: MFC: v1.314 pci.c spell PCIS_CRYPTO_ENTERTAIN properly... Approved by:re (bmah) Revision ChangesPath 1.292.2.8 +1 -1 sr

cvs commit: src/sys/dev/pci pci.c

2006-09-19 Thread John-Mark Gurney
jmg 2006-09-20 06:47:15 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: spell PCIS_CRYPTO_ENTERTAIN properly... MFC after: 3 days Revision ChangesPath 1.314 +1 -1 src/sys/dev/pci/pci.c _

cvs commit: src/sys/dev/pci pci.c

2006-04-26 Thread Marcel Moolenaar
marcel 2006-04-27 04:53:18 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: The size of I/O ranges can be anything from 16 bytes to 2G bytes. Lower the minimum for memory mapped I/O from 32 bytes to 16 bytes. This fixes bus enumeration on ia64 now t

cvs commit: src/sys/dev/pci pci.c

2006-01-31 Thread Warner Losh
imp 2006-01-31 14:42:43 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/dev/pci pci.c Log: I haven't yet merged back the defines from -current for __PCI_REROUTE_INTERRUPT, so merging it was in error. I thought I'd specifically checked be

cvs commit: src/sys/dev/pci pci.c

2006-01-30 Thread Warner Losh
imp 2006-01-30 18:42:10 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/dev/pci pci.c Log: MFC: 1.308, 1.307, 1.306: expose pci_add_resources to the outside world. Implement force in pci_add_map. Write values of allocate

cvs commit: src/sys/dev/pci pci.c

2006-01-01 Thread Warner Losh
imp 2006-01-01 21:04:31 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: Use __HAVE_ACPI and __PCI_REROUTE_INTERRUPT as appropriate rather than the complicated #ifdefs. Revision ChangesPath 1.309 +2 -4 src/sys/dev/pci/pci.c ___

cvs commit: src/sys/dev/pci pci.c

2006-01-01 Thread Warner Losh
imp 2006-01-01 08:26:39 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: Remove stray debug from p4 integration. Revision ChangesPath 1.308 +1 -5 src/sys/dev/pci/pci.c ___ cvs-all@freeb

cvs commit: src/sys/dev/pci pci.c

2005-12-30 Thread Warner Losh
imp 2005-12-30 19:36:29 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: Remove debug now that I've looped back the big changes into my p4 tree. Revision ChangesPath 1.307 +0 -4 src/sys/dev/pci/pci.c _

cvs commit: src/sys/dev/pci pci.c pci_private.h

2005-12-30 Thread Warner Losh
imp 2005-12-30 19:28:26 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c pci_private.h Log: Expose pci_add_resources to the outside world, add a 'force' flag to force allocation of unallocated BARs (cardbus uses this to preallocate everything). Add a

cvs commit: src/sys/dev/pci pci.c

2005-11-08 Thread Warner Losh
imp 2005-11-09 03:37:52 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c Log: Improve diagnostic message. Revision ChangesPath 1.304 +3 -2 src/sys/dev/pci/pci.c ___ cvs-all@freebsd.org maili