The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


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

sync with head

Revision 1.47.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:34:51 2012 UTC (3 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.47: +3 -7 lines
Diff to previous 1.47 (colored) next main 1.48 (colored)

merge to -current.

Revision 1.49 / (download) - annotate - [select for diffs], Sun Jan 29 11:31:38 2012 UTC (3 months, 3 weeks ago) by drochner
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.48: +3 -3 lines
Diff to previous 1.48 (colored)

extend the pci_aprint_devinfo slightly to cover the cases commonly
used by drivers: a short name for the quiet/naive case and a string
to override the "pcidevs" based name by one provided by the driver,
ride on yesterday's kernel minor version bump

Revision 1.48 / (download) - annotate - [select for diffs], Thu Jan 26 21:17:28 2012 UTC (3 months, 4 weeks ago) by drochner
Branch: MAIN
Changes since 1.47: +3 -7 lines
Diff to previous 1.47 (colored)

put printing of the pci_devinfo into its own function (not inlined
by purpose) - this is a stack hog, and with this change my uTCA amd64
system boots again
a lot of similar code can be eliminated from pci device drivers this way,
but before doing so (and making the new function part of the module API)
I'd like to consider a modification to make it work with drivers which
prefer to print names from other sources (like pciide)

Revision 1.39.18.3 / (download) - annotate - [select for diffs], Sat Dec 24 01:28:02 2011 UTC (5 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.39.18.2: +81 -11 lines
Diff to previous 1.39.18.2 (colored) to branchpoint 1.39 (colored) next main 1.40 (colored)

Pull latest from -HEAD.
Add printing bus lanes and speed.

Revision 1.47 / (download) - annotate - [select for diffs], Fri Oct 21 21:35:28 2011 UTC (7 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.46: +3 -2 lines
Diff to previous 1.46 (colored)

Tell a pci(4) instance its subordinate PCI buses using a new member
in the pcibus_attach_args, pba_sub. pciN attaches to pba_bus itself.
If pba_bus < pba_sub, then [pba_bus + 1, pba_sub] are subordinate to
pba_bus.

On i386, make mainbus0 attach pci0 with pba_sub = 255 because all buses
1 and up must be subordinate to pci0.

XXX Deal with other architectures.

Revision 1.46 / (download) - annotate - [select for diffs], Wed Aug 17 00:59:47 2011 UTC (9 months, 1 week ago) by dyoung
Branch: MAIN
Changes since 1.45: +7 -6 lines
Diff to previous 1.45 (colored)

Redefine PCI_MSI_* and PCI_PCIE_* constants in terms of bits(3).

Use named constants and more conventional variable names in
pci_msi_establish() and pci_msi_disestablish().  Fix a couple of bugs:
pci_msi_establish() returned a pointer to the struct intrhand instead of
to the struct msi_hdl as it was intended to, and pci_msi_disestablish()
did not free(9) the msi_hdl.

Revision 1.42.2.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:53:56 2011 UTC (14 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.42: +67 -12 lines
Diff to previous 1.42 (colored) next main 1.43 (colored)

sync with head

Revision 1.45 / (download) - annotate - [select for diffs], Mon Jan 10 14:19:36 2011 UTC (16 months, 2 weeks ago) by cegger
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.44: +3 -2 lines
Diff to previous 1.44 (colored)

add missing break

Revision 1.44 / (download) - annotate - [select for diffs], Mon Jan 10 12:23:21 2011 UTC (16 months, 2 weeks ago) by jmcneill
Branch: MAIN
Changes since 1.43: +55 -12 lines
Diff to previous 1.43 (colored)

ppb_fix_pcix changes:
- rename to ppb_fix_pcie
- support version PCI-E 2.0
- print version and device/port type information
- use constants from pcireg.h instead of magic numbers

changes:

  ppb2 at pci0 dev 21 function 0: vendor 0x15ad product 0x07a0 (rev. 0x01)
  ppb2: unsupported PCI Express version

to:

  ppb2 at pci0 dev 21 function 0: vendor 0x15ad product 0x07a0 (rev. 0x01)
  ppb2: PCI Express 2.0 <Root Port of PCI-E Root Complex>

Revision 1.39.22.1 / (download) - annotate - [select for diffs], Fri Jan 7 02:27:15 2011 UTC (16 months, 2 weeks ago) by matt
Branch: matt-nb5-pq3
Changes since 1.39: +13 -2 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

On powerpc systems, match powerpc processors which are really PCIe PPBs.

Revision 1.43 / (download) - annotate - [select for diffs], Sat Dec 11 18:25:02 2010 UTC (17 months, 2 weeks ago) by matt
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231
Changes since 1.42: +13 -2 lines
Diff to previous 1.42 (colored)

On powerpc, recognize PCI Express RC root bridges.

Revision 1.41.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:43 2010 UTC (2 years ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.41: +6 -6 lines
Diff to previous 1.41 (colored) next main 1.42 (colored)

Sync with HEAD.

Revision 1.37.4.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:59 2010 UTC (2 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.37.4.2: +6 -6 lines
Diff to previous 1.37.4.2 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored)

sync with head

Revision 1.42 / (download) - annotate - [select for diffs], Wed Feb 24 22:38:01 2010 UTC (2 years, 3 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1
Branch point for: rmind-uvmplock
Changes since 1.41: +6 -6 lines
Diff to previous 1.41 (colored)

A pointer typedef entails trading too much flexibility to declare const
and non-const types, and the kernel uses both const and non-const
PMF qualifiers and device suspensors, so change the pmf_qual_t and
device_suspensor_t typedefs from "pointers to const" to non-pointer,
non-const types.

Revision 1.39.18.2 / (download) - annotate - [select for diffs], Thu Jan 28 17:42:37 2010 UTC (2 years, 3 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.39.18.1: +5 -5 lines
Diff to previous 1.39.18.1 (colored) to branchpoint 1.39 (colored)

Change ppb_fix_pcix to ppb_fix_pcie since pcix is usually PCI-X while
pcie is PCI-Express.

Revision 1.39.18.1 / (download) - annotate - [select for diffs], Thu Jan 21 07:43:59 2010 UTC (2 years, 4 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.39: +9 -2 lines
Diff to previous 1.39 (colored)

Support the SB1250 LDT HB.

Revision 1.41 / (download) - annotate - [select for diffs], Fri Jan 8 19:56:52 2010 UTC (2 years, 4 months ago) by dyoung
Branch: MAIN
CVS Tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Changes since 1.40: +6 -6 lines
Diff to previous 1.40 (colored)

Expand PMF_FN_* macros.

Revision 1.39.14.1 / (download) - annotate - [select for diffs], Wed May 13 17:20:29 2009 UTC (3 years ago) by jym
Branch: jym-xensuspend
Changes since 1.39: +5 -4 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.37.4.2 / (download) - annotate - [select for diffs], Mon May 4 08:13:01 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.37.4.1: +5 -4 lines
Diff to previous 1.37.4.1 (colored) to branchpoint 1.37 (colored)

sync with head.

Revision 1.39.8.1 / (download) - annotate - [select for diffs], Tue Apr 28 07:35:59 2009 UTC (3 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.39: +5 -4 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

Sync with HEAD.

Revision 1.40 / (download) - annotate - [select for diffs], Thu Apr 2 00:09:33 2009 UTC (3 years, 1 month ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.39: +5 -4 lines
Diff to previous 1.39 (colored)

During shutdown, detach devices in an orderly fashion.

Call the detach routine for every device in the device tree, starting
with the leaves and moving toward the root, expecting that each
(pseudo-)device driver will use the opportunity to gracefully commit
outstandings transactions to the underlying (pseudo-)device and to
relinquish control of the hardware to the system BIOS.

Detaching devices is not suitable for every shutdown: in an emergency,
or if the system state is inconsistent, we should resort to a fast,
simple shutdown that uses only the pmf(9) shutdown hooks and the
(deprecated) shutdownhooks.  For now, if the flag RB_NOSYNC is set in
boothowto, opt for the fast, simple shutdown.

Add a device flag, DVF_DETACH_SHUTDOWN, that indicates by its presence
that it is safe to detach a device during shutdown.  Introduce macros
CFATTACH_DECL3() and CFATTACH_DECL3_NEW() for creating autoconf
attachments with default device flags.  Add DVF_DETACH_SHUTDOWN
to configuration attachments for atabus(4), atw(4) at cardbus(4),
cardbus(4), cardslot(4), com(4) at isa(4), elanpar(4), elanpex(4),
elansc(4), gpio(4), npx(4) at isa(4), nsphyter(4), pci(4), pcib(4),
pcmcia(4), ppb(4), sip(4), wd(4), and wdc(4) at isa(4).

Add a device-detachment "reason" flag, DETACH_SHUTDOWN, that tells the
autoconf code and a device driver that the reason for detachment is
system shutdown.

Add a sysctl, kern.detachall, that tells the system to try to detach
every device at shutdown, regardless of any device's DVF_DETACH_SHUTDOWN
flag.  The default for kern.detachall is 0.  SET IT TO 1, PLEASE, TO
HELP TEST AND DEBUG DEVICE DETACHMENT AT SHUTDOWN.

This is a work in progress.  In future work, I aim to treat
pseudo-devices more thoroughly, and to gracefully tear down a stack of
(pseudo-)disk drivers and filesystems, including cgd(4), vnd(4), and
raid(4) instances at shutdown.

Also commit some changes that are not easily untangled from the rest:

(1) begin to simplify device_t locking: rename struct pmf_private to
device_lock, and incorporate device_lock into struct device.

(2) #include <sys/device.h> in sys/pmf.h in order to get some
definitions that it needs.  Stop unnecessarily #including <sys/device.h>
in sys/arch/x86/include/pic.h to keep the amd64, xen, and i386 releases
building.

Revision 1.36.10.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:43 2008 UTC (3 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.36.10.1: +7 -6 lines
Diff to previous 1.36.10.1 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored)

Sync with HEAD.

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:34:22 2008 UTC (4 years ago) by yamt
Branch: yamt-pf42
Changes since 1.37: +9 -8 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

sync with head.

Revision 1.37.4.1 / (download) - annotate - [select for diffs], Fri May 16 02:24:45 2008 UTC (4 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.37: +9 -8 lines
Diff to previous 1.37 (colored)

sync with head.

Revision 1.39 / (download) - annotate - [select for diffs], Sat May 3 05:44:06 2008 UTC (4 years ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-hppapmap-base2, 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-devfs2-base, matt-nb5-pq3-base, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, matt-nb5-pq3, matt-nb5-mips64, jym-xensuspend
Changes since 1.38: +8 -7 lines
Diff to previous 1.38 (colored)

device_t / softc split. Tested on amd64.
"looks good" spz

Revision 1.38 / (download) - annotate - [select for diffs], Sat May 3 05:02:41 2008 UTC (4 years ago) by cegger
Branch: MAIN
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored)

unuspported -> unsupported

Revision 1.36.10.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:53 2008 UTC (4 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.36: +29 -14 lines
Diff to previous 1.36 (colored)

Sync with HEAD.

Revision 1.36.6.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:15:49 2008 UTC (4 years, 2 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.36: +29 -14 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

sync with head.

Revision 1.34.24.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:50 2008 UTC (4 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.34.24.2: +29 -14 lines
Diff to previous 1.34.24.2 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored)

sync with HEAD

Revision 1.31.2.4 / (download) - annotate - [select for diffs], Wed Feb 27 08:36:36 2008 UTC (4 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.31.2.3: +29 -14 lines
Diff to previous 1.31.2.3 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored)

sync with head.

Revision 1.37 / (download) - annotate - [select for diffs], Fri Feb 22 22:15:31 2008 UTC (4 years, 3 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, hpcarm-cleanup-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp
Changes since 1.36: +29 -14 lines
Diff to previous 1.36 (colored)

Add methods for detaching self and for detaching children.

Use device_t and accessors.  Use aprint_*_dev().

Revision 1.31.2.3 / (download) - annotate - [select for diffs], Mon Jan 21 09:44:14 2008 UTC (4 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.31.2.2: +49 -7 lines
Diff to previous 1.31.2.2 (colored) to branchpoint 1.31 (colored)

sync with head

Revision 1.34.24.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:54:01 2008 UTC (4 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.34.24.1: +49 -7 lines
Diff to previous 1.34.24.1 (colored) to branchpoint 1.34 (colored)

sync with HEAD

Revision 1.35.6.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:47:07 2007 UTC (4 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.35: +49 -7 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

Sync with head.

Revision 1.35.8.1 / (download) - annotate - [select for diffs], Tue Dec 11 15:32:25 2007 UTC (4 years, 5 months ago) by yamt
Branch: yamt-kmem
Changes since 1.35: +49 -7 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

sync with head.

Revision 1.36 / (download) - annotate - [select for diffs], Sun Dec 9 20:28:13 2007 UTC (4 years, 5 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, vmlocking2-base3, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.35: +49 -7 lines
Diff to previous 1.35 (colored)

Merge jmcneill-pm branch.

Revision 1.34.22.10 / (download) - annotate - [select for diffs], Sat Dec 8 16:21:32 2007 UTC (4 years, 5 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.34.22.9: +3 -3 lines
Diff to previous 1.34.22.9 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored)

Rename pnp(9) -> pmf(9), as requested by many.

Revision 1.34.24.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:29:29 2007 UTC (4 years, 6 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.34: +26 -2 lines
Diff to previous 1.34 (colored)

sync with HEAD

Revision 1.34.22.9 / (download) - annotate - [select for diffs], Tue Nov 6 14:27:28 2007 UTC (4 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.34.22.8: +20 -20 lines
Diff to previous 1.34.22.8 (colored) to branchpoint 1.34 (colored)

Refactor PNP API:
- Make suspend/resume directly a device functionality. It consists of
  three layers (class logic, device logic, bus logic), all of them being
  optional. This replaces D0/D3 transitions.
- device_is_active returns true if the device was not disabled and was
  not suspended (even partially), device_is_enabled returns true if the
  device was enabled.
- Change pnp_global_transition into pnp_system_suspend and
  pnp_system_resume. Before running any suspend/resume handlers, check
  that all currently attached devices support power management and bail
  out otherwise. The latter is not done for the shutdown/panic case.
- Make the former bus-specific generic network handlers a class handler.
- Make PNP message like volume up/down/toogle PNP events. Each device
  can register what events they are interested in and whether the handler
  should be global or not.
- Introduce device_active API for devices to mark themselve in use from
  either the system or the device. Use this to implement the idle handling
  for audio and input devices. This is intended to replace most ad-hoc
  watchdogs as well.
- Fix somes situations in which audio resume would lose mixer settings.
- Make USB host controllers better deal with suspend in the light of
  shared interrupts.
- Flush filesystem cache on suspend.
- Flush disk caches on suspend. Put ATA disks into standby on suspend as
  well.
- Adopt drivers to use the new PNP API.
- Fix a critical bug in the generic cardbus layer that made D0->D3
  break.
- Fix ral(4) to set if_stop.
- Convert cbb(4) to the new PNP API.
- Apply the PCI Express SCI fix on resume again.

Revision 1.31.2.2 / (download) - annotate - [select for diffs], Sat Oct 27 11:33:28 2007 UTC (4 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.31.2.1: +26 -2 lines
Diff to previous 1.31.2.1 (colored) to branchpoint 1.31 (colored)

sync with head.

Revision 1.34.22.8 / (download) - annotate - [select for diffs], Fri Oct 26 15:46:53 2007 UTC (4 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.34.22.7: +4 -2 lines
Diff to previous 1.34.22.7 (colored) to branchpoint 1.34 (colored)

Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.34.8.1 / (download) - annotate - [select for diffs], Tue Oct 23 20:09:16 2007 UTC (4 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.34: +26 -2 lines
Diff to previous 1.34 (colored) next main 1.35 (colored)

Sync with head.

Revision 1.34.26.1 / (download) - annotate - [select for diffs], Thu Oct 18 08:33:08 2007 UTC (4 years, 7 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.34: +26 -2 lines
Diff to previous 1.34 (colored) next main 1.35 (colored)

sync with head.

Revision 1.35 / (download) - annotate - [select for diffs], Tue Oct 16 18:27:00 2007 UTC (4 years, 7 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-kmem-base, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, mjf-devfs, jmcneill-pm-base, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: yamt-kmem, vmlocking2
Changes since 1.34: +26 -2 lines
Diff to previous 1.34 (colored)

Merge 1.34.22.7 from jmcneill-pm:
Next attempt at trying to fix the irregular interrupt storms on my
Thinkpad: when we find a PCI Express device, check the list of
notification events and if any are sets, clear them. We can't handle
them ATM anyway.

Revision 1.34.22.7 / (download) - annotate - [select for diffs], Mon Oct 8 07:05:46 2007 UTC (4 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.34.22.6: +26 -2 lines
Diff to previous 1.34.22.6 (colored) to branchpoint 1.34 (colored)

Next attempt at trying to fix the irregular interrupt storms on my
Thinkpad: when we find a PCI Express device, check the list of
notification events and if any are sets, clear them. We can't handle
them ATM anyway.

Revision 1.34.22.6 / (download) - annotate - [select for diffs], Thu Oct 4 18:12:06 2007 UTC (4 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.34.22.5: +2 -62 lines
Diff to previous 1.34.22.5 (colored) to branchpoint 1.34 (colored)

Remove SCI hack as the ACPI EC issues are fixed and those were the
likely source of this problem.

Revision 1.34.22.5 / (download) - annotate - [select for diffs], Mon Oct 1 05:37:55 2007 UTC (4 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.34.22.4: +28 -49 lines
Diff to previous 1.34.22.4 (colored) to branchpoint 1.34 (colored)

Extend device API by device_power_private and device_power_set_private.
The latter is a temporary mean until the pnp_register API itself is
overhault. This functions allow a generic power handler to store its
state independent of the driver.

Use this and revamp the PCI power handling. Pretty much all PCI devices
had power handlers that did the same thing, generalize this in
pci_generic_power_register/deregister and the handler. This interface
offers callbacks for the drivers to save and restore state on
transistions. After a long discussion with jmcneill@ it was considered
to be powerful enough until evidence is shown that devices can handle
D1/D2 with less code and higher speed than without the full
save/restore. The generic code is carefully written to handle device
without PCI-PM support and ensure that the correct registers are written
to when D3 loses all state.

Reimplement the generic PCI network device handling on
top of PCI generic power handling.

Introduce pci_disable_retry as used and implemented locally at least by
ath(4) and iwi(4). Use it in this drivers to restore behaviour from
before the introduction of generic PCI network handling.

Convert all PCI drivers that were using pnp_register to the new
framework. The only exception is vga(4) as it is commonly used as
console device. Add a note therein that this should be fixed later.

Revision 1.34.22.4 / (download) - annotate - [select for diffs], Tue Sep 4 15:11:21 2007 UTC (4 years, 8 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.34.22.3: +33 -6 lines
Diff to previous 1.34.22.3 (colored) to branchpoint 1.34 (colored)

Disable PCI-E SCI on all ICH6+ chipsets.

Revision 1.34.22.3 / (download) - annotate - [select for diffs], Tue Aug 21 06:55:31 2007 UTC (4 years, 9 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.34.22.2: +36 -2 lines
Diff to previous 1.34.22.2 (colored) to branchpoint 1.34 (colored)

Disable SCI on the ICH6 PCI Express Ports -- if the BIOS enabled it
and such an event happened, the resulting interrupt storm would at
best keep the CPU over 40% busy and otherwise hang the box.

This is a bandaid until proper PCI Express support exists.

Revision 1.34.22.2 / (download) - annotate - [select for diffs], Wed Aug 8 11:53:25 2007 UTC (4 years, 9 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.34.22.1: +15 -2 lines
Diff to previous 1.34.22.1 (colored) to branchpoint 1.34 (colored)

Improve ppb power management support.

Revision 1.34.22.1 / (download) - annotate - [select for diffs], Fri Aug 3 22:17:21 2007 UTC (4 years, 9 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.34: +49 -2 lines
Diff to previous 1.34 (colored)

Pull in power management changes from private branch.

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Sat Dec 30 20:48:48 2006 UTC (5 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.31: +4 -3 lines
Diff to previous 1.31 (colored)

sync with head.

Revision 1.32.22.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:17:47 2006 UTC (5 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.32.22.1: +4 -4 lines
Diff to previous 1.32.22.1 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored)

sync with head.

Revision 1.32.20.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:33 2006 UTC (5 years, 6 months ago) by ad
Branch: newlock2
Changes since 1.32: +4 -3 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

Sync with head.

Revision 1.34 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:10 2006 UTC (5 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, vmlocking-base, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, post-newlock2-merge, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, 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, mjf-ufs-trans-base, mjf-ufs-trans, matt-nb4-arm-base, matt-nb4-arm, matt-mips64-base, matt-mips64, hpcarm-cleanup, ad-audiomp-base, ad-audiomp
Branch point for: yamt-x86pmap, vmlocking, matt-armv6, jmcneill-pm
Changes since 1.33: +4 -4 lines
Diff to previous 1.33 (colored)

__unused removal on arguments; approved by core.

Revision 1.32.22.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:06:19 2006 UTC (5 years, 7 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.32: +5 -4 lines
Diff to previous 1.32 (colored)

sync with head

Revision 1.33 / (download) - annotate - [select for diffs], Thu Oct 12 01:31:33 2006 UTC (5 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.32: +5 -4 lines
Diff to previous 1.32 (colored)

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.32 / (download) - annotate - [select for diffs], Sun Dec 11 12:22:50 2005 UTC (6 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base, 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, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, peter-altq-base, peter-altq, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

merge ktrace-lwp.

Revision 1.26.2.6 / (download) - annotate - [select for diffs], Thu Nov 10 14:06:03 2005 UTC (6 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.26.2.5: +9 -17 lines
Diff to previous 1.26.2.5 (colored) next main 1.27 (colored)

Sync with HEAD. Here we go again...

Revision 1.31 / (download) - annotate - [select for diffs], Tue Jun 28 00:28:42 2005 UTC (6 years, 10 months ago) by thorpej
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, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Branch point for: yamt-lazymbuf
Changes since 1.30: +9 -17 lines
Diff to previous 1.30 (colored)

Use ANSI function decls and static.

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

sync with -current

Revision 1.29.6.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.29: +4 -4 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

sync with head.

Revision 1.26.2.5 / (download) - annotate - [select for diffs], Fri Feb 4 11:46:40 2005 UTC (7 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.26.2.4: +4 -4 lines
Diff to previous 1.26.2.4 (colored)

Sync with HEAD.

Revision 1.30 / (download) - annotate - [select for diffs], Fri Feb 4 02:10:45 2005 UTC (7 years, 3 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, netbsd-3-base, 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, netbsd-3, matt-timespec, kent-audio2-base
Changes since 1.29: +4 -4 lines
Diff to previous 1.29 (colored)

de-__P

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

Fix the sync with head I botched.

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

Sync with HEAD.

Revision 1.26.2.2 / (download) - annotate - [select for diffs], Fri Sep 3 12:45:29 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.26.2.1: +3 -20 lines
Diff to previous 1.26.2.1 (colored)

Sync with HEAD

Revision 1.29 / (download) - annotate - [select for diffs], Mon Aug 30 15:05:20 2004 UTC (7 years, 8 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.28: +3 -20 lines
Diff to previous 1.28 (colored)

Phase out the use of a string as first "attach args" member to control
which bustype should be attached with a specific call to config_found()
(from a "mainbus" or a bus bridge).
Do it for isa/eisa/mca and pci/agp for now. These buses all attach to
an mi interface attribute "isabus", "eisabus" etc., and the autoconf
framework now allows to specify an interface attribute on config_found()
and config_search(), which limits the search of matching config data
to these which attach to that specific attribute.
So we basically have to call config_found_ia(..., "foobus", ...) where
such a bus is attached.
As a consequence, where a "mainbus" or alike also attaches other
devices (eg CPUs) which do not attach to a specific attribute yet,
we need at least pass an attribute name (different from "foobus") so
that the foo bus is not found at these places. This made some minor
changes necessary which are not obviously related to the mentioned buses.

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

Sync with HEAD

Revision 1.28 / (download) - annotate - [select for diffs], Fri Apr 23 21:13:07 2004 UTC (8 years, 1 month ago) by itojun
Branch: MAIN
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)

pass string length (= boundary info) to pci_devinfo so that we do not run over
the end of memory region

Revision 1.27 / (download) - annotate - [select for diffs], Tue Dec 9 19:51:39 2003 UTC (8 years, 5 months ago) by briggs
Branch: MAIN
CVS Tags: 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
Changes since 1.26: +6 -4 lines
Diff to previous 1.26 (colored)

Use aprint_*()

Revision 1.26 / (download) - annotate - [select for diffs], Sun Jun 15 23:09:09 2003 UTC (8 years, 11 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.25: +3 -2 lines
Diff to previous 1.25 (colored)

Handle 64bit DMA addresses on PCI for platforms that can (currently only
enabled on amd64). Add a dmat64 field to various PCI attach structures,
and pass it down where needed. Implement a simple new function called
pci_dma64_available(pa) to test if 64bit DMA addresses may be used.
This returns 1 iff _PCI_HAVE_DMA64 is defined in <machine/pci_machdep.h>,
and there is more than 4G of memory.

Revision 1.19.6.4 / (download) - annotate - [select for diffs], Fri Jan 3 17:08:03 2003 UTC (9 years, 4 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.19.6.3: +4 -4 lines
Diff to previous 1.19.6.3 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored)

Sync with HEAD.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Jan 1 00:10:23 2003 UTC (9 years, 4 months ago) by thorpej
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Changes since 1.24: +4 -4 lines
Diff to previous 1.24 (colored)

Use aprint_normal() in cfprint routines.

Revision 1.19.6.3 / (download) - annotate - [select for diffs], Fri Oct 18 02:43:19 2002 UTC (9 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.19.6.2: +4 -5 lines
Diff to previous 1.19.6.2 (colored) to branchpoint 1.19 (colored)

Catch up to -current.

Revision 1.19.8.3 / (download) - annotate - [select for diffs], Thu Oct 10 18:41:13 2002 UTC (9 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.19.8.2: +4 -5 lines
Diff to previous 1.19.8.2 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored)

sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.24 / (download) - annotate - [select for diffs], Wed Oct 2 16:51:54 2002 UTC (9 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

Add trailing ; to CFATTACH_DECL.

Revision 1.23 / (download) - annotate - [select for diffs], Mon Sep 30 20:38:01 2002 UTC (9 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.22: +4 -5 lines
Diff to previous 1.22 (colored)

Use CFATTACH_DECL().

Revision 1.22 / (download) - annotate - [select for diffs], Fri Sep 27 20:40:41 2002 UTC (9 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

Declare all cfattach structures const.

Revision 1.19.8.2 / (download) - annotate - [select for diffs], Sun Jun 23 17:48:03 2002 UTC (9 years, 11 months ago) by jdolecek
Branch: kqueue
Changes since 1.19.8.1: +14 -3 lines
Diff to previous 1.19.8.1 (colored) to branchpoint 1.19 (colored)

catch up with -current on kqueue branch

Revision 1.19.6.2 / (download) - annotate - [select for diffs], Thu Jun 20 03:45:53 2002 UTC (9 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.19.6.1: +14 -3 lines
Diff to previous 1.19.6.1 (colored) to branchpoint 1.19 (colored)

Catch up to -current.

Revision 1.21.2.2 / (download) - annotate - [select for diffs], Thu May 16 01:01:31 2002 UTC (10 years ago) by thorpej
Branch: gehenna-devsw
Changes since 1.21.2.1: +150 -0 lines
Diff to previous 1.21.2.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

* Add "pcitag_t *pba_bridgetag" to pci_attach_args.  This is set to
  NULL for root PCI busses.  For busses behind a bridge, it points to
  a persistent copy of the bridge's pcitag_t.  This can be very useful
  for machine-dependent PCI bus enumeration code.
* Implement a machine-dependent pci_enumerate_bus() for sparc64 which
  uses OFW device nodes to enumerate the bus.  When a PCI bus that is
  behind a bridge is attached, pci_attach_hook() allocates a new PCI
  chipset tag for the new bus and sets it's "curnode" to the OFW node
  of the bridge.  This is used as a starting point when enumerating
  that bus.  Root busses get the OFW node of the host bridge (psycho).
* Garbage-collect "ofpci" and "ofppb" from the sparc64 port.

Revision 1.21.2.1, Thu May 16 01:01:30 2002 UTC (10 years ago) by thorpej
Branch: gehenna-devsw
Changes since 1.21: +0 -150 lines
FILE REMOVED

file ppb.c was added on branch gehenna-devsw on 2002-05-16 01:01:31 +0000

Revision 1.21 / (download) - annotate - [select for diffs], Thu May 16 01:01:30 2002 UTC (10 years ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-6-base, 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, netbsd-1-6, gehenna-devsw-base
Branch point for: gehenna-devsw
Changes since 1.20: +14 -3 lines
Diff to previous 1.20 (colored)

* Add "pcitag_t *pba_bridgetag" to pci_attach_args.  This is set to
  NULL for root PCI busses.  For busses behind a bridge, it points to
  a persistent copy of the bridge's pcitag_t.  This can be very useful
  for machine-dependent PCI bus enumeration code.
* Implement a machine-dependent pci_enumerate_bus() for sparc64 which
  uses OFW device nodes to enumerate the bus.  When a PCI bus that is
  behind a bridge is attached, pci_attach_hook() allocates a new PCI
  chipset tag for the new bus and sets it's "curnode" to the OFW node
  of the bridge.  This is used as a starting point when enumerating
  that bus.  Root busses get the OFW node of the host bridge (psycho).
* Garbage-collect "ofpci" and "ofppb" from the sparc64 port.

Revision 1.19.8.1 / (download) - annotate - [select for diffs], Thu Jan 10 19:57:03 2002 UTC (10 years, 4 months ago) by thorpej
Branch: kqueue
Changes since 1.19: +4 -1 lines
Diff to previous 1.19 (colored)

Sync kqueue branch with -current.

Revision 1.19.6.1 / (download) - annotate - [select for diffs], Wed Nov 14 19:15:29 2001 UTC (10 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.19: +4 -1 lines
Diff to previous 1.19 (colored)

Catch up to -current.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Nov 13 07:48:48 2001 UTC (10 years, 6 months ago) by lukem
Branch: MAIN
CVS Tags: newlock-base, newlock, ifpoll-base, ifpoll, eeh-devprop-base, eeh-devprop
Changes since 1.19: +4 -1 lines
Diff to previous 1.19 (colored)

add RCSID

Revision 1.18.14.1 / (download) - annotate - [select for diffs], Mon Nov 20 11:42:36 2000 UTC (11 years, 6 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.18: +5 -2 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.

Revision 1.18.20.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:35:24 1999 UTC (12 years, 5 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.18: +5 -2 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Pull up to last week's -current.

Revision 1.18.16.1 / (download) - annotate - [select for diffs], Mon Nov 15 00:41:11 1999 UTC (12 years, 6 months ago) by fvdl
Branch: fvdl-softdep
Changes since 1.18: +5 -2 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Sync with -current

Revision 1.19 / (download) - annotate - [select for diffs], Thu Nov 4 19:04:04 1999 UTC (12 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf, netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl, fvdl-softdep-base, chs-ubc2-newbase
Branch point for: nathanw_sa, kqueue
Changes since 1.18: +5 -2 lines
Diff to previous 1.18 (colored)

Don't pass rd/mult capability though a PCI-PCI bridge.  The bridge would
have to break it up into mutliple rd/line's anyhow, so why bother letting
the device issue it in the first place.

Revision 1.18 / (download) - annotate - [select for diffs], Mon Jun 8 06:55:57 1998 UTC (13 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kenh-if-detach-base, kenh-if-detach, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, eeh-paddr_t-base, eeh-paddr_t, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-base, chs-ubc2, chs-ubc-base, chs-ubc
Branch point for: wrstuden-devbsize, thorpej_scsipi, fvdl-softdep
Changes since 1.17: +1 -9 lines
Diff to previous 1.17 (colored)

Nuke __BROKEN_INDIRECT_CONFIG.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Mar 4 06:31:46 1998 UTC (14 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.16: +3 -13 lines
Diff to previous 1.16 (colored)

clean up slightly, correct a few comments

Revision 1.16.2.2 / (download) - annotate - [select for diffs], Mon Jan 12 09:40:13 1998 UTC (14 years, 4 months ago) by thorpej
Branch: bouyer-scsipi
Changes since 1.16.2.1: +151 -0 lines
Diff to previous 1.16.2.1 (colored) next main 1.17 (colored)

Update for config changes.

Revision 1.16.2.1, Mon Jan 12 09:40:12 1998 UTC (14 years, 4 months ago) by thorpej
Branch: bouyer-scsipi
Changes since 1.16: +0 -151 lines
FILE REMOVED

file ppb.c was added on branch bouyer-scsipi on 1998-01-12 09:40:13 +0000

Revision 1.16 / (download) - annotate - [select for diffs], Mon Jan 12 09:40:12 1998 UTC (14 years, 4 months ago) by thorpej
Branch: MAIN
Branch point for: bouyer-scsipi
Changes since 1.15: +1 -5 lines
Diff to previous 1.15 (colored)

Update for config changes.

Revision 1.15.4.2 / (download) - annotate - [select for diffs], Mon Sep 1 20:29:55 1997 UTC (14 years, 8 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.15.4.1: +155 -0 lines
Diff to previous 1.15.4.1 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.15.2.2 / (download) - annotate - [select for diffs], Sat Aug 30 06:53:59 1997 UTC (14 years, 8 months ago) by mycroft
Branch: thorpej-bus-dma
Changes since 1.15.2.1: +155 -0 lines
Diff to previous 1.15.2.1 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

Pass down bus_dma_tag_t's as appropriate (per Jason's bus_dma code).

Revision 1.15.4.1, Sat Aug 30 06:53:58 1997 UTC (14 years, 8 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.15: +0 -155 lines
FILE REMOVED

file ppb.c was added on branch marc-pcmcia on 1997-09-01 20:29:55 +0000

Revision 1.15.2.1, Sat Aug 30 06:53:58 1997 UTC (14 years, 8 months ago) by mycroft
Branch: thorpej-bus-dma
Changes since 1.15: +0 -155 lines
FILE REMOVED

file ppb.c was added on branch thorpej-bus-dma on 1997-08-30 06:53:59 +0000

Revision 1.15 / (download) - annotate - [select for diffs], Sat Aug 30 06:53:58 1997 UTC (14 years, 8 months ago) by mycroft
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, thorpej-bus-dma-base, netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3, marc-pcmcia-bp, marc-pcmcia-base
Branch point for: thorpej-bus-dma, marc-pcmcia
Changes since 1.14: +2 -1 lines
Diff to previous 1.14 (colored)

Pass down bus_dma_tag_t's as appropriate (per Jason's bus_dma code).

Revision 1.14 / (download) - annotate - [select for diffs], Sat Aug 30 06:51:07 1997 UTC (14 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.13: +2 -1 lines
Diff to previous 1.13 (colored)

Pass the I/O and memory enable flags through the bridge.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Dec 5 01:25:31 1996 UTC (15 years, 5 months ago) by cgd
Branch: MAIN
CVS Tags: thorpej-setroot, mrg-vm-swap, is-newarp-before-merge, is-newarp-base, is-newarp
Changes since 1.12: +11 -2 lines
Diff to previous 1.12 (colored)

update these so they compile whether or not __BROKEN_INDIRECT_CONFIG
is defined.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Oct 21 22:57:00 1996 UTC (15 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.11: +3 -2 lines
Diff to previous 1.11 (colored)

New bus.h implementation/interface:
	- No more distinction between i/o-mapped and memory-mapped
	  devices.  It's all "bus space" now, and space tags
	  differentiate the space with finer grain than the
	  bus chipset tag.
	- Add memory barrier methods.
	- Implement space alloc/free methods.
	- Implement region read/write methods (like memcpy to/from
	  bus space).
This interface provides a better abstraction for dealing with
machine-independent chipset drivers.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Oct 13 01:38:30 1996 UTC (15 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.10: +5 -5 lines
Diff to previous 1.10 (colored)

backout kprintf changes

Revision 1.10 / (download) - annotate - [select for diffs], Thu Oct 10 19:58:27 1996 UTC (15 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.9: +5 -5 lines
Diff to previous 1.9 (colored)

printf -> kprintf, sprintf -> ksprintf

Revision 1.9 / (download) - annotate - [select for diffs], Tue Aug 27 21:59:53 1996 UTC (15 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

change cfprint_t type definition to take a const char *, rather than
a char *, because that's what was really intended, and because
if the print function modifies the string, various things could become
unhappy (so the string should _not_ be modified).

Revision 1.8 / (download) - annotate - [select for diffs], Fri May 3 17:33:51 1996 UTC (16 years ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.7: +1 -2 lines
Diff to previous 1.7 (colored)

remove unused variables

Revision 1.7 / (download) - annotate - [select for diffs], Wed Mar 27 04:08:34 1996 UTC (16 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.6: +16 -11 lines
Diff to previous 1.6 (colored)

modify these to provide a new, better-specified PCI interface
(soon to be documented on mailing lists; eventually in section 9 manual
pages), most importantly:
	(1) support interrupt pin swizzling on non-i386 systems with
	    PCI-PCI bridges (per PPB spec; done, but meaningless, on i386).
	(2) provide pci_{io,mem}_find(), to determine what I/O or memory
	    space is described by a given PCI configuration space
	    mapping register.
	(3) provide pci_intr_map(), pci_intr_string(), and
	    pci_intr_{,dis}establish() to manipulate and print info about
	    PCI interrupts.
	(4) make pci functions take as an argument a machine-dependent
	    cookie, to allow more flexibility in implementation.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Mar 17 01:47:52 1996 UTC (16 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

spacing nit

Revision 1.5 / (download) - annotate - [select for diffs], Sun Mar 17 00:55:39 1996 UTC (16 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.4: +7 -3 lines
Diff to previous 1.4 (colored)

New device attachment scheme:

	- split softc size and match/attach out from cfdriver into
	  a new struct cfattach.

	- new "attach" directive for files.*.  May specify the name of
	  the cfattach structure, so that devices may be easily attached
	  to parents with different autoconfiguration semantics.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Mar 14 04:03:03 1996 UTC (16 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.3: +5 -23 lines
Diff to previous 1.3 (colored)

These devices don't actually need softc's that are supersets of 'struct
device.'  No point in adding that complexity + space if they're not needed,
so axe them.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Mar 14 02:35:34 1996 UTC (16 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.2: +1 -2 lines
Diff to previous 1.2 (colored)

(1) provide #defines for cf_loc[] entries for devices that attach to
    pcibus and pci.
(2) remove the #ifdef i386 from pci.c, and provide a machine-dependent
    hook (pci_md_attach_hook()) to do any machine-dependent attachment
    gunk, e.g. on the i386 printing out the configuration mode (if bus 0)
(3) don't pass max device number for a given bus in, use
    PCI_MAX_DEVICE_NUMBER, which can be defined on a per-machine basis.
    (defaults to 32.  on i386, it's 32 if pci conf mode == 1, 16 if 2.)

Revision 1.2 / (download) - annotate - [select for diffs], Mon Mar 4 17:02:46 1996 UTC (16 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

fix aux argument to config_found() for secondary bus.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Feb 28 01:46:32 1996 UTC (16 years, 3 months ago) by cgd
Branch: MAIN

Preliminary support for PCI-PCI bridges.  Recognize a PCI-PCI bridge
and attach the secondary pci bus as a 'pci' device.  Note that this support
is incomplete and will not yet work for ports other than that i386.  (The
i386 can rely on the PCI interrupt 'line' information to determine
interrupt mapping, which is not necessarily possible on other systems.)

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>