The NetBSD Project

CVS log for src/sys/dev/pci/pciconf.c

[BACK] Up to [cvs.netbsd.org] / src / sys / dev / pci

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.33.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:52 2012 UTC (5 weeks, 4 days ago) by yamt
Branch: yamt-pagecache
Changes since 1.33: +4 -5 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

sync with head

Revision 1.33.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:34:46 2012 UTC (3 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.33: +4 -5 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

merge to -current.

Revision 1.34 / (download) - annotate - [select for diffs], Fri Jan 27 18:53:08 2012 UTC (3 months, 4 weeks ago) by para
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base, netbsd-6, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, HEAD
Changes since 1.33: +4 -5 lines
Diff to previous 1.33 (colored)

converting extent(9) from malloc(9) to kmem(9)
preceding kmem-vmem-pool-uvm patch

releng@ acknowledged

Revision 1.30.52.1 / (download) - annotate - [select for diffs], Sat Dec 24 01:25:51 2011 UTC (5 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.30: +35 -16 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

Fix problem when alignment of a device is > then the alignment of the bus
bus spaces provided.

Revision 1.33 / (download) - annotate - [select for diffs], Wed Aug 24 20:27:35 2011 UTC (9 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.32: +9 -14 lines
Diff to previous 1.32 (colored)

Add to pci_bus_devorder() an argument that tells the number of slots
available in the devs array.  Change the type of the devs array from
char to uint8_t.  Treat the return value of pci_bus_devorder() as the
number of slots that it filled.

Don't use the __PCI_BUS_DEVORDER #definition to configure the kernel
but let the linker do it.  Make pci_bus_devorder() available on all
architectures by adding a default implementation that will DTRT on
all architectures but hpcmips, the only architecture to #define
__PCI_BUS_DEVORDER.  On hpcmips, adapt the implementation to the new
calling convention.

XXX I can compile an hpcmips GENERIC kernel, but I don't have a
XXX hpcmips box to test it on.

Revision 1.31.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:53:47 2011 UTC (14 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.31: +18 -16 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

sync with head

Revision 1.30.56.1 / (download) - annotate - [select for diffs], Fri Jan 7 02:25:52 2011 UTC (16 months, 2 weeks ago) by matt
Branch: matt-nb5-pq3
Changes since 1.30: +18 -16 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

Use kmem.  Fix prefetchable setting.

Revision 1.32 / (download) - annotate - [select for diffs], Sat Dec 11 18:21:14 2010 UTC (17 months, 2 weeks ago) by matt
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.31: +18 -16 lines
Diff to previous 1.31 (colored)

Switch to kmem from malloc.
Don't actually set the PREFETCH64 base/limit registers unless they really are
in use.

Revision 1.30.32.1 / (download) - annotate - [select for diffs], Wed Aug 19 18:47:12 2009 UTC (2 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.30: +4 -4 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

sync with head.

Revision 1.31 / (download) - annotate - [select for diffs], Sun Aug 2 11:25:50 2009 UTC (2 years, 9 months ago) by gavan
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, matt-premerge-20091211, jym-xensuspend-nbase
Branch point for: rmind-uvmplock
Changes since 1.30: +4 -4 lines
Diff to previous 1.30 (colored)

If we're going to complain about exceeding the PCI bandwidth, we may as
well say how much we think we're using.

Revision 1.26.2.2 / (download) - annotate - [select for diffs], Mon Sep 3 14:37:16 2007 UTC (4 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.26.2.1: +3 -3 lines
Diff to previous 1.26.2.1 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored)

sync with head.

Revision 1.29.26.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:07:55 2007 UTC (4 years, 10 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Sync with head.

Revision 1.29.24.1 / (download) - annotate - [select for diffs], Sun May 27 14:30:24 2007 UTC (5 years ago) by ad
Branch: vmlocking
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Sync with head.

Revision 1.30 / (download) - annotate - [select for diffs], Thu May 24 15:57:58 2007 UTC (5 years ago) by briggs
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, netbsd-5-base, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-ufs-trans-base, mjf-devfs2-base, mjf-devfs2, mjf-devfs-base, mjf-devfs, matt-nb5-pq3-base, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jymxensuspend-base, jym-xensuspend-base, jym-xensuspend, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-nfs-mp, matt-nb5-pq3, matt-nb5-mips64
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored)

The number of max_lat units in 1 sec is 4000000 instead of 40000000 (an
extra 0 snuck into the code).
Found when looking at this with dyoung.

Revision 1.27.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:52:18 2006 UTC (5 years, 8 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.27: +15 -6 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

sync with head

Revision 1.26.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:05:06 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.26: +15 -6 lines
Diff to previous 1.26 (colored)

sync with head.

Revision 1.27.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:39:15 2006 UTC (6 years, 1 month ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.27: +15 -6 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

Sync with head.

Revision 1.27.2.2 / (download) - annotate - [select for diffs], Wed Mar 1 09:28:21 2006 UTC (6 years, 2 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.27.2.1: +7 -4 lines
Diff to previous 1.27.2.1 (colored) next main 1.28 (colored)

sync with head.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Feb 27 16:11:58 2006 UTC (6 years, 2 months ago) by gdamore
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, thorpej-atomic-base, thorpej-atomic, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, reinoud-bufcleanup, post-newlock2-merge, peter-altq-base, peter-altq, newlock2-nbase, newlock2-base, newlock2, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: vmlocking, mjf-ufs-trans
Changes since 1.28: +7 -4 lines
Diff to previous 1.28 (colored)

Add PCI_MAPREG_TYPE_ROM and allow it to be used with pci_mapreg_map().
Fix to configure (but do not enable) BARs for expansion ROMs.
Reviewed by briggs@

Revision 1.27.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 15:39:08 2006 UTC (6 years, 3 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.27: +11 -5 lines
Diff to previous 1.27 (colored)

sync with head.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Feb 10 20:52:57 2006 UTC (6 years, 3 months ago) by gdamore
Branch: MAIN
Changes since 1.27: +11 -5 lines
Diff to previous 1.27 (colored)

PCI_NETBSD_CONFIGURE should allocate (but not map) address space expansion
ROMS by default.   Full discussion at
http://mail-index.netbsd.org/tech-kern/2005/12/16/0023.html
Closes PR kern/32467
Reviewed by briggs@

Revision 1.27 / (download) - annotate - [select for diffs], Sun Dec 11 12:22:50 2005 UTC (6 years, 5 months ago) by christos
Branch: MAIN
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

merge ktrace-lwp.

Revision 1.23.8.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:07 2005 UTC (7 years ago) by kent
Branch: kent-audio2
Changes since 1.23: +17 -12 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

sync with -current

Revision 1.21.2.6 / (download) - annotate - [select for diffs], Fri Apr 1 14:30:10 2005 UTC (7 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.21.2.5: +15 -10 lines
Diff to previous 1.21.2.5 (colored) next main 1.22 (colored)

Sync with HEAD.

Revision 1.25.2.1 / (download) - annotate - [select for diffs], Sun Mar 27 17:46:35 2005 UTC (7 years, 2 months ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0
Changes since 1.25: +15 -10 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Pull up revision 1.26 (requested by tsutsui in ticket #67):
Allow MD PCI code to specify or disable PCI_COMMAND_PARITY_ENABLE
and PCI_CMMAND_SERR_ENABLE in MI pci_configure_bus(9).
Patch from PR kern/27423 by KIYOHARA Takashi with some changes by me,
approved by Allen Briggs.

Revision 1.23.10.3 / (download) - annotate - [select for diffs], Sat Mar 26 18:19:19 2005 UTC (7 years, 2 months ago) by yamt
Branch: yamt-km
Changes since 1.23.10.2: +15 -10 lines
Diff to previous 1.23.10.2 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)

sync with head.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Mar 25 14:51:39 2005 UTC (7 years, 2 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, yamt-km-base4, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base, kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.25: +15 -10 lines
Diff to previous 1.25 (colored)

Allow MD PCI code to specify or disable PCI_COMMAND_PARITY_ENABLE
and PCI_CMMAND_SERR_ENABLE in MI pci_configure_bus(9).
Patch from PR kern/27423 by KIYOHARA Takashi with some changes by me,
approved by Allen Briggs.

Revision 1.23.10.2 / (download) - annotate - [select for diffs], Sat Mar 19 08:35:12 2005 UTC (7 years, 2 months ago) by yamt
Branch: yamt-km
Changes since 1.23.10.1: +3 -3 lines
Diff to previous 1.23.10.1 (colored) to branchpoint 1.23 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.21.2.5 / (download) - annotate - [select for diffs], Fri Mar 4 16:45:22 2005 UTC (7 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.21.2.4: +3 -3 lines
Diff to previous 1.21.2.4 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.25 / (download) - annotate - [select for diffs], Sun Feb 27 00:27:33 2005 UTC (7 years, 2 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base3, netbsd-3-base
Branch point for: netbsd-3
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

nuke trailing whitespace

Revision 1.21.2.4 / (download) - annotate - [select for diffs], Tue Feb 15 21:33:13 2005 UTC (7 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.21.2.3: +3 -3 lines
Diff to previous 1.21.2.3 (colored)

Sync with HEAD.

Revision 1.23.10.1 / (download) - annotate - [select for diffs], Sat Feb 12 18:17:48 2005 UTC (7 years, 3 months ago) by yamt
Branch: yamt-km
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

sync with head.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Feb 11 06:21:21 2005 UTC (7 years, 3 months ago) by simonb
Branch: MAIN
CVS Tags: yamt-km-base2, matt-timespec
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

White space nit- don't put a space before/after increment/decrement
operators.

Revision 1.21.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:31:05 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.21.2.2: +2 -2 lines
Diff to previous 1.21.2.2 (colored)

Fix the sync with head I botched.

Revision 1.21.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:49:04 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.21.2.1: +0 -0 lines
Diff to previous 1.21.2.1 (colored)

Sync with HEAD.

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:49:10 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.21: +46 -22 lines
Diff to previous 1.21 (colored)

Sync with HEAD

Revision 1.23 / (download) - annotate - [select for diffs], Wed Mar 17 20:27:57 2004 UTC (8 years, 2 months ago) by scw
Branch: MAIN
CVS Tags: yamt-km-base, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.22: +20 -17 lines
Diff to previous 1.22 (colored)

Use PRIu64 and PRIx64 in place of %llu and %llx format strings for
printing variables of type u_int64_t.

Revision 1.22 / (download) - annotate - [select for diffs], Tue Dec 2 16:31:06 2003 UTC (8 years, 5 months ago) by briggs
Branch: MAIN
Changes since 1.21: +28 -7 lines
Diff to previous 1.21 (colored)

Configure PCI-Cardbus bridges, too.
Patch from KIYOHARA Takashi on current-users.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Mar 31 21:04:40 2003 UTC (9 years, 1 month ago) by augustss
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.20: +6 -2 lines
Diff to previous 1.20 (colored)

Add an option to disable fast back-to-back transfers since this
breaks certain hardware combinations.

Revision 1.2.2.8 / (download) - annotate - [select for diffs], Wed Dec 11 06:38:21 2002 UTC (9 years, 5 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.2.2.7: +9 -0 lines
Diff to previous 1.2.2.7 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Sync with HEAD.

Revision 1.20 / (download) - annotate - [select for diffs], Wed Nov 27 02:53:10 2002 UTC (9 years, 6 months ago) by simonb
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.19: +7 -2 lines
Diff to previous 1.19 (colored)

In configure_bus() return early if there are no devices on the bus to
configure.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Nov 25 05:25:00 2002 UTC (9 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.18: +6 -2 lines
Diff to previous 1.18 (colored)

Avoid some "comparison always false" warnings by only compiling
the code in question if ULONG_MAX > 0xffffffff.

Revision 1.2.2.7 / (download) - annotate - [select for diffs], Mon Nov 11 22:11:28 2002 UTC (9 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.2.2.6: +3 -2 lines
Diff to previous 1.2.2.6 (colored) to branchpoint 1.2 (colored)

Catch up to -current

Revision 1.18 / (download) - annotate - [select for diffs], Fri Nov 8 07:01:26 2002 UTC (9 years, 6 months ago) by simonb
Branch: MAIN
Changes since 1.17: +5 -4 lines
Diff to previous 1.17 (colored)

Add a prototype for set_busreg(), fix a couple of white space nits.

Revision 1.5.2.4 / (download) - annotate - [select for diffs], Fri Sep 6 08:45:24 2002 UTC (9 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.5.2.3: +35 -23 lines
Diff to previous 1.5.2.3 (colored) next main 1.6 (colored)

sync kqueue branch with HEAD

Revision 1.15.8.2 / (download) - annotate - [select for diffs], Thu Aug 29 05:22:41 2002 UTC (9 years, 8 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.15.8.1: +26 -22 lines
Diff to previous 1.15.8.1 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

catch up with -current.

Revision 1.2.2.6 / (download) - annotate - [select for diffs], Thu Aug 1 02:45:22 2002 UTC (9 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.2.2.5: +35 -23 lines
Diff to previous 1.2.2.5 (colored) to branchpoint 1.2 (colored)

Catch up to -current.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Jul 30 15:00:03 2002 UTC (9 years, 9 months ago) by augustss
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gehenna-devsw-base
Changes since 1.16: +26 -22 lines
Diff to previous 1.16 (colored)

Number PCI busses using a simple pre-order numbering instead of
some strange binary split numbering that doesn't work with multiple
bridges on the same bus, nor with deeply nested bridges.

Revision 1.15.8.1 / (download) - annotate - [select for diffs], Mon Jul 15 10:35:39 2002 UTC (9 years, 10 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.15: +11 -3 lines
Diff to previous 1.15 (colored)

catch up with -current.

Revision 1.15.10.1 / (download) - annotate - [select for diffs], Thu Jun 27 01:26:59 2002 UTC (9 years, 11 months ago) by lukem
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Changes since 1.15: +11 -3 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

Pull up revision 1.16 (requested by briggs in ticket #382):
Change a 'continue' to a 'break' in switch configuring 64-bit devices.
Add a little more debugging code.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Jun 27 00:59:21 2002 UTC (9 years, 11 months ago) by briggs
Branch: MAIN
Changes since 1.15: +11 -3 lines
Diff to previous 1.15 (colored)

Change a 'continue' to a 'break' in switch configuring 64-bit devices.
Add a little more debugging code.

Revision 1.5.2.3 / (download) - annotate - [select for diffs], Sat Mar 16 16:01:16 2002 UTC (10 years, 2 months ago) by jdolecek
Branch: kqueue
Changes since 1.5.2.2: +3 -3 lines
Diff to previous 1.5.2.2 (colored)

Catch up with -current.

Revision 1.2.2.5 / (download) - annotate - [select for diffs], Thu Feb 28 04:14:05 2002 UTC (10 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.2.2.4: +3 -3 lines
Diff to previous 1.2.2.4 (colored) to branchpoint 1.2 (colored)

Catch up to -current.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Feb 21 20:22:48 2002 UTC (10 years, 3 months ago) by kleink
Branch: MAIN
CVS Tags: newlock-base, newlock, netbsd-1-6-base, ifpoll-base, ifpoll, eeh-devprop-base, eeh-devprop
Branch point for: netbsd-1-6, gehenna-devsw
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

As discussed with Jason Thorpe: while the `cacheline_size\' argument is
a byte-size quantity, the CacheLine Size configuration register specifies
the system cacheline size in units of 32-bit words; per PCI Local Bus
Specification, rev. 2.1, section 6.2.4.

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Thu Jan 10 19:56:55 2002 UTC (10 years, 4 months ago) by thorpej
Branch: kqueue
Changes since 1.5.2.1: +18 -8 lines
Diff to previous 1.5.2.1 (colored)

Sync kqueue branch with -current.

Revision 1.2.2.4 / (download) - annotate - [select for diffs], Tue Jan 8 00:31:10 2002 UTC (10 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.2.2.3: +12 -5 lines
Diff to previous 1.2.2.3 (colored) to branchpoint 1.2 (colored)

Catch up to -current.

Revision 1.14 / (download) - annotate - [select for diffs], Wed Nov 28 23:48:34 2001 UTC (10 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.13: +12 -5 lines
Diff to previous 1.13 (colored)

Add a "cacheline_size" argument to pci_configure_bus().  It is used
to set the cacheline size in the BHLC register.  This should be the
size of the largest D-cache line on a system.

Revision 1.2.2.3 / (download) - annotate - [select for diffs], Wed Nov 14 19:15:24 2001 UTC (10 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.2.2.2: +9 -6 lines
Diff to previous 1.2.2.2 (colored) to branchpoint 1.2 (colored)

Catch up to -current.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Nov 13 07:48:48 2001 UTC (10 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.12: +4 -1 lines
Diff to previous 1.12 (colored)

add RCSID

Revision 1.10.4.1 / (download) - annotate - [select for diffs], Mon Nov 12 21:18:16 2001 UTC (10 years, 6 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.10: +6 -6 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Sync the thorpej-mips-cache branch with -current.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Nov 9 19:29:12 2001 UTC (10 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-mips-cache-base
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

Add a "firstbus" argument to pci_configure_bus(), indicating the
first bus number to use, rather than always assuming that we should
start at bus #0.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Nov 9 19:20:19 2001 UTC (10 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.10: +4 -4 lines
Diff to previous 1.10 (colored)

In query_bus(), use the parent pciconf_bus_t's PCI chipset tag,
not the new bus's (which is potentially uninitialized when some
calls are made).

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Fri Sep 21 22:35:59 2001 UTC (10 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.2.2.1: +78 -30 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored)

Catch up to -current.

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Thu Sep 13 01:15:58 2001 UTC (10 years, 8 months ago) by thorpej
Branch: kqueue
Changes since 1.5: +78 -30 lines
Diff to previous 1.5 (colored)

Update the kqueue branch to HEAD.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Sep 3 03:46:26 2001 UTC (10 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-mips-cache
Changes since 1.9: +11 -8 lines
Diff to previous 1.9 (colored)

Bump MAX_CONF_DEV to 32, add some missing newlines in error
messages, and add a TODO item (allocate all metadata dynamically).

Revision 1.9 / (download) - annotate - [select for diffs], Fri Aug 31 01:00:16 2001 UTC (10 years, 8 months ago) by briggs
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

Fix use of uninitialized variable.  Missed by gcc, spotted by enami.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Aug 30 02:52:41 2001 UTC (10 years, 8 months ago) by briggs
Branch: MAIN
Changes since 1.7: +49 -20 lines
Diff to previous 1.7 (colored)

Respect __PCI_BUS_DEVORDER.
If all devices can handle 66MHz, then use 66MHz.
Triple the number of configured I/O ranges that we can handle on a bus
  (8 was insufficient--originally didn't consider multifunction devices)
Allow one to specify which types of memory to configure, I/O, ROM, or
  MEM--for example, one could configure only ROM or only non-ROM.
Ensure that the ROM is disabled if we're not configuring it.
Only set PCI_COMMAND_IO_ENABLE/PCI_COMMAND_MEM_ENABLE if there are valid
  memory ranges configured.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Aug 28 15:13:48 2001 UTC (10 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.6: +10 -1 lines
Diff to previous 1.6 (colored)

Add a TODO item: Do this in 2 passes.  One pass that configures the
bus (and optionally maps expansion ROMs), and an optional second
pass to disable expansion ROMs that are mapped.  This would allow
MD code to possibly execute the expansion ROMs (possibly in an x86
emulator) to configure a device (e.g. a VGA card, which pretty much
needs to be configured by its ROM).

Revision 1.6 / (download) - annotate - [select for diffs], Tue Aug 28 15:09:10 2001 UTC (10 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.5: +9 -2 lines
Diff to previous 1.5 (colored)

If MD code doesn't provide pci_conf_hook(), then default to not mapping
the expansion ROMs on cards, since address decoders may be shared between
the ROM and PCI memory space on some cards (i.e. "only map the ROM if you're
going to use it, and then unmap it when you're done" is the intended
usage).

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Thu Jun 21 20:05:02 2001 UTC (10 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.2: +84 -41 lines
Diff to previous 1.2 (colored)

Catch up to -current.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Jun 14 01:06:56 2001 UTC (10 years, 11 months ago) by thorpej
Branch: MAIN
Branch point for: kqueue
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

It's pretty questionable to printf a PCI tag, but if we're going to
do so, at least make the printf compile across the board.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Jun 13 06:01:45 2001 UTC (10 years, 11 months ago) by simonb
Branch: MAIN
Changes since 1.3: +49 -30 lines
Diff to previous 1.3 (colored)

Add a port to IBM's PPC405GP Reference Board (the "walnut")
by Eduardo Horvath and Simon Burge of Wasabi Systems.

IBM 4xx series CPU features:
 - New pmap and revised trap handler.
 - Support on-chip timers, PCI controller, UARTs
 - Framework for on-chip ethernet and watchdog timer.
General PowerPC features:
 - Add in-kernel PPC floating point emulation
 - New in{,4}_cksum that is between 1.5 and 5 times faster than the
   old version depending on CPU type.
General changes:
 - Kernel support for generic dbsym-style symbols.

Revision 1.3 / (download) - annotate - [select for diffs], Sun May 27 17:50:40 2001 UTC (11 years ago) by thorpej
Branch: MAIN
Changes since 1.2: +36 -12 lines
Diff to previous 1.2 (colored)

Handle non-contiguous BARs.  Needed to be able to configure e.g.
IDE and USB on a PIIX3.

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Mon Mar 12 13:31:11 2001 UTC (11 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.1.2.2: +117 -66 lines
Diff to previous 1.1.2.2 (colored) next main 1.2 (colored)

Sync with HEAD.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Feb 12 06:24:24 2001 UTC (11 years, 3 months ago) by briggs
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: nathanw_sa
Changes since 1.1: +117 -66 lines
Diff to previous 1.1 (colored)

Deal with a lack of the proper type of memory.  For example, if a bridge
only supports 16-bit I/O addresses, do not configure it with addresses
having the upper 16-bits non-zero.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Sun Feb 11 19:15:59 2001 UTC (11 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.1.2.1: +917 -0 lines
Diff to previous 1.1.2.1 (colored)

Sync with HEAD.

Revision 1.1.2.1, Fri Feb 9 14:33:15 2001 UTC (11 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.1: +0 -917 lines
FILE REMOVED

file pciconf.c was added on branch thorpej_scsipi on 2001-02-11 19:15:59 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Fri Feb 9 14:33:15 2001 UTC (11 years, 3 months ago) by briggs
Branch: MAIN
Branch point for: thorpej_scsipi

Add an option (defopt) PCI_NETBSD_CONFIGURE that provides PCI bus
configuration (assignment of bus numbers, BARs, timer values,
interrupt lines, etc.).
The interface must be called from m.d. code prior to probing the bus.
It is meant to be called once for each primary (bus == 0) PCI bus in
the system.  It will configure any busses behind PCI-PCI bridges.
Section 9 man page for pci_configure_bus() will come soon.
In the meantime, sample usage is in arch/sandpoint/sandpoint/mainbus.c.
[ Reviewed by thorpej ]

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>