The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.57.4.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.57: +26 -2 lines
Diff to previous 1.57 (colored) next main 1.58 (colored)

sync with head

Revision 1.47.4.2 / (download) - annotate - [select for diffs], Sat Mar 17 19:05:39 2012 UTC (2 months, 1 week ago) by bouyer
Branch: netbsd-5
Changes since 1.47.4.1: +26 -2 lines
Diff to previous 1.47.4.1 (colored) to branchpoint 1.47 (colored) next main 1.48 (colored)

Pull up following revision(s) (requested by sborrill in ticket #1739):
	sys/dev/pci/piixide.c: revision 1.58
	sys/dev/pci/pcidevs: patch
Add support for Intel 6 Series Serial ATA Controller

Revision 1.57.10.1 / (download) - annotate - [select for diffs], Wed Mar 7 23:33:10 2012 UTC (2 months, 2 weeks ago) by riz
Branch: netbsd-6
Changes since 1.57: +26 -2 lines
Diff to previous 1.57 (colored) next main 1.58 (colored)

Pull up following revision(s) (requested by sborrill in ticket #98):
	sys/dev/pci/piixide.c: revision 1.58
Add support for Intel 6 Series Serial ATA Controller

Revision 1.57.8.1 / (download) - annotate - [select for diffs], Tue Mar 6 18:26:44 2012 UTC (2 months, 2 weeks ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.57: +26 -2 lines
Diff to previous 1.57 (colored) next main 1.58 (colored)

sync to -current

Revision 1.58 / (download) - annotate - [select for diffs], Mon Mar 5 16:21:44 2012 UTC (2 months, 2 weeks ago) by sborrill
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, HEAD
Changes since 1.57: +26 -2 lines
Diff to previous 1.57 (colored)

Add support for Intel 6 Series Serial ATA Controller

Revision 1.56.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:08:25 2011 UTC (11 months, 2 weeks ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.56: +8 -6 lines
Diff to previous 1.56 (colored) next main 1.57 (colored)

Sync with HEAD.

Revision 1.54.2.2 / (download) - annotate - [select for diffs], Thu Apr 21 01:42:00 2011 UTC (13 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.54.2.1: +6 -4 lines
Diff to previous 1.54.2.1 (colored) to branchpoint 1.54 (colored) next main 1.55 (colored)

sync with head

Revision 1.57 / (download) - annotate - [select for diffs], Mon Apr 4 20:37:56 2011 UTC (13 months, 3 weeks ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, netbsd-6-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache, netbsd-6, jmcneill-usbmp
Changes since 1.56: +8 -6 lines
Diff to previous 1.56 (colored)

Neither pci_dma64_available(), pci_probe_device(), pci_mapreg_map(9),
pci_find_rom(), pci_intr_map(9), pci_enumerate_bus(), nor the match
predicate passed to pciide_compat_intr_establish() should ever modify
their pci_attach_args argument, so make their pci_attach_args arguments
const and deal with the fallout throughout the kernel.

For the most part, these changes add a 'const' where there was no
'const' before, however, some drivers and MD code used to modify
pci_attach_args.  Now those drivers either copy their pci_attach_args
and modify the copy, or refrain from modifying pci_attach_args:

Xen: according to Manuel Bouyer, writing to pci_attach_args in
    pci_intr_map() was a leftover from Xen 2.  Probably a bug.  I
    stopped writing it.  I have not tested this change.

siside(4): sis_hostbr_match() needlessly wrote to pci_attach_args.
    Probably a bug.  I use a temporary variable.  I have not tested this
    change.

slide(4): sl82c105_chip_map() overwrote the caller's pci_attach_args.
    Probably a bug.  Use a local pci_attach_args.  I have not tested
    this change.

viaide(4): via_sata_chip_map() and via_sata_chip_map_new() overwrote the
    caller's pci_attach_args.  Probably a bug.  Make a local copy of the
    caller's pci_attach_args and modify the copy.  I have not tested
    this change.

While I'm here, make pci_mapreg_submap() static.

With these changes in place, I have tested the compilation of these
kernels:

alpha GENERIC
amd64 GENERIC XEN3_DOM0
arc GENERIC
atari HADES MILAN-PCIIDE
bebox GENERIC
cats GENERIC
cobalt GENERIC
evbarm-eb NSLU2
evbarm-el ADI_BRH ARMADILLO9 CP3100 GEMINI GEMINI_MASTER GEMINI_SLAVE GUMSTIX
	HDL_G IMX31LITE INTEGRATOR IQ31244 IQ80310 IQ80321 IXDP425 IXM1200
	KUROBOX_PRO LUBBOCK MARVELL_NAS NAPPI SHEEVAPLUG SMDK2800 TEAMASA_NPWR
	TEAMASA_NPWR_FC TS7200 TWINTAIL ZAO425
evbmips-el AP30 DBAU1500 DBAU1550 MALTA MERAKI MTX-1 OMSAL400 RB153 WGT624V3
evbmips64-el XLSATX
evbppc EV64260 MPC8536DS MPC8548CDS OPENBLOCKS200 OPENBLOCKS266
	OPENBLOCKS266_OPT P2020RDB PMPPC RB800 WALNUT
hp700 GENERIC
i386 ALL XEN3_DOM0 XEN3_DOMU
ibmnws GENERIC
macppc GENERIC
mvmeppc GENERIC
netwinder GENERIC
ofppc GENERIC
prep GENERIC
sandpoint GENERIC
sgimips GENERIC32_IP2x
sparc GENERIC_SUN4U KRUPS
sparc64 GENERIC

As of Sun Apr 3 15:26:26 CDT 2011, I could not compile these kernels
with or without my patches in place:

### evbmips-el GDIUM

nbmake: nbmake: don't know how to make /home/dyoung/pristine-nbsd/src/sys/arch/mips/mips/softintr.c. Stop

### evbarm-el MPCSA_GENERIC
src/sys/arch/evbarm/conf/MPCSA_GENERIC:318: ds1672rtc*: unknown device `ds1672rtc'

### ia64 GENERIC

/tmp/genassym.28085/assym.c: In function 'f111':
/tmp/genassym.28085/assym.c:67: error: invalid application of 'sizeof' to incomplete type 'struct pcb'
/tmp/genassym.28085/assym.c:76: error: dereferencing pointer to incomplete type

### sgimips GENERIC32_IP3x

crmfb.o: In function `crmfb_attach':
crmfb.c:(.text+0x2304): undefined reference to `ddc_read_edid'
crmfb.c:(.text+0x2304): relocation truncated to fit: R_MIPS_26 against `ddc_read_edid'
crmfb.c:(.text+0x234c): undefined reference to `edid_parse'
crmfb.c:(.text+0x234c): relocation truncated to fit: R_MIPS_26 against `edid_parse'
crmfb.c:(.text+0x2354): undefined reference to `edid_print'
crmfb.c:(.text+0x2354): relocation truncated to fit: R_MIPS_26 against `edid_print'

Revision 1.54.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.54: +12 -16 lines
Diff to previous 1.54 (colored)

sync with head

Revision 1.53.2.3 / (download) - annotate - [select for diffs], Sat Nov 6 08:08:31 2010 UTC (18 months, 2 weeks ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.53.2.2: +4 -8 lines
Diff to previous 1.53.2.2 (colored) to branchpoint 1.53 (colored) next main 1.54 (colored)

Sync with HEAD.

Revision 1.56 / (download) - annotate - [select for diffs], Fri Nov 5 18:07:24 2010 UTC (18 months, 2 weeks ago) by jakllsch
Branch: MAIN
CVS Tags: uebayasi-xip-base4, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.55: +4 -8 lines
Diff to previous 1.55 (colored)

Pave the way for detachment of pciide(4)-family ATA controllers.

Revision 1.53.2.2 / (download) - annotate - [select for diffs], Tue Aug 17 06:46:33 2010 UTC (21 months, 1 week ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.53.2.1: +8 -8 lines
Diff to previous 1.53.2.1 (colored) to branchpoint 1.53 (colored)

Sync with HEAD.

Revision 1.46.4.3 / (download) - annotate - [select for diffs], Wed Aug 11 22:54:04 2010 UTC (21 months, 2 weeks ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.46.4.2: +10 -10 lines
Diff to previous 1.46.4.2 (colored) to branchpoint 1.46 (colored) next main 1.47 (colored)

sync with head.

Revision 1.55 / (download) - annotate - [select for diffs], Fri Jul 30 15:28:09 2010 UTC (21 months, 3 weeks ago) by njoly
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base3, uebayasi-xip-base2
Changes since 1.54: +10 -10 lines
Diff to previous 1.54 (colored)

Adjust for Intel ICH10 devices update.

Revision 1.53.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.53: +6 -6 lines
Diff to previous 1.53 (colored)

Sync with HEAD.

Revision 1.47.12.1 / (download) - annotate - [select for diffs], Wed Apr 21 00:27:49 2010 UTC (2 years, 1 month ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.47: +44 -2 lines
Diff to previous 1.47 (colored) next main 1.48 (colored)

sync to netbsd-5

Revision 1.46.4.2 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:58 2010 UTC (2 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.46.4.1: +48 -11 lines
Diff to previous 1.46.4.1 (colored) to branchpoint 1.46 (colored)

sync with head

Revision 1.54 / (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, uebayasi-xip-base1
Branch point for: rmind-uvmplock
Changes since 1.53: +6 -6 lines
Diff to previous 1.53 (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.53 / (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.52: +6 -6 lines
Diff to previous 1.52 (colored)

Expand PMF_FN_* macros.

Revision 1.47.4.1 / (download) - annotate - [select for diffs], Fri Dec 18 05:48:07 2009 UTC (2 years, 5 months ago) by snj
Branch: netbsd-5
CVS Tags: 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, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.47: +44 -2 lines
Diff to previous 1.47 (colored)

Pull up following revision(s) (requested by sborrill in ticket #1175):
	sys/dev/pci/piixide.c: revision 1.52
Add support for Intel 3400 SATA

Revision 1.52 / (download) - annotate - [select for diffs], Mon Nov 30 09:33:48 2009 UTC (2 years, 5 months ago) by sborrill
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.51: +44 -2 lines
Diff to previous 1.51 (colored)

Add support for Intel 3400 SATA

Revision 1.51 / (download) - annotate - [select for diffs], Mon Oct 19 18:41:16 2009 UTC (2 years, 7 months ago) by bouyer
Branch: MAIN
CVS Tags: jym-xensuspend-nbase
Changes since 1.50: +2 -7 lines
Diff to previous 1.50 (colored)

Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen
for the booring work !

Revision 1.47.8.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.47: +31 -12 lines
Diff to previous 1.47 (colored) next main 1.48 (colored)

Sync with HEAD.

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

Revision 1.46.4.1 / (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.46: +51 -12 lines
Diff to previous 1.46 (colored)

sync with head.

Revision 1.47.2.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:35:59 2009 UTC (3 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.47.2.1: +11 -12 lines
Diff to previous 1.47.2.1 (colored) to branchpoint 1.47 (colored) next main 1.48 (colored)

Sync with HEAD.

Revision 1.50 / (download) - annotate - [select for diffs], Sat Mar 14 15:36:19 2009 UTC (3 years, 2 months ago) by dsl
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, jymxensuspend-base, jym-xensuspend-base
Changes since 1.49: +5 -12 lines
Diff to previous 1.49 (colored)

Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)

Revision 1.49 / (download) - annotate - [select for diffs], Mon Mar 9 13:13:25 2009 UTC (3 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.48: +8 -2 lines
Diff to previous 1.48 (colored)

Match Inter 82965PM, from Anon Ymous

Revision 1.47.2.1 / (download) - annotate - [select for diffs], Tue Mar 3 18:31:09 2009 UTC (3 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.47: +22 -2 lines
Diff to previous 1.47 (colored)

Sync with HEAD.

Revision 1.48 / (download) - annotate - [select for diffs], Wed Feb 11 06:39:43 2009 UTC (3 years, 3 months ago) by markd
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Changes since 1.47: +22 -2 lines
Diff to previous 1.47 (colored)

Add some more ICH9 SATA controller variants.

Revision 1.46.10.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:16:40 2008 UTC (3 years, 7 months ago) by haad
Branch: haad-dm
Changes since 1.46: +22 -2 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

Sync with HEAD.

Revision 1.46.6.1 / (download) - annotate - [select for diffs], Fri Oct 10 22:32:17 2008 UTC (3 years, 7 months ago) by skrll
Branch: wrstuden-revivesa
Changes since 1.46: +22 -2 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

Sync with HEAD.

Revision 1.44.6.2 / (download) - annotate - [select for diffs], Sun Oct 5 20:11:30 2008 UTC (3 years, 7 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.44.6.1: +20 -0 lines
Diff to previous 1.44.6.1 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored)

Sync with HEAD.

Revision 1.47 / (download) - annotate - [select for diffs], Wed Oct 1 15:38:15 2008 UTC (3 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, netbsd-5-base, 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, mjf-devfs2-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, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, netbsd-5, matt-nb5-mips64, jym-xensuspend
Changes since 1.46: +22 -2 lines
Diff to previous 1.46 (colored)

ICH10 support from Brad du Plessis

Revision 1.19.2.5 / (download) - annotate - [select for diffs], Tue Apr 8 21:29:46 2008 UTC (4 years, 1 month ago) by jdc
Branch: netbsd-3
Changes since 1.19.2.4: +11 -1 lines
Diff to previous 1.19.2.4 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored)

Pull up revisions:
  src/sys/dev/pci/pcidevs	1.816
  src/sys/dev/pci/piixide.c	1.28
(requested by bouyer in ticket #1909).

Add device IDs for Intel's 631xESB/632xESB southbridges, and start the list
for the 5000X northbridge.  I'll add the rest later, the spec is currently
unavailable so I'll collect them from another source.

Add support for the 631xESB/632xESB.

Revision 1.44.6.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.44: +20 -19 lines
Diff to previous 1.44 (colored)

Sync with HEAD.

Revision 1.22.2.8 / (download) - annotate - [select for diffs], Mon Mar 24 09:38:51 2008 UTC (4 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.22.2.7: +16 -15 lines
Diff to previous 1.22.2.7 (colored) next main 1.23 (colored)

sync with head.

Revision 1.44.2.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.44: +20 -19 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

sync with head.

Revision 1.37.16.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.37.16.2: +22 -21 lines
Diff to previous 1.37.16.2 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored)

sync with HEAD

Revision 1.46 / (download) - annotate - [select for diffs], Tue Mar 18 20:46:37 2008 UTC (4 years, 2 months ago) by cube
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, hpcarm-cleanup-nbase, ad-socklock-base1
Branch point for: yamt-nfs-mp, wrstuden-revivesa, haad-dm
Changes since 1.45: +16 -15 lines
Diff to previous 1.45 (colored)

Split device_t and softc for ATA devices, as well as wd(4).  Other
cosmetic changes where appropriate.

Revision 1.22.2.7 / (download) - annotate - [select for diffs], Mon Mar 17 09:15:12 2008 UTC (4 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.22.2.6: +6 -6 lines
Diff to previous 1.22.2.6 (colored)

sync with head.

Revision 1.45 / (download) - annotate - [select for diffs], Fri Feb 29 06:13:39 2008 UTC (4 years, 2 months ago) by dyoung
Branch: MAIN
Changes since 1.44: +6 -6 lines
Diff to previous 1.44 (colored)

Use PMF_FN_ARGS, PMF_FN_PROTO.

Revision 1.41.6.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:05:58 2008 UTC (4 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.41: +19 -23 lines
Diff to previous 1.41 (colored) next main 1.42 (colored)

Sync with HEAD.

Revision 1.22.2.6 / (download) - annotate - [select for diffs], Mon Jan 21 09:44:13 2008 UTC (4 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.22.2.5: +27 -34 lines
Diff to previous 1.22.2.5 (colored)

sync with head

Revision 1.42.2.2 / (download) - annotate - [select for diffs], Sat Jan 19 12:15:13 2008 UTC (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.42.2.1: +2 -2 lines
Diff to previous 1.42.2.1 (colored) to branchpoint 1.42 (colored) next main 1.43 (colored)

Sync with HEAD

Revision 1.44 / (download) - annotate - [select for diffs], Tue Jan 15 00:24:47 2008 UTC (4 years, 4 months ago) by drochner
Branch: MAIN
CVS Tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.43: +4 -4 lines
Diff to previous 1.43 (colored)

fix some unaligned PCI config space accesses in suspend/resume functions

Revision 1.37.16.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:54:00 2008 UTC (4 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.37.16.1: +27 -34 lines
Diff to previous 1.37.16.1 (colored) to branchpoint 1.37 (colored)

sync with HEAD

Revision 1.42.2.1 / (download) - annotate - [select for diffs], Tue Jan 8 22:11:17 2008 UTC (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.42: +6 -6 lines
Diff to previous 1.42 (colored)

Sync with HEAD

Revision 1.35.4.1 / (download) - annotate - [select for diffs], Sun Jan 6 05:01:10 2008 UTC (4 years, 4 months ago) by wrstuden
Branch: wrstuden-fixsa
Changes since 1.35: +37 -6 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

Catch up to netbsd-4.0 release.

Revision 1.43 / (download) - annotate - [select for diffs], Fri Jan 4 00:27:27 2008 UTC (4 years, 4 months ago) by joerg
Branch: MAIN
CVS Tags: matt-armv6-base
Changes since 1.42: +6 -6 lines
Diff to previous 1.42 (colored)

Allow saving of up to 4 PCI registers in the IDE code.

Revision 1.41.8.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:47:06 2007 UTC (4 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.41: +27 -34 lines
Diff to previous 1.41 (colored) next main 1.42 (colored)

Sync with head.

Revision 1.41.10.1 / (download) - annotate - [select for diffs], Tue Dec 11 15:32:23 2007 UTC (4 years, 5 months ago) by yamt
Branch: yamt-kmem
Changes since 1.41: +27 -34 lines
Diff to previous 1.41 (colored) next main 1.42 (colored)

sync with head.

Revision 1.42 / (download) - annotate - [select for diffs], Sun Dec 9 20:28:12 2007 UTC (4 years, 5 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, vmlocking2-base3, cube-autoconf-base, cube-autoconf
Branch point for: bouyer-xeni386
Changes since 1.41: +27 -34 lines
Diff to previous 1.41 (colored)

Merge jmcneill-pm branch.

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

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

Revision 1.37.16.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.37: +37 -6 lines
Diff to previous 1.37 (colored)

sync with HEAD

Revision 1.37.14.5 / (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.37.14.4: +12 -13 lines
Diff to previous 1.37.14.4 (colored) to branchpoint 1.37 (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.22.2.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:33:27 2007 UTC (4 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.22.2.4: +7 -2 lines
Diff to previous 1.22.2.4 (colored)

sync with head.

Revision 1.35.2.1 / (download) - annotate - [select for diffs], Wed Oct 24 22:00:15 2007 UTC (4 years, 7 months ago) by pavel
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-1-RELEASE, netbsd-4-0, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.35: +37 -6 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

Pull up following revisions (requested by msaitoh in ticket #935):
	sys/dev/pci/piixide.c: revision 1.38-1.41 via patch
	sys/dev/pci/pcidevs: revision 1.900 via patch
Attach to the ICH9 SATA devices.
Attach to the ICH8M IDE Controller.
Proper ICH8M IDE Controller support (missed in previous).
Another ICH8M SATA Controller found in jmcneill's laptop.

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Tue Oct 9 13:41:51 2007 UTC (4 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.37: +37 -6 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

Sync with head.

Revision 1.37.14.4 / (download) - annotate - [select for diffs], Tue Oct 2 18:28:35 2007 UTC (4 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.37.14.3: +7 -2 lines
Diff to previous 1.37.14.3 (colored) to branchpoint 1.37 (colored)

Sync with HEAD.

Revision 1.37.14.3 / (download) - annotate - [select for diffs], Mon Oct 1 05:37:54 2007 UTC (4 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.37.14.2: +25 -64 lines
Diff to previous 1.37.14.2 (colored) to branchpoint 1.37 (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.37.10.2 / (download) - annotate - [select for diffs], Mon Sep 10 10:55:19 2007 UTC (4 years, 8 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.37.10.1: +7 -2 lines
Diff to previous 1.37.10.1 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored)

Sync with HEAD.

Revision 1.41 / (download) - annotate - [select for diffs], Sun Sep 9 01:09:02 2007 UTC (4 years, 8 months ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-kmem-base, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, vmlocking-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-csl-alignment-base5, jmcneill-pm-base, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: yamt-kmem, vmlocking2, mjf-devfs
Changes since 1.40: +7 -2 lines
Diff to previous 1.40 (colored)

Another ICH8M SATA Controller found in jmcneill's laptop.

Revision 1.37.14.2 / (download) - annotate - [select for diffs], Mon Sep 3 16:48:23 2007 UTC (4 years, 8 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.37.14.1: +32 -6 lines
Diff to previous 1.37.14.1 (colored) to branchpoint 1.37 (colored)

Sync with HEAD.

Revision 1.22.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:37:20 2007 UTC (4 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.22.2.3: +49 -6 lines
Diff to previous 1.22.2.3 (colored)

sync with head.

Revision 1.37.10.1 / (download) - annotate - [select for diffs], Mon Sep 3 10:21:08 2007 UTC (4 years, 8 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.37: +32 -6 lines
Diff to previous 1.37 (colored)

Sync with HEAD.

Revision 1.40 / (download) - annotate - [select for diffs], Fri Aug 31 01:35:07 2007 UTC (4 years, 8 months ago) by xtraeme
Branch: MAIN
Changes since 1.39: +12 -6 lines
Diff to previous 1.39 (colored)

Proper ICH8M IDE Controller support (missed in previous).

Revision 1.39 / (download) - annotate - [select for diffs], Fri Aug 31 00:01:17 2007 UTC (4 years, 8 months ago) by xtraeme
Branch: MAIN
Changes since 1.38: +7 -2 lines
Diff to previous 1.38 (colored)

Attach to the ICH8M IDE Controller.

Revision 1.38 / (download) - annotate - [select for diffs], Thu Aug 30 23:55:03 2007 UTC (4 years, 8 months ago) by xtraeme
Branch: MAIN
Changes since 1.37: +17 -2 lines
Diff to previous 1.37 (colored)

Attach to the ICH9 SATA devices.

Revision 1.37.14.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.37: +63 -30 lines
Diff to previous 1.37 (colored)

Pull in power management changes from private branch.

Revision 1.36.2.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:55:26 2007 UTC (5 years, 2 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.36: +19 -2 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

Sync with HEAD.

Revision 1.37 / (download) - annotate - [select for diffs], Sat Mar 10 06:01:43 2007 UTC (5 years, 2 months ago) by itohy
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, nick-csl-alignment-base, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: vmlocking, nick-csl-alignment, matt-armv6, jmcneill-pm
Changes since 1.36: +19 -2 lines
Diff to previous 1.36 (colored)

I tried the test code in PR kern/35934 on PIIX4 and ICH6,
both of which turned out to have the problem.
Enabled (untested) workaround for all PIIX controllers.

XXX  Do other controllers also have this problem?

Revision 1.22.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:10:34 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.22.2.2: +6 -6 lines
Diff to previous 1.22.2.2 (colored)

sync with head.

Revision 1.36 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:27 2007 UTC (5 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.35: +6 -6 lines
Diff to previous 1.35 (colored)

Merge newlock2 to head.

Revision 1.29.2.3 / (download) - annotate - [select for diffs], Tue Feb 6 13:32:31 2007 UTC (5 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.29.2.2: +6 -6 lines
Diff to previous 1.29.2.2 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)

Quiten noisy boot messages.

Revision 1.29.2.2 / (download) - annotate - [select for diffs], Fri Jan 12 00:57:43 2007 UTC (5 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.29.2.1: +4 -95 lines
Diff to previous 1.29.2.1 (colored) to branchpoint 1.29 (colored)

Sync with head.

Revision 1.22.2.2 / (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.22.2.1: +44 -7 lines
Diff to previous 1.22.2.1 (colored)

sync with head.

Revision 1.29.4.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:17:46 2006 UTC (5 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.29.4.1: +7 -98 lines
Diff to previous 1.29.4.1 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)

sync with head.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Dec 1 10:31:30 2006 UTC (5 years, 5 months ago) by cube
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1
Branch point for: wrstuden-fixsa, netbsd-4
Changes since 1.34: +3 -94 lines
Diff to previous 1.34 (colored)

Now that we have a AHCI driver (thanks a bunch, Manuel!), we can remove the
nonsense quirk that switched operating mode on ICH7 and ICH8.

I removed the obvious candidates for ahcisata(4), and I'll have a closer
look later if there are others to be removed;  ahcisata(4) will take over
handling the device anyway, but there is no reason to keep AHCI devices in
that list.

Along the way, remove the code that tries to put the chip in Enhanced mode,
it makes absolutely no sense to do that, and some BIOSes might not have
prepared the BARs for that, as proven by PR#34885.  If people want to use
all IDE and SATA channels, they have to tell the BIOS.

Revision 1.34 / (download) - annotate - [select for diffs], Fri Nov 24 22:04:25 2006 UTC (5 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored)

s/independant/independent/, from Zafer.

Revision 1.29.2.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.29: +7 -5 lines
Diff to previous 1.29 (colored)

Sync with head.

Revision 1.33 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:10 2006 UTC (5 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.32: +4 -4 lines
Diff to previous 1.32 (colored)

__unused removal on arguments; approved by core.

Revision 1.32 / (download) - annotate - [select for diffs], Wed Nov 8 11:09:52 2006 UTC (5 years, 6 months ago) by drochner
Branch: MAIN
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored)

avoid magic number

Revision 1.29.4.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.29: +7 -5 lines
Diff to previous 1.29 (colored)

sync with head

Revision 1.31 / (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.30: +5 -4 lines
Diff to previous 1.30 (colored)

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

Revision 1.30 / (download) - annotate - [select for diffs], Sun Sep 24 03:53:09 2006 UTC (5 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.29: +4 -3 lines
Diff to previous 1.29 (colored)

Add "name" parameter to powerhook_establish, to aid debugging. No objections
on tech-kern@

Revision 1.25.8.4 / (download) - annotate - [select for diffs], Thu Sep 14 12:31:34 2006 UTC (5 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.25.8.3: +119 -3 lines
Diff to previous 1.25.8.3 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored)

sync with head.

Revision 1.25.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:52:19 2006 UTC (5 years, 8 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.25: +142 -3 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

sync with head

Revision 1.27.2.2 / (download) - annotate - [select for diffs], Thu Sep 7 18:15:52 2006 UTC (5 years, 8 months ago) by riz
Branch: abandoned-netbsd-4
Changes since 1.27.2.1: +117 -1 lines
Diff to previous 1.27.2.1 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

Pull up following revision(s) (requested by xtraeme in ticket #117):
	sys/dev/pci/piixide.c: revision 1.29
	sys/dev/pci/pciide_piix_reg.h: revision 1.12
* Add support for ICH8 and ICH8M SATA/RAID controllers.
* If the controller is in AHCI, ask for SATA IDE mode of operation.
jsg@openbsd says:
"X60/T60 Thinkpads are shipped in AHCI configuration by default,
 this makes them work without changing a BIOS option."
Tested by eye of the beholder. From OpenBSD.
Ok'ed tls.

Revision 1.29 / (download) - annotate - [select for diffs], Sun Sep 3 18:30:35 2006 UTC (5 years, 8 months ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.28: +119 -3 lines
Diff to previous 1.28 (colored)

* Add support for ICH8 and ICH8M SATA/RAID controllers.
* If the controller is in AHCI, ask for SATA IDE mode of operation.

jsg@openbsd says:

"X60/T60 Thinkpads are shipped in AHCI configuration by default,
 this makes them work without changing a BIOS option."

Tested by eye of the beholder. From OpenBSD.

Ok'ed tls.

Revision 1.25.8.3 / (download) - annotate - [select for diffs], Fri Aug 11 15:44:26 2006 UTC (5 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.25.8.2: +12 -2 lines
Diff to previous 1.25.8.2 (colored) to branchpoint 1.25 (colored)

sync with head

Revision 1.27.2.1 / (download) - annotate - [select for diffs], Fri Aug 11 05:03:12 2006 UTC (5 years, 9 months ago) by riz
Branch: abandoned-netbsd-4
Changes since 1.27: +12 -2 lines
Diff to previous 1.27 (colored)

Pull up following revision(s) (requested by cube in ticket #8):
	sys/dev/pci/piixide.c: revision 1.28
	sys/dev/pci/pcidevs: revision 1.816
Add device IDs for Intel's 631xESB/632xESB southbridges, and start the list
for the 5000X northbridge.  I'll add the rest later, the spec is currently
unavailable so I'll collect them from another source.
Add support for the 631xESB/632xESB.

Revision 1.28 / (download) - annotate - [select for diffs], Tue Aug 8 19:38:34 2006 UTC (5 years, 9 months ago) by cube
Branch: MAIN
CVS Tags: yamt-pdpolicy-base8, yamt-pdpolicy-base7
Changes since 1.27: +12 -2 lines
Diff to previous 1.27 (colored)

Add support for the 631xESB/632xESB.

Revision 1.26.4.1 / (download) - annotate - [select for diffs], Thu Jul 13 17:49:29 2006 UTC (5 years, 10 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.26: +10 -2 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

Merge from HEAD.

Revision 1.25.8.2 / (download) - annotate - [select for diffs], Mon Jun 26 12:51:23 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.25.8.1: +10 -2 lines
Diff to previous 1.25.8.1 (colored) to branchpoint 1.25 (colored)

sync with head.

Revision 1.22.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.22: +39 -10 lines
Diff to previous 1.22 (colored)

sync with head.

Revision 1.26.2.2 / (download) - annotate - [select for diffs], Mon Jun 19 04:01:37 2006 UTC (5 years, 11 months ago) by chap
Branch: chap-midi
Changes since 1.26.2.1: +801 -0 lines
Diff to previous 1.26.2.1 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored)

Sync with head.

Revision 1.27 / (download) - annotate - [select for diffs], Sat Jun 17 17:05:20 2006 UTC (5 years, 11 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6, chap-midi-nbase, chap-midi-base, abandoned-netbsd-4-base
Branch point for: abandoned-netbsd-4
Changes since 1.26: +10 -2 lines
Diff to previous 1.26 (colored)

Restore IDE and UDMA timings on resume for the PIIX4.

Revision 1.25.6.1 / (download) - annotate - [select for diffs], Thu Jun 1 22:36:48 2006 UTC (5 years, 11 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.25: +7 -2 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Sync with head.

Revision 1.25.12.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:28 2006 UTC (6 years ago) by tron
Branch: peter-altq
Changes since 1.25: +7 -2 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.25.8.1 / (download) - annotate - [select for diffs], Wed May 24 10:58:01 2006 UTC (6 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.25: +7 -2 lines
Diff to previous 1.25 (colored)

sync with head.

Revision 1.26.2.1, Fri May 19 01:27:00 2006 UTC (6 years ago) by chap
Branch: chap-midi
Changes since 1.26: +0 -793 lines
FILE REMOVED

file piixide.c was added on branch chap-midi on 2006-06-19 04:01:37 +0000

Revision 1.26 / (download) - annotate - [select for diffs], Fri May 19 01:27:00 2006 UTC (6 years ago) by markd
Branch: MAIN
CVS Tags: yamt-pdpolicy-base5, simonb-timecounters-base, gdamore-uart-base
Branch point for: gdamore-uart, chap-midi
Changes since 1.25: +7 -2 lines
Diff to previous 1.25 (colored)

Add Intel 82801GBM/GHM Serial ATA Controller.

Revision 1.25 / (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-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base, elad-kernelauth-base, elad-kernelauth
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

merge ktrace-lwp.

Revision 1.9.2.10 / (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.9.2.9: +47 -10 lines
Diff to previous 1.9.2.9 (colored) next main 1.10 (colored)

Sync with HEAD. Here we go again...

Revision 1.19.2.4 / (download) - annotate - [select for diffs], Wed Aug 24 21:51:26 2005 UTC (6 years, 9 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.19.2.3: +5 -5 lines
Diff to previous 1.19.2.3 (colored) to branchpoint 1.19 (colored)

Pull up revision 1.24 (requested by bouyer in ticket #692):
Not add PIIX are wired to compat mode these days. Problem reported and fix
tested by Havard Eidnes.

Revision 1.8.2.1.2.4 / (download) - annotate - [select for diffs], Mon Aug 22 21:55:01 2005 UTC (6 years, 9 months ago) by riz
Branch: netbsd-2
CVS Tags: 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
Changes since 1.8.2.1.2.3: +5 -5 lines
Diff to previous 1.8.2.1.2.3 (colored) to branchpoint 1.8.2.1 (colored) next main 1.9 (colored)

Pull up following revision(s) (requested by bouyer in ticket #5602):
	sys/dev/pci/piixide.c: revision 1.24
Not all PIIX are wired to compat mode these days. Problem reported and fix
tested by Havard Eidnes.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Aug 10 13:23:38 2005 UTC (6 years, 9 months ago) by bouyer
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
Changes since 1.23: +6 -6 lines
Diff to previous 1.23 (colored)

Not add PIIX are wired to compat mode these days. Problem reported and fix
tested by Havard Eidnes.

Revision 1.19.2.3 / (download) - annotate - [select for diffs], Sat Jul 23 14:51:55 2005 UTC (6 years, 10 months ago) by riz
Branch: netbsd-3
Changes since 1.19.2.2: +21 -5 lines
Diff to previous 1.19.2.2 (colored) to branchpoint 1.19 (colored)

Pull up revision 1.23 (requested by tron in ticket #609):
Add support for PATA and SATA ports in the Intel ICH7 southbridge (82801G).
Patch supplied by Marcello Balduccini in PR port-i386/30795.

Revision 1.23 / (download) - annotate - [select for diffs], Thu Jul 21 07:09:31 2005 UTC (6 years, 10 months ago) by tron
Branch: MAIN
Changes since 1.22: +22 -6 lines
Diff to previous 1.22 (colored)

Add support for PATA and SATA ports in the Intel ICH7 southbridge (82801G).
Patch supplied by Marcello Balduccini in PR port-i386/30795.

Revision 1.19.2.2 / (download) - annotate - [select for diffs], Sun Jul 3 21:12:21 2005 UTC (6 years, 10 months ago) by tron
Branch: netbsd-3
Changes since 1.19.2.1: +14 -1 lines
Diff to previous 1.19.2.1 (colored) to branchpoint 1.19 (colored)

Pull up revision 1.22 (requested by briggs in ticket #522):
Match the 6300ESB on-board SATA/RAID controller.
Set the ATA RAID flag, if appropriate, in the SATA chip map.
Ensure that the interrupts are enabled in the SATA chip map.

Revision 1.8.2.1.2.3 / (download) - annotate - [select for diffs], Tue Jun 21 23:04:51 2005 UTC (6 years, 11 months ago) by riz
Branch: netbsd-2
Changes since 1.8.2.1.2.2: +6 -1 lines
Diff to previous 1.8.2.1.2.2 (colored) to branchpoint 1.8.2.1 (colored)

Pull up revision 1.21 (requested by bouyer in ticket #2008):
Support Intel 82801FBM Serial ATA Controller. From Kurt Schreiner on tech-kern.

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Tue Jun 21 21:23:50 2005 UTC (6 years, 11 months ago) by tron
Branch: netbsd-3
Changes since 1.19: +6 -1 lines
Diff to previous 1.19 (colored)

Pull up revision 1.21 (requested by bouyer in ticket #479):
Support Intel 82801FBM Serial ATA Controller. From Kurt Schreiner on tech-kern.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Jun 20 02:10:18 2005 UTC (6 years, 11 months ago) by briggs
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.21: +16 -3 lines
Diff to previous 1.21 (colored)

Match the 6300ESB on-board SATA/RAID controller.
Set the ATA RAID flag, if appropriate, in the SATA chip map.
Ensure that the interrupts are enabled in the SATA chip map.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Jun 15 18:01:12 2005 UTC (6 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.20: +7 -2 lines
Diff to previous 1.20 (colored)

Support Intel 82801FBM Serial ATA Controller. From Kurt Schreiner on tech-kern.

Revision 1.20 / (download) - annotate - [select for diffs], Tue May 24 05:25:15 2005 UTC (7 years ago) by lukem
Branch: MAIN
Changes since 1.19: +4 -1 lines
Diff to previous 1.19 (colored)

add __KERNEL_RCSID

Revision 1.8.2.1.2.2 / (download) - annotate - [select for diffs], Thu May 19 09:56:07 2005 UTC (7 years ago) by tron
Branch: netbsd-2
Changes since 1.8.2.1.2.1: +11 -0 lines
Diff to previous 1.8.2.1.2.1 (colored) to branchpoint 1.8.2.1 (colored)

Pull up revision 1.17 via patch (requested by riz in ticket #1531):
Ad support for the ICH6 IDE controller (82801FB).

Revision 1.8.2.1.2.1 / (download) - annotate - [select for diffs], Thu May 19 09:52:02 2005 UTC (7 years ago) by tron
Branch: netbsd-2
Changes since 1.8.2.1: +10 -0 lines
Diff to previous 1.8.2.1 (colored)

Pull up revision 1.16 (requested by riz in ticket #1531):
Add support for the 82801FB/FR (ICH6/6R) SATA controllers.

Revision 1.17.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.17: +37 -9 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

sync with -current

Revision 1.17.6.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.17.6.1: +9 -9 lines
Diff to previous 1.17.6.1 (colored) to branchpoint 1.17 (colored) next main 1.18 (colored)

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

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

Sync with HEAD.

Hi Perry!

Revision 1.19 / (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-base4, yamt-km-base3, netbsd-3-base, kent-audio2-base
Branch point for: netbsd-3
Changes since 1.18: +9 -9 lines
Diff to previous 1.18 (colored)

nuke trailing whitespace

Revision 1.17.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.17: +29 -1 lines
Diff to previous 1.17 (colored)

sync with head.

Revision 1.9.2.8 / (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.9.2.7: +29 -1 lines
Diff to previous 1.9.2.7 (colored)

Sync with HEAD.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Jan 26 21:50:31 2005 UTC (7 years, 3 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-km-base2, matt-timespec
Changes since 1.17: +29 -1 lines
Diff to previous 1.17 (colored)

Add powerhooks for PIIX IDE driver.

Revision 1.9.2.7 / (download) - annotate - [select for diffs], Sun Nov 14 08:15:45 2004 UTC (7 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.9.2.6: +12 -1 lines
Diff to previous 1.9.2.6 (colored)

Sync with HEAD.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Nov 10 17:19:05 2004 UTC (7 years, 6 months ago) by cube
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.16: +12 -1 lines
Diff to previous 1.16 (colored)

Add support for the ICH6 IDE controller (82801FB).

Revision 1.9.2.6 / (download) - annotate - [select for diffs], Tue Nov 2 07:52:11 2004 UTC (7 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.9.2.5: +11 -1 lines
Diff to previous 1.9.2.5 (colored)

Sync with HEAD.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Oct 22 15:09:22 2004 UTC (7 years, 7 months ago) by cube
Branch: MAIN
Changes since 1.15: +11 -1 lines
Diff to previous 1.15 (colored)

Add support for the 82801FB/FR (ICH6/6R) SATA controllers.

Revision 1.9.2.5 / (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.9.2.4: +1 -1 lines
Diff to previous 1.9.2.4 (colored)

Fix the sync with head I botched.

Revision 1.9.2.4 / (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.9.2.3: +1 -1 lines
Diff to previous 1.9.2.3 (colored)

Sync with HEAD.

Revision 1.9.2.3 / (download) - annotate - [select for diffs], Wed Aug 25 06:58:06 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.9.2.2: +61 -54 lines
Diff to previous 1.9.2.2 (colored)

Sync with HEAD.

Revision 1.15 / (download) - annotate - [select for diffs], Sat Aug 21 00:28:34 2004 UTC (7 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.14: +6 -2 lines
Diff to previous 1.14 (colored)

atastart() (called only at splbio(), and from interrupts) can change
drive_flags, to make sure all drive_flags manipulations are done at
splbio().

Revision 1.14 / (download) - annotate - [select for diffs], Fri Aug 20 06:39:39 2004 UTC (7 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.13: +31 -29 lines
Diff to previous 1.13 (colored)

Move most of wdc_softc into a new atac_softc structure that contains
info common to all types of ATA controllers.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Aug 19 23:25:35 2004 UTC (7 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.12: +5 -5 lines
Diff to previous 1.12 (colored)

- Add and use a CHAN_TO_WDC() macro to get the wdc_softc from an
  ata_channel.
- Add and use a CHAN_TO_WDC_REGS() macro to get the wdc_regs from an
  ata_channel.
- Add and use a CHAN_TO_PCIIDE() macro to get the pciide_softc from an
  ata_channel.
- Add and use a CHAN_TO_PCHAN() macro to get the pciide_channel from an
  ata_channel.  (This one just hides a cast, and is really just for
  consistency with the others.)

Revision 1.12 / (download) - annotate - [select for diffs], Sat Aug 14 15:08:06 2004 UTC (7 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.11: +14 -10 lines
Diff to previous 1.11 (colored)

- Split the register handles out of struct wdc_channel into a separate
  wdc_regs structure, and array of which (indexed per channel) is pointed
  to by struct wdc_softc.
- Move the resulting wdc_channel structure to atavar.h and rename it to
  ata_channel.  Rename the corresponding flags.
- Add a "ch_ndrive" member to struct ata_channel, which indicates the
  maximum number of drives that can be present on the channel.  For now,
  this is always 2.  Add an ATA_MAXDRIVES constant that places an upper
  limit on this value, also currently 2.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Aug 13 04:10:49 2004 UTC (7 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.10: +11 -11 lines
Diff to previous 1.10 (colored)

WDCDEBUG -> ATADEBUG.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Aug 13 03:12:59 2004 UTC (7 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.9: +4 -7 lines
Diff to previous 1.9 (colored)

Don't bother with bits that tell of the presence of optional callbacks;
just check the function pointers for NULL.

Revision 1.9.2.2 / (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.9.2.1: +695 -0 lines
Diff to previous 1.9.2.1 (colored)

Sync with HEAD

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Wed Jul 28 11:21:02 2004 UTC (7 years, 9 months ago) by tron
Branch: netbsd-2-0
CVS Tags: netbsd-2-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
Branch point for: netbsd-2
Changes since 1.8: +22 -5 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Pull up revision 1.9 (requested by joda in ticket #721):
Handle the i6300ESB IDE / SATA controllers.  These are apparently just ICH5.

Revision 1.9.2.1, Tue May 11 23:15:37 2004 UTC (8 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.9: +0 -695 lines
FILE REMOVED

file piixide.c was added on branch ktrace-lwp on 2004-08-03 10:49:12 +0000

Revision 1.9 / (download) - annotate - [select for diffs], Tue May 11 23:15:37 2004 UTC (8 years ago) by thorpej
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.8: +22 -5 lines
Diff to previous 1.8 (colored)

Handle the i6300ESB IDE / SATA controllers.  These are apparently just ICH5.

Revision 1.8 / (download) - annotate - [select for diffs], Sat Jan 3 22:56:53 2004 UTC (8 years, 4 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.7: +12 -11 lines
Diff to previous 1.7 (colored)

More wdc_channel structure member namespace cleanup:
- channel -> ch_channel
- wdc -> ch_wdc

Revision 1.7 / (download) - annotate - [select for diffs], Sat Jan 3 01:50:53 2004 UTC (8 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.6: +6 -6 lines
Diff to previous 1.6 (colored)

Rename "struct channel_softc" to "struct wdc_channel".

Revision 1.6 / (download) - annotate - [select for diffs], Sun Dec 14 01:32:02 2003 UTC (8 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.5: +1 -60 lines
Diff to previous 1.5 (colored)

Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).

Revision 1.5 / (download) - annotate - [select for diffs], Sat Dec 6 22:40:03 2003 UTC (8 years, 5 months ago) by bouyer
Branch: MAIN
Changes since 1.4: +46 -6 lines
Diff to previous 1.4 (colored)

Clone artisea_chip_map() for use by the ICH5 SATA controllers.
The 31244 is really different from the ICH5, and one day the map function
could be incompatibles. Suggested by thorpej@

Revision 1.4 / (download) - annotate - [select for diffs], Fri Dec 5 23:12:41 2003 UTC (8 years, 5 months ago) by bouyer
Branch: MAIN
Changes since 1.3: +6 -1 lines
Diff to previous 1.3 (colored)

Add support for the Intel 82801ER Serial ATA/Raid Controller.
From Simas Mockevicius on current-users@.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Nov 27 23:02:40 2003 UTC (8 years, 5 months ago) by fvdl
Branch: MAIN
Changes since 1.2: +3 -5 lines
Diff to previous 1.2 (colored)

There are some cards that map the ATA control and IDE DMA registers
in a different fashion. Individually, they have the same functionality,
but their layout is different. An example of such a chipset is
the Promise 203xx.

To be able to deal with this, transform the cmd and dma bus_space handles
into an array of handles, each seperately created with bus_space_subregion.
The code generated by using the extra indirection shouldn't change much,
since the extra indirection is negated by having the offset calculation
already done in bus_space_subregion. E.g.

	bus_space_write_4(tag, handle, offset, value)

becomes

	bus_space_write_4(tag, handles[offset], 0, value)

Reviewed by Manuel Bouyer. Tested on wdc_isa, wdc_pcmcia, viaide, piixide (i386)
and on cmdide (sparc64).

Revision 1.2 / (download) - annotate - [select for diffs], Sat Oct 11 17:40:15 2003 UTC (8 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.1: +27 -38 lines
Diff to previous 1.1 (colored)

Cosmetic changes:
- Use static to unexport symbols that don't need to be exported.
- ANSI'ify.
- Some whitespace nits.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 8 11:51:59 2003 UTC (8 years, 7 months ago) by bouyer
Branch: MAIN

Split pciide in per-chip family driver, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0007.html
We now have:
acardide*       at pci? dev ? function ?        # Acard IDE controllers
aceride*        at pci? dev ? function ?        # Acer Lab IDE controllers
cmdide*         at pci? dev ? function ?        # CMD tech IDE controllers
cypide*         at pci? dev ? function ?        # Cypress IDE controllers
hptide*         at pci? dev ? function ?        # Triones/HighPoint IDE controllers
optiide*        at pci? dev ? function ?        # Opti IDE controllers
piixide*        at pci? dev ? function ?        # Intel IDE controllers
pdcide*         at pci? dev ? function ?        # Promise IDE controllers
siside*         at pci? dev ? function ?        # SiS IDE controllers
slide*          at pci? dev ? function ?        # Symphony Labs IDE controllers
viaide*         at pci? dev ? function ?        # VIA/AMD/Nvidia IDE controllers
pciide*         at pci? dev ? function ? flags 0x0000   # GENERIC pciide driver

serverworks driver not commited yet; there are still copyright issues about
it.

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>