The NetBSD Project

CVS log for src/sys/arch/macppc/dev/wdc_obio.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / macppc / dev

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.61.16.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:29 2021 UTC (4 years ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61: +5 -4 lines
Sync with HEAD.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Fri Mar 5 07:15:53 2021 UTC (4 years, 1 month ago) by rin
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +4 -3 lines
Convert to intr_establish_xname().

Revision 1.62: download - view: text, markup, annotated - select for diffs
Tue Jan 26 14:49:41 2021 UTC (4 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +3 -3 lines
There is not much point in of_compatible() returning -1 for "no match"
and >= 0 for "match".  Just make it return 0 for "no match" and >0 for
"match" so it can be treated like a boolean expression.

As such of_match_compatible() (a wrapper around of_compatible()) is now
obsolete, and will be removed once all call sites are converted to an
appropriate replacement.

Revision 1.58.2.1: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:25 2017 UTC (7 years, 4 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58: +15 -11 lines
update from HEAD

Revision 1.61: download - view: text, markup, annotated - select for diffs
Fri Oct 20 07:06:07 2017 UTC (7 years, 6 months ago) by jdolecek
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: thorpej-futex
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +3 -3 lines
move ata_queue_alloc(1) and ata_queue_free() calls to ata_channel_init()
and ata_channel_destroy() respectively, to make attachment code simpler,
and to make it easier to spot special queue manipulation like cmdide(4)

on topic of PR kern/52606

Revision 1.60: download - view: text, markup, annotated - select for diffs
Sat Oct 7 16:05:32 2017 UTC (7 years, 6 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +4 -5 lines
Merge support for SATA NCQ (Native Command Queueing) from jdolecek-ncq branch

ATA subsystem was changed to support several outstanding commands, and use
NCQ xfers if supported by both the controller and the disk, including NCQ
error recovery. Set NCQ high priority for BPRIO_TIMECRITICAL xfers
if supported. Added FUA support.

Done some work towards MP-safe, all ATA code tsleep()/wakeup() replaced
by condvars, and switched most code from spl* to mutexes (separate
wd(4) and ata channel lock).

Introduced new option WD_CHAOS_MONKEY to facilitate testing of error
handling, fixed several uncovered issues. Also fixed several problems
with kernel dump to wd(4) disk.

Tested with ahcisata(4), mvsata(4), siisata(4), piixide(4) on amd64,
with and without port multiplier, both disk and ATAPI devices; other
drivers and archs mechanically adjusted and compile-tested. NCQ is
supported for ahcisata(4) and siisata(4) for any controller, for
mvsata(4) only Gen IIe ones for now. Also enabled ATAPI support in
mvsata(4).

Thanks to Matt Thomas for initial ATA infrastructure patch, and
Jonathan A.Kollasch for siisata(4) NCQ changes and general testing.

Also fixes PR kern/43169 (wd(4)); and PR kern/11811, PR kern/47041,
PR kern/51979 (kernel dump)

Revision 1.59.4.2: download - view: text, markup, annotated - select for diffs
Wed Sep 27 07:19:34 2017 UTC (7 years, 6 months ago) by jdolecek
Branches: jdolecek-ncq
Diff to: previous 1.59.4.1: preferred, colored; branchpoint 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59.4.1: +3 -3 lines
change wdc_init_shadow_regs() to accept only struct wdc_regs, it doesn't
touch anything else

factor out the probe-only struct ata_channel initialization to wdcprobe(), to
reduce duplication of logic in individual drivers, and to actually work now
that more init is needed beyond the memset()

Revision 1.59.4.1: download - view: text, markup, annotated - select for diffs
Mon Apr 24 08:48:46 2017 UTC (8 years ago) by jdolecek
Branches: jdolecek-ncq
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +3 -4 lines
use ata_queue_alloc() to dynamically allocate ata_queue for ata channel

Revision 1.58.16.1: download - view: text, markup, annotated - select for diffs
Wed Oct 5 20:55:31 2016 UTC (8 years, 6 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58: +13 -8 lines
Sync with HEAD

Revision 1.58.20.1: download - view: text, markup, annotated - select for diffs
Tue Jul 26 03:24:17 2016 UTC (8 years, 8 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58: +13 -8 lines
Sync with HEAD

Revision 1.59: download - view: text, markup, annotated - select for diffs
Fri Jul 15 21:11:12 2016 UTC (8 years, 9 months ago) by macallan
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: jdolecek-ncq
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +13 -8 lines
- only unmap / free dbdma stuff when we actually mapped / allocated it
- use dbdma_free
now wdc_obio_detach() actually works without crashing

Revision 1.53.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:19:58 2012 UTC (12 years, 5 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53: +8 -8 lines
sync with head

Revision 1.58: download - view: text, markup, annotated - select for diffs
Tue Jul 31 15:50:33 2012 UTC (12 years, 8 months ago) by bouyer
Branches: MAIN
CVS tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, pgoyette-localcount-base, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, khorben-n900, agc-symver-base, agc-symver
Branch point for: tls-maxphys, pgoyette-localcount, nick-nhusb
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +8 -8 lines
Apply back changes that were reverted on Jul 24 and Jul 26 (general ata/wdc
cleanup and SATA PMP support), now that I'm back to fix the fallouts.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Thu Jul 26 20:49:46 2012 UTC (12 years, 9 months ago) by jakllsch
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +5 -5 lines
Revert, with intention of restoring in a less invasive way, the SATA Port
Multiplier code.

ok christos@

Revision 1.56: download - view: text, markup, annotated - select for diffs
Tue Jul 24 14:04:29 2012 UTC (12 years, 9 months ago) by jakllsch
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +5 -5 lines
Revert dsl@'s changes of Sun, 15 Jul 2012 10:55:35 +0000 and
Sun, 15 Jul 2012 10:56:50 +0000, excepting the kernel version bump.
First step in reverting regressions to ata(4) subsystem during the addition of
port multiplier support.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Sun Jul 15 10:55:28 2012 UTC (12 years, 9 months ago) by dsl
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +7 -7 lines
Some namespace protection (and add greppablity).
Prefix the DRIVE_ and DRIVET_ constants from atavar.h with ATA_.
Don't use an enum for drive_type - you don't know how big it will be.
Move driver_type to avoid implicit structure padding (esp on arm).
This change is purely lexical and mechanical.

Update to 6.99.9 - this wasn't done when the SATA PMP changes
were made - I'm sure they warranted a bump.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Mon Jul 2 18:15:45 2012 UTC (12 years, 9 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +5 -5 lines
Add sata Port MultiPlier (PMP) support to the ata bus layer,
as described in
http://mail-index.netbsd.org/tech-kern/2012/06/23/msg013442.html
PMP support in integrated to the atabus layer.
struct ata_channel's ch_drive[] is not dynamically allocated, and ch_ndrive
(renamed to ch_ndrives) closely reflects the size of the ch_drive[] array.
Add helper functions atabus_alloc_drives() and atabus_free_drives()
to manage ch_drive[]/ch_ndrives.
Add wdc_maxdrives to struct wdc_softc so that bus front-end can specify
how much drive they really support (master/slave or single).
ata_reset_drive() callback gains a uint32_t *sigp argument which,
when not NULL, will contain the signature of the device being reset.
While there, some cosmetic changes:
- added a drive_type enum to ata_drive_datas, and stop encoding the
  probed drive type in drive_flags (we were out of drive flags anyway).
- rename DRIVE_ATAPIST to DRIVE_ATAPIDSCW to better reflect what this
  really is
- remove ata_channel->ata_drives, it's redundant with the pointer in
  ata_drive_datas
- factor out the interpretation of SATA signatures in sata_interpet_sig()

propagate these changes to the ATA HBA drivers, and add support for PMP
to ahcisata(4) and siisata(4).

Thanks to:
- Protocase (http://www.protocase.com/) which provided a system
  with lots of controllers, SATA PMP and drive slots
- Conservation Genomics Laboratory, Department of Biology, New Mexico State
  University for hosting the above system
- Brook Milligan, who set up remote access and has been very responsive
  when SATA cable move was needed

Revision 1.53: download - view: text, markup, annotated - select for diffs
Fri Jul 1 18:41:52 2011 UTC (13 years, 9 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +3 -3 lines
#include <sys/bus.h> instead of <machine/bus.h>.

Revision 1.50.4.2: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:02:36 2010 UTC (15 years, 1 month ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.50.4.1: preferred, colored; branchpoint 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50.4.1: +3 -3 lines
sync with head

Revision 1.52: download - view: text, markup, annotated - select for diffs
Wed Nov 18 22:51:07 2009 UTC (15 years, 5 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, matt-premerge-20091211, matt-mips64-premerge-20101231, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +3 -3 lines
wdcactivate() is gone, don't use it.

Revision 1.47.16.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:22:23 2008 UTC (16 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.47.16.1: preferred, colored; branchpoint 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47.16.1: +0 -7 lines
Sync with HEAD.

Revision 1.50.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:32:23 2008 UTC (16 years, 11 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +2 -9 lines
sync with head.

Revision 1.50.4.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:22:44 2008 UTC (16 years, 11 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +2 -9 lines
sync with head.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:27 2008 UTC (16 years, 11 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, 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-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, 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-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, jymxensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +2 -9 lines
Remove clause 3 and 4 from TNF licenses

Revision 1.47.16.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:21 2008 UTC (17 years ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +50 -69 lines
Sync with HEAD.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Sun Mar 30 18:16:25 2008 UTC (17 years ago) by macallan
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base
Branch point for: yamt-pf42, yamt-nfs-mp
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +4 -4 lines
free & unmap DMA memory and registers on detach()
Now removing and re-attaching a mediabay works again.

Revision 1.41.12.5: download - view: text, markup, annotated - select for diffs
Mon Mar 24 09:38:39 2008 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.41.12.4: preferred, colored; branchpoint 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41.12.4: +5 -4 lines
sync with head.

Revision 1.47.12.1: download - view: text, markup, annotated - select for diffs
Mon Mar 24 07:15:01 2008 UTC (17 years, 1 month ago) by keiichi
Branches: keiichi-mipv6
Diff to: previous 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47: +48 -67 lines
sync with head.

Revision 1.46.28.2: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:10 2008 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
Diff to: previous 1.46.28.1: preferred, colored; branchpoint 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46.28.1: +48 -67 lines
sync with HEAD

Revision 1.49: download - view: text, markup, annotated - select for diffs
Tue Mar 18 20:46:36 2008 UTC (17 years, 1 month ago) by cube
Branches: MAIN
CVS tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, ad-socklock-base1
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +5 -4 lines
Split device_t and softc for ATA devices, as well as wd(4).  Other
cosmetic changes where appropriate.

Revision 1.41.12.4: download - view: text, markup, annotated - select for diffs
Wed Feb 27 08:36:22 2008 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.41.12.3: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.12.3: +45 -65 lines
sync with head.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Mon Feb 25 19:22:39 2008 UTC (17 years, 2 months ago) by matt
Branches: MAIN
CVS tags: hpcarm-cleanup-base
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +45 -65 lines
Convert to prototypes, de'__P, use device_private, switch to aprint_*,
make things static, and some minor constification.

Revision 1.46.28.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:18:42 2007 UTC (17 years, 5 months ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +48 -23 lines
sync with HEAD

Revision 1.41.12.3: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:27:06 2007 UTC (17 years, 6 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.41.12.2: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.12.2: +48 -23 lines
sync with head.

Revision 1.46.26.1: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:42:49 2007 UTC (17 years, 6 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46: +48 -23 lines
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.46.32.1: download - view: text, markup, annotated - select for diffs
Thu Oct 25 22:36:03 2007 UTC (17 years, 6 months ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46: +48 -23 lines
Sync with HEAD.

Revision 1.46.8.1: download - view: text, markup, annotated - select for diffs
Tue Oct 23 20:13:23 2007 UTC (17 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46: +48 -23 lines
Sync with head.

Revision 1.46.30.1: download - view: text, markup, annotated - select for diffs
Thu Oct 18 08:32:10 2007 UTC (17 years, 6 months ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46: +48 -23 lines
sync with head.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Wed Oct 17 19:55:20 2007 UTC (17 years, 6 months ago) by garbled
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, mjf-devfs, matt-armv6-base, jmcneill-pm-base, jmcneill-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs2, keiichi-mipv6
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +48 -23 lines
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree.  Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches.  The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.

Revision 1.46.16.8: download - view: text, markup, annotated - select for diffs
Wed Sep 12 00:41:13 2007 UTC (17 years, 7 months ago) by macallan
Branches: ppcoea-renovation
Diff to: previous 1.46.16.7: preferred, colored; branchpoint 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46.16.7: +33 -21 lines
remove some unused cargo-cult leftover, finish bus_space-ification, fix
some typos. Now UDMA66 with keylargo-ata should work again.

Revision 1.46.16.7: download - view: text, markup, annotated - select for diffs
Wed Aug 8 06:13:09 2007 UTC (17 years, 8 months ago) by macallan
Branches: ppcoea-renovation
Diff to: previous 1.46.16.6: preferred, colored; branchpoint 1.46: preferred, colored
Changes since revision 1.46.16.6: +8 -4 lines
use a level triggered interrupt if the firmware asks us to

Revision 1.46.16.6: download - view: text, markup, annotated - select for diffs
Wed Aug 8 04:19:10 2007 UTC (17 years, 8 months ago) by macallan
Branches: ppcoea-renovation
Diff to: previous 1.46.16.5: preferred, colored; branchpoint 1.46: preferred, colored
Changes since revision 1.46.16.5: +10 -22 lines
get rid of our own bus_space_tag - we provide a bus_space_handle_t for every
single WDC register anyway. Also request an edge-triggered IRQ since some
PIC drivers now actually honour the IRQ type.

Revision 1.46.16.5: download - view: text, markup, annotated - select for diffs
Thu Aug 2 22:14:12 2007 UTC (17 years, 8 months ago) by macallan
Branches: ppcoea-renovation
Diff to: previous 1.46.16.4: preferred, colored; branchpoint 1.46: preferred, colored
Changes since revision 1.46.16.4: +3 -3 lines
set pbs_limit to something sane

Revision 1.46.16.4: download - view: text, markup, annotated - select for diffs
Thu Aug 2 05:33:03 2007 UTC (17 years, 8 months ago) by macallan
Branches: ppcoea-renovation
Diff to: previous 1.46.16.3: preferred, colored; branchpoint 1.46: preferred, colored
Changes since revision 1.46.16.3: +36 -14 lines
adapt to new bus_space, now it works at least on my pb3400c

Revision 1.46.16.3: download - view: text, markup, annotated - select for diffs
Tue Jun 19 23:17:00 2007 UTC (17 years, 10 months ago) by matt
Branches: ppcoea-renovation
Diff to: previous 1.46.16.2: preferred, colored; branchpoint 1.46: preferred, colored
Changes since revision 1.46.16.2: +7 -14 lines
Simplify and don't allocate a separate bus space.

Revision 1.46.16.2: download - view: text, markup, annotated - select for diffs
Thu Jun 7 20:30:45 2007 UTC (17 years, 10 months ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.46.16.1: preferred, colored; branchpoint 1.46: preferred, colored
Changes since revision 1.46.16.1: +17 -11 lines
Convert macppc to powerpc bus_space.  Lots of work here from Matt Thomas,
as well as the common ofwoea code from myself.  Compile tested only,
still probably needs some fine tuning.

Also in this commit:
Convert macppc to new shared ofwoea routines.
Lots of KNF.

Revision 1.46.16.1: download - view: text, markup, annotated - select for diffs
Fri May 11 00:19:27 2007 UTC (17 years, 11 months ago) by macallan
Branches: ppcoea-renovation
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +3 -3 lines
request the correct interrupt type in a couple drivers - necessary since
these days we actually do something with the type argument

Revision 1.41.12.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:46:26 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.41.12.1: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.12.1: +7 -4 lines
sync with head.

Revision 1.45.4.1: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:16:26 2006 UTC (18 years, 4 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +2 -8 lines
sync with head.

Revision 1.45.2.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:29:24 2006 UTC (18 years, 5 months ago) by ad
Branches: newlock2
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +2 -8 lines
Sync with head.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Tue Nov 7 02:23:27 2006 UTC (18 years, 5 months ago) by macallan
Branches: 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, ppcoea-renovation-base, 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, ppcoea-renovation, matt-armv6, jmcneill-pm, bouyer-xenamd64
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +2 -8 lines
allow IDE DMA on Heathrow again

Revision 1.43.6.2: download - view: text, markup, annotated - select for diffs
Thu Sep 14 12:31:12 2006 UTC (18 years, 7 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.43.6.1: preferred, colored; branchpoint 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43.6.1: +13 -4 lines
sync with head.

Revision 1.43.2.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:41:06 2006 UTC (18 years, 7 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43: +15 -5 lines
sync with head

Revision 1.45: download - view: text, markup, annotated - select for diffs
Mon Sep 4 03:44:10 2006 UTC (18 years, 7 months ago) by macallan
Branches: MAIN
CVS tags: yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-pdpolicy-base9, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +13 -4 lines
trying to use IDE DMA on a Heathrow macio is busted so disable it for now.

Revision 1.41.12.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 14:53:13 2006 UTC (18 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +5 -3 lines
sync with head.

Revision 1.43.4.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:37:41 2006 UTC (19 years ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43: +4 -3 lines
Sync with head.

Revision 1.43.8.1: download - view: text, markup, annotated - select for diffs
Wed Apr 19 02:33:12 2006 UTC (19 years ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43: +4 -3 lines
sync with head - hopefully this will work

Revision 1.43.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 1 12:06:20 2006 UTC (19 years ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +4 -3 lines
sync with head.

Revision 1.43.10.1: download - view: text, markup, annotated - select for diffs
Fri Mar 31 09:45:04 2006 UTC (19 years ago) by tron
Branches: peter-altq
Diff to: previous 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43: +4 -3 lines
Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Wed Mar 29 04:16:45 2006 UTC (19 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, simonb-timecounters-base, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +4 -3 lines
Use device_cfdata().

Revision 1.42.2.1: download - view: text, markup, annotated - select for diffs
Wed Feb 1 14:51:29 2006 UTC (19 years, 2 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +3 -2 lines
sync with head.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Mon Jan 16 20:30:19 2006 UTC (19 years, 3 months ago) by bouyer
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -2 lines
properly use ata_channel->ch_ndrive:
- initialize it properly in the bus front-ends (all 2, exept in wdc_pcmcia.c
  for the "Sandisk CompactFlash Card" where it's set to 1)
- remplace hardcoded '2' by ata_channel->ch_ndrive in MI IDE drivers.

From Christos Zoulas in kern/32501.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:18:03 2005 UTC (19 years, 4 months ago) by christos
Branches: MAIN
Branch point for: yamt-uio_vmspace
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +2 -2 lines
merge ktrace-lwp.

Revision 1.25.2.4: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:18:19 2004 UTC (20 years, 7 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.25.2.3: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25.2.3: +2 -2 lines
Fix the sync with head I botched.

Revision 1.25.2.3: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:36:56 2004 UTC (20 years, 7 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.25.2.2: preferred, colored
Changes since revision 1.25.2.2: +2 -2 lines
Sync with HEAD.

Revision 1.25.2.2: download - view: text, markup, annotated - select for diffs
Wed Aug 25 06:57:19 2004 UTC (20 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.25.2.1: preferred, colored
Changes since revision 1.25.2.1: +59 -53 lines
Sync with HEAD.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Mon Aug 23 08:54:39 2004 UTC (20 years, 8 months ago) by aymeric
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, thorpej-vnode-attr-base, thorpej-vnode-attr, 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, ktrace-lwp-base, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-lazymbuf
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +4 -3 lines
postpone the calling of wdc_init_shadow_regs(), to follow MI changes.
Thanks to Jukka Andberg for finding that bug.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Fri Aug 20 06:39:38 2004 UTC (20 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +23 -23 lines
Move most of wdc_softc into a new atac_softc structure that contains
info common to all types of ATA controllers.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Sat Aug 14 15:08:04 2004 UTC (20 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +34 -27 lines
- 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.38: download - view: text, markup, annotated - select for diffs
Fri Aug 13 03:12:59 2004 UTC (20 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +7 -9 lines
Don't bother with bits that tell of the presence of optional callbacks;
just check the function pointers for NULL.

Revision 1.25.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:37:21 2004 UTC (20 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +41 -37 lines
Sync with HEAD

Revision 1.37: download - view: text, markup, annotated - select for diffs
Tue May 25 20:42:41 2004 UTC (20 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -2 lines
Add the notion of "shadow registers" to the wdc driver.  These shadow
registers are registers that overlap with others on many controllers, but
which may actually be distinct on some controllers.  Right now, the two
shadows are:

- wd_status (usually overlaps wd_command)
- wd_features (usually overlaps wd_error)

Add a new helper function, wdc_init_shadow_regs(), used to initialize
the shadow register handles on controllers where they do actually overlap.

Partially from Jordan Rhody @ Wasabi Systems, Inc.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Sun Jan 4 07:08:13 2004 UTC (21 years, 3 months ago) by dbj
Branches: 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
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +8 -8 lines
attempt to make these compile again after recent wdc changes.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sat Jan 3 22:56:53 2004 UTC (21 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +4 -4 lines
More wdc_channel structure member namespace cleanup:
- channel -> ch_channel
- wdc -> ch_wdc

Revision 1.34: download - view: text, markup, annotated - select for diffs
Sat Jan 3 01:50:53 2004 UTC (21 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +11 -11 lines
Rename "struct channel_softc" to "struct wdc_channel".

Revision 1.33: download - view: text, markup, annotated - select for diffs
Thu Jan 1 17:18:54 2004 UTC (21 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -3 lines
Rename:
- wdc_xfer to ata_xfer
- channel_queue to ata_queue
and move them to <dev/ata/atavar.h> so they can be used by non-wdc ATA
controllers.  Clean up the member names of these structures while at it.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Dec 31 02:50:34 2003 UTC (21 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +7 -14 lines
Simplify allocation of the channel queue.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat Dec 27 13:34:36 2003 UTC (21 years, 4 months ago) by mjl
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +6 -6 lines
Initialize some auto vars to appaise gcc3.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Wed Dec 3 12:09:32 2003 UTC (21 years, 4 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +17 -6 lines
Adapt for new wdc regiosters array. Should fix port-macppc/23604.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Wed Oct 8 11:12:36 2003 UTC (21 years, 6 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -3 lines
Adapt for wdcattach() prototype change, and deal with atabus in
device_register().

Revision 1.28: download - view: text, markup, annotated - select for diffs
Thu Sep 25 19:29:49 2003 UTC (21 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -3 lines
Hide the use of config_interrupts() in one place.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Fri Sep 19 21:35:59 2003 UTC (21 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +4 -8 lines
1) Use config_interrupts() to attach IDE and ATAPI drives.  This eliminates
   most polling.
2) Clean up some goofiness in pciide -- get rid of the whole "candisable" path
   (it's gratuitous) and simplify the code by calling pciide_map_compat_intr(),
   *_set_modes() and wdc_print_modes() from central locations.
3) Add a register writability and register ghost test to eliminate phantom
   drives more quickly.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Tue Jul 15 02:43:30 2003 UTC (21 years, 9 months ago) by lukem
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +4 -1 lines
__KERNEL_RCSID()

Revision 1.19.10.2: download - view: text, markup, annotated - select for diffs
Tue Jun 24 09:21:52 2003 UTC (21 years, 10 months ago) by grant
Branches: netbsd-1-6
CVS tags: 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
Diff to: previous 1.19.10.1: preferred, colored; branchpoint 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19.10.1: +4 -3 lines
Pull up revision 1.25 (requested by hamajima in ticket #1328):

Fix wdc_obio_dma_init() confused WDC_DMA_LBA48 with WDC_DMA_READ.
This was tested by jtb@netbsd.org.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu Jun 19 22:36:06 2003 UTC (21 years, 10 months ago) by hamajima
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +4 -3 lines
Fix wdc_obio_dma_init() confused WDC_DMA_LBA48 with WDC_DMA_READ.
This was tested by jtb@netbsd.org.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat May 3 18:10:51 2003 UTC (21 years, 11 months ago) by wiz
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -3 lines
DMA, not dma nor Dma.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Apr 2 03:04:02 2003 UTC (22 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +7 -7 lines
Use PAGE_SIZE rather than NBPG.

Revision 1.17.4.5: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:38:36 2002 UTC (22 years, 6 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.17.4.4: preferred, colored; branchpoint 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17.4.4: +3 -6 lines
Catch up to -current.

Revision 1.13.2.5: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:33:59 2002 UTC (22 years, 6 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.13.2.4: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.2.4: +3 -6 lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Oct 2 05:30:43 2002 UTC (22 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -6 lines
Use CFATTACH_DECL().

Revision 1.21: download - view: text, markup, annotated - select for diffs
Fri Sep 27 20:33:37 2002 UTC (22 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -2 lines
Declare all cfattach structures const.

Revision 1.13.2.4: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:37:08 2002 UTC (22 years, 7 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.13.2.3: preferred, colored
Changes since revision 1.13.2.3: +5 -1 lines
sync kqueue branch with HEAD

Revision 1.17.4.4: download - view: text, markup, annotated - select for diffs
Thu Aug 1 02:42:24 2002 UTC (22 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.17.4.3: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.4.3: +5 -1 lines
Catch up to -current.

Revision 1.19.8.1: download - view: text, markup, annotated - select for diffs
Sun Jul 21 13:00:42 2002 UTC (22 years, 9 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +5 -1 lines
catch up with -current.

Revision 1.19.10.1: download - view: text, markup, annotated - select for diffs
Fri Jul 19 01:28:06 2002 UTC (22 years, 9 months ago) by lukem
Branches: netbsd-1-6
CVS tags: netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +5 -1 lines
Pull up revision 1.20 (requested by bouyer in ticket #519):
Wrap debug printf in #ifdef DEBUG/#endif

Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Jul 18 13:31:58 2002 UTC (22 years, 9 months ago) by bouyer
Branches: MAIN
CVS tags: gehenna-devsw-base
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +5 -1 lines
Wrap debug printf in #ifdef DEBUG/#endif

Revision 1.17.4.3: download - view: text, markup, annotated - select for diffs
Thu Feb 28 04:10:39 2002 UTC (23 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.17.4.2: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.4.2: +1 -1 lines
Catch up to -current.

Revision 1.9.4.1: download - view: text, markup, annotated - select for diffs
Wed Jan 16 10:15:57 2002 UTC (23 years, 3 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +189 -49 lines
Pull up revisions 1.13,1.15-1.19 (via patch, requested by dbj):
  Add UDMA support and allow separate DMA timings to be programmed
  for two different devices on the same wdc channel on the macppc.
  The machine-independent driver is updated to optionally use the
  WDC_CAPABILITY_SELECT callback whenever a target is selected on
  a channel.

Revision 1.17.4.2: download - view: text, markup, annotated - select for diffs
Fri Jan 11 23:38:35 2002 UTC (23 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.17.4.1: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.4.1: +511 -0 lines
More catchup.

Revision 1.13.2.3: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:45:48 2002 UTC (23 years, 3 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.13.2.2: preferred, colored
Changes since revision 1.13.2.2: +124 -119 lines
Sync kqueue branch with -current.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed Jan 9 05:23:07 2002 UTC (23 years, 3 months ago) by dbj
Branches: MAIN
CVS tags: newlock-base, newlock, netbsd-1-6-base, ifpoll-base, eeh-devprop-base, eeh-devprop
Branch point for: netbsd-1-6, gehenna-devsw
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +14 -14 lines
tweak timings

Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Jan 7 22:11:19 2002 UTC (23 years, 3 months ago) by dbj
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +111 -106 lines
Changes to the wdc(4) mi driver that add the WDC_CAPABILITY_SELECT
flag and a callback function which gets called whenever a target is
selected on a channel.

The macppc wdc driver needs to reprogram its timing register
differently for each target on a channel each time that target is
selected.  I also changed the ATA4_TIME_TO_TICK to use a divisor of
15, which brings our timing calculations consistent with darwin.

These patches fix problems on my dual usb ibook with combo dvd/cdrw
drive because the hard drive supports udma and the combo drive does
not.  Without turning off the udma timings in the configuration
register, I cannot access the non-udma combo drive.

Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Mon Oct 1 12:40:38 2001 UTC (23 years, 6 months ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +5 -1 lines
Catch up with -current.

Revision 1.13.2.2: download - view: text, markup, annotated - select for diffs
Thu Sep 13 01:13:58 2001 UTC (23 years, 7 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.13.2.1: preferred, colored
Changes since revision 1.13.2.1: +5 -1 lines
Update the kqueue branch to HEAD.

Revision 1.17.4.1
Sun Sep 9 16:08:49 2001 UTC (23 years, 7 months ago) by nathanw
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.17: +0 -506 lines
file wdc_obio.c was added on branch nathanw_sa on 2002-01-11 23:38:35 +0000

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Sep 9 16:08:49 2001 UTC (23 years, 7 months ago) by bouyer
Branches: MAIN
CVS tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: nathanw_sa
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +5 -1 lines
Properly initiatize sc->sc_wdcdev.set_modes for non-DMA controllers.

Revision 1.13.2.1: download - view: text, markup, annotated - select for diffs
Fri Aug 3 04:11:54 2001 UTC (23 years, 8 months ago) by lukem
Branches: kqueue
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +117 -18 lines
update to -current

Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu Aug 2 12:41:39 2001 UTC (23 years, 8 months ago) by bouyer
Branches: MAIN
CVS tags: thorpej-devvp-base
Branch point for: thorpej-devvp
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +113 -16 lines
Properly setup timings for ata-4 controllers, including UDMA modes.
Tested on a brand new ("dual USB ?") ibook.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed Jul 25 20:26:33 2001 UTC (23 years, 9 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -1 lines
Return() if piomode == -1 (i.e. we have no drives), avoid reading an array with
a negative offset.
Thanks to Andrew Cagney for pointing this out.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Jul 22 11:29:47 2001 UTC (23 years, 9 months ago) by wiz
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -3 lines
bcopy -> memcpy, bzero -> memset, bcmp -> memcmp.
Reviewed by Matt Thomas, ok'd by Tsubai Masanari.

Revision 1.11.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 21 19:27:30 2001 UTC (23 years, 10 months ago) by nathanw
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +72 -39 lines
Catch up to -current.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri Jun 15 10:35:26 2001 UTC (23 years, 10 months ago) by bouyer
Branches: MAIN
Branch point for: kqueue
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +67 -35 lines
Pass WDC_CAPABILITY_MODE to the wdc core, so that it will set timings
on the drive side too.
Deal properly with the case where master and slave don't have the same timings,
and set PIO timings too.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Jun 8 00:32:02 2001 UTC (23 years, 10 months ago) by matt
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +6 -5 lines
Make macppc compile by default with -Wall -Wmissing-prototype in addition
to its currently enabled warnings.  For the lack of a better place, most
global function prototype wound up in <machine/autoconf.h> unless there
was a better place for them.  ofb_* structs renamed to offb_* to avoid
conflict with ofb_softc in <dev/ofw/openfirm.h>

Revision 1.5.2.2: download - view: text, markup, annotated - select for diffs
Wed Nov 22 16:00:38 2000 UTC (24 years, 5 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.5.2.1: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.2.1: +3 -1 lines
Sync with HEAD.

Revision 1.5.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 20:12:57 2000 UTC (24 years, 5 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +95 -13 lines
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.11: download - view: text, markup, annotated - select for diffs
Wed Nov 8 17:50:44 2000 UTC (24 years, 5 months ago) by wrstuden
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -1 lines
Use wdc_print_modes() so that we get to see what DMA modes
are used with a drive.

Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Fri Jul 7 17:33:46 2000 UTC (24 years, 9 months ago) by he
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH003
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.1: +3 -3 lines
Apply patch (requested by bouyer):
  Add support for the following PCIIDE controllers:
   o AMD 756
   o CMD PCI0648 and PCI0649
   o Hightpoint HPT366
   o OPTi 82c621 (and a few of its derivatives)
   o Promise Ultra/33 and Ultra/66
   o Intel 82801 (ICH/ICH0)
  Also fix PR#10437 (detect more ATAPI devices).

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Jun 29 08:10:45 2000 UTC (24 years, 10 months ago) by mrg
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue May 23 13:20:58 2000 UTC (24 years, 11 months ago) by tsubai
Branches: MAIN
CVS tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +77 -10 lines
Modify DMA access timings.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Apr 14 10:22:06 2000 UTC (25 years ago) by tsubai
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -3 lines
Make this compile.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Apr 2 12:36:38 2000 UTC (25 years ago) by tsubai
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +15 -1 lines
Enable wdc1 (needed on StarMax).

Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Jan 21 18:45:14 2000 UTC (25 years, 3 months ago) by tsubai
Branches: MAIN
CVS tags: chs-ubc2-newbase
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -2 lines
Match "keylargo-ata".

Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Oct 4 22:58:10 1999 UTC (25 years, 6 months ago) by tsubai
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999
Branch point for: thorpej_scsipi
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +34 -5 lines
Make media-bay CD detachable.

Revision 1.2.2.1.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 21 00:51:38 1999 UTC (25 years, 10 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.2.2.1: preferred, colored; next MAIN 1.2.2.2: preferred, colored
Changes since revision 1.2.2.1: +32 -35 lines
Sync w/ -current.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Jun 14 08:53:06 1999 UTC (25 years, 10 months ago) by tsubai
Branches: MAIN
CVS tags: chs-ubc2-base
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +32 -35 lines
* Don't use DMA interrupt.
* Stop DMA explicitly in finish routine.

Revision 1.2.2.1: download - view: text, markup, annotated - select for diffs
Thu May 6 02:02:36 1999 UTC (25 years, 11 months ago) by perry
Branches: netbsd-1-4
CVS tags: netbsd-1-4-RELEASE, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame
Branch point for: chs-ubc2
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +8 -1 lines
pullup 1.2->1.3 (thorpej)

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat May 1 10:23:42 1999 UTC (25 years, 11 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +8 -1 lines
Use "compatible" property to match.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Jan 22 10:44:38 1999 UTC (26 years, 3 months ago) by tsubai
Branches: MAIN
CVS tags: netbsd-1-4-base
Branch point for: netbsd-1-4
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -1 lines
Match "ata0".

Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Dec 10 20:10:03 1998 UTC (26 years, 4 months ago) by tsubai
Branches: MAIN
Add ata/atapi disk support.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>