The NetBSD Project

CVS log for src/sys/arch/atari/dev/wdc_mb.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.43: download - view: text, markup, annotated - select for diffs
Wed Dec 20 00:40:42 2023 UTC (11 months, 3 weeks ago) by thorpej
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -3 lines
Remove unnecessary <sys/malloc.h> include.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Fri Jan 6 10:28:28 2023 UTC (23 months ago) by tsutsui
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -3 lines
TAB/spaces/indents cleanup.

Revision 1.40.4.1: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:03:39 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +6 -6 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.41: download - view: text, markup, annotated - select for diffs
Sat Jun 29 16:41:19 2019 UTC (5 years, 5 months ago) by tsutsui
Branches: MAIN
CVS tags: 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-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, 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, netbsd-10-base, 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, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-sunxi-drm-base, bouyer-sunxi-drm, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +6 -6 lines
Make local functions static.

Revision 1.38.2.1: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:35:57 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +9 -15 lines
update from HEAD

Revision 1.40: download - view: text, markup, annotated - select for diffs
Fri Oct 20 07:06:06 2017 UTC (7 years, 1 month ago) by jdolecek
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, phil-wifi-base, phil-wifi-20190609, 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, isaki-audio2-base, isaki-audio2
Branch point for: phil-wifi
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +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.39: download - view: text, markup, annotated - select for diffs
Sat Oct 7 16:05:31 2017 UTC (7 years, 2 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +9 -15 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.38.28.4: download - view: text, markup, annotated - select for diffs
Wed Sep 27 19:11:35 2017 UTC (7 years, 2 months ago) by jdolecek
Branches: jdolecek-ncq
Diff to: previous 1.38.28.3: preferred, colored; branchpoint 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38.28.3: +5 -3 lines
pass ata channel interlock to st_dmagrab() so that it can release
and reacquire it if it sleeps

Revision 1.38.28.3: download - view: text, markup, annotated - select for diffs
Wed Sep 27 19:04:05 2017 UTC (7 years, 2 months ago) by jdolecek
Branches: jdolecek-ncq
Diff to: previous 1.38.28.2: preferred, colored; branchpoint 1.38: preferred, colored
Changes since revision 1.38.28.2: +2 -7 lines
g/c mistakely left over code

Revision 1.38.28.2: download - view: text, markup, annotated - select for diffs
Wed Sep 27 07:19:33 2017 UTC (7 years, 2 months ago) by jdolecek
Branches: jdolecek-ncq
Diff to: previous 1.38.28.1: preferred, colored; branchpoint 1.38: preferred, colored
Changes since revision 1.38.28.1: +5 -7 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.38.28.1: download - view: text, markup, annotated - select for diffs
Mon Apr 24 08:48:45 2017 UTC (7 years, 7 months ago) by jdolecek
Branches: jdolecek-ncq
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -4 lines
use ata_queue_alloc() to dynamically allocate ata_queue for ata channel

Revision 1.35.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:19:13 2012 UTC (12 years, 1 month ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +3 -3 lines
sync with head

Revision 1.38: download - view: text, markup, annotated - select for diffs
Tue Jul 31 15:50:32 2012 UTC (12 years, 4 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, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, 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, nick-nhusb, 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, 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, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, khorben-n900, jdolecek-ncq-base, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, agc-symver-base, agc-symver
Branch point for: tls-maxphys, jdolecek-ncq
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +3 -3 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.37: download - view: text, markup, annotated - select for diffs
Thu Jul 26 20:49:45 2012 UTC (12 years, 4 months ago) by jakllsch
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +1 -1 lines
Revert, with intention of restoring in a less invasive way, the SATA Port
Multiplier code.

ok christos@

Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Jul 2 18:15:44 2012 UTC (12 years, 5 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -3 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.35: download - view: text, markup, annotated - select for diffs
Fri Jul 1 20:34:05 2011 UTC (13 years, 5 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.34: preferred, colored
Changes since revision 1.34: +3 -3 lines
#include <sys/bus.h> instead of <machine/bus.h>.

Revision 1.33.2.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:16:22 2009 UTC (15 years, 7 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33: +33 -40 lines
Sync with HEAD.

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

Revision 1.31.4.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:10:47 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.31.4.1: preferred, colored; branchpoint 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31.4.1: +33 -40 lines
sync with head.

Revision 1.32.8.2: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:33:48 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.32.8.1: preferred, colored; branchpoint 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32.8.1: +33 -40 lines
Sync with HEAD.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Sun Mar 8 05:25:31 2009 UTC (15 years, 9 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, 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-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, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, matt-premerge-20091211, matt-mips64-premerge-20101231, jymxensuspend-base, 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.33: preferred, colored
Changes since revision 1.33: +33 -40 lines
ANSIfy, some KNF, misc cosmetics.

Revision 1.32.8.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:16:01 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +6 -6 lines
Sync with HEAD.

Revision 1.30.12.3: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:27:55 2009 UTC (15 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.30.12.2: preferred, colored; branchpoint 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30.12.2: +4 -4 lines
Sync with HEAD.

Revision 1.32.10.1: download - view: text, markup, annotated - select for diffs
Tue Jan 6 23:49:02 2009 UTC (15 years, 11 months ago) by snj
Branches: netbsd-5
CVS tags: 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, 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
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +6 -6 lines
Pull up following revision(s) (requested by tsutsui in ticket #218):
	sys/arch/atari/dev/wdc_mb.c: revision 1.33
	sys/arch/atari/atari/mainbus.c: revision 1.8
	sys/arch/atari/atari/le_bus.c: revision 1.14
	sys/arch/atari/atari/be_bus.c: revision 1.10
Sprinkle volatile to bus_space(9) access functions.

Revision 1.28.22.2: download - view: text, markup, annotated - select for diffs
Fri Jan 2 12:26:07 2009 UTC (15 years, 11 months ago) by jdc
Branches: netbsd-4
Diff to: previous 1.28.22.1: preferred, colored; branchpoint 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.22.1: +6 -6 lines
Pull up revisions:
  1.10	src/sys/arch/atari/atari/be_bus.c
  1.14	src/sys/arch/atari/atari/le_bus.c
  1.8	src/sys/arch/atari/atari/mainbus.c
  1.33	src/sys/arch/atari/dev/wdc_mb.c
(requested by tsutsui in ticket #1252).

Sprinkle volatile to bus_space(9) access functions.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Sat Dec 27 16:14:13 2008 UTC (15 years, 11 months ago) by tsutsui
Branches: MAIN
CVS tags: nick-hppapmap-base2, mjf-devfs2-base
Branch point for: jym-xensuspend
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +6 -6 lines
Sprinkle volatile to bus_space(9) access functions.

Revision 1.28.38.1: download - view: text, markup, annotated - select for diffs
Tue Jun 3 20:47:13 2008 UTC (16 years, 6 months ago) by skrll
Branches: wrstuden-fixsa
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +29 -26 lines
Sync with netbsd-4.

Revision 1.30.12.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:21:57 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.30.12.1: preferred, colored; branchpoint 1.30: preferred, colored
Changes since revision 1.30.12.1: +0 -7 lines
Sync with HEAD.

Revision 1.31.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:31:41 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31: +2 -9 lines
sync with head.

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

Revision 1.32: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:15 2008 UTC (16 years, 7 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, netbsd-5-base, matt-mips64-base2, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, netbsd-5
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -9 lines
Remove clause 3 and 4 from TNF licenses

Revision 1.30.12.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:12 2008 UTC (16 years, 8 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +20 -26 lines
Sync with HEAD.

Revision 1.25.2.3: download - view: text, markup, annotated - select for diffs
Mon Mar 24 09:38:37 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.25.2.2: preferred, colored; branchpoint 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25.2.2: +20 -26 lines
sync with head.

Revision 1.30.8.1: download - view: text, markup, annotated - select for diffs
Mon Mar 24 07:14:54 2008 UTC (16 years, 8 months ago) by keiichi
Branches: keiichi-mipv6
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +20 -26 lines
sync with head.

Revision 1.28.48.2: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:03:56 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.28.48.1: preferred, colored; branchpoint 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.48.1: +20 -26 lines
sync with HEAD

Revision 1.31: download - view: text, markup, annotated - select for diffs
Tue Mar 18 20:46:35 2008 UTC (16 years, 8 months ago) by cube
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +20 -26 lines
Split device_t and softc for ATA devices, as well as wd(4).  Other
cosmetic changes where appropriate.

Revision 1.28.22.1: download - view: text, markup, annotated - select for diffs
Sat Feb 2 03:34:04 2008 UTC (16 years, 10 months ago) by riz
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +29 -26 lines
Pull up following revision(s) (requested by tsutsui in ticket #1013):
	sys/arch/atari/dev/wdc_mb.c: revision 1.30
	sys/arch/atari/dev/wdc_mb.c: revision 1.29
Apply missed following MI wdc changes to atari's mainbus wdc backend:
- make bus space handles an array for each command register
  http://mail-index.netbsd.org/source-changes/2003/11/27/0036.html
  (note we no longer have to specify stride for wdc after this change)
- add the notion of "shadow register"
  http://mail-index.netbsd.org/source-changes/2004/05/25/0048.html
Problem reported by Alan Hourihane in PR port-amiga/37464.
- add a missing brace in the previous
- print error message on failure to map aux register

Revision 1.28.48.1: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:45:31 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +29 -26 lines
sync with HEAD

Revision 1.24.10.1: download - view: text, markup, annotated - select for diffs
Wed Dec 12 19:37:51 2007 UTC (17 years ago) by bouyer
Branches: netbsd-3
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +44 -12 lines
Pull up following revision(s) (requested by tsutsui in ticket #1885):
	sys/arch/atari/dev/wdc_mb.c: revisions 1.29, 1.30 via patch
Apply missed following MI wdc changes to atari's mainbus wdc backend:
- make bus space handles an array for each command register
  http://mail-index.netbsd.org/source-changes/2003/11/27/0036.html
  (note we no longer have to specify stride for wdc after this change)
- add the notion of "shadow register"
  http://mail-index.netbsd.org/source-changes/2004/05/25/0048.html
Problem reported by Alan Hourihane in PR port-amiga/37464.

Revision 1.28.46.1: download - view: text, markup, annotated - select for diffs
Sun Dec 9 19:34:44 2007 UTC (17 years ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +29 -26 lines
Sync with HEAD.

Revision 1.28.54.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:16:43 2007 UTC (17 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +29 -26 lines
Sync with HEAD.

Revision 1.28.58.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 17:56:17 2007 UTC (17 years ago) by ad
Branches: vmlocking2
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +29 -26 lines
Sync with head.

Revision 1.25.2.2: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:24:23 2007 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.25.2.1: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.2.1: +29 -26 lines
sync with head

Revision 1.30: download - view: text, markup, annotated - select for diffs
Tue Dec 4 16:36:54 2007 UTC (17 years ago) by tsutsui
Branches: MAIN
CVS tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-base, jmcneill-pm-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386
Branch point for: mjf-devfs2, keiichi-mipv6
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +5 -3 lines
- add a missing brace in the previous
- print error message on failure to map aux register

Revision 1.29: download - view: text, markup, annotated - select for diffs
Tue Dec 4 15:28:58 2007 UTC (17 years ago) by tsutsui
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +27 -26 lines
Apply missed following MI wdc changes to atari's mainbus wdc backend:
- make bus space handles an array for each command register
  http://mail-index.netbsd.org/source-changes/2003/11/27/0036.html
  (note we no longer have to specify stride for wdc after this change)
- add the notion of "shadow register"
  http://mail-index.netbsd.org/source-changes/2004/05/25/0048.html

Problem reported by Alan Hourihane in PR port-amiga/37464.

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

Revision 1.26.2.1: download - view: text, markup, annotated - select for diffs
Wed Feb 1 14:51:26 2006 UTC (18 years, 10 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26: +4 -3 lines
sync with head.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Jan 29 21:42:41 2006 UTC (18 years, 10 months ago) by dsl
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-uio_vmspace-base5, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-fixsa-base-1, vmlocking2-base1, vmlocking-nbase, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, reinoud-bufcleanup, ppcoea-renovation-base, ppcoea-renovation, post-newlock2-merge, peter-altq-base, peter-altq, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, newlock2, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, mjf-ufs-trans-base, mjf-ufs-trans, matt-nb4-arm-base, matt-nb4-arm, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, jmcneill-base, hpcarm-cleanup, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: wrstuden-fixsa, vmlocking2, netbsd-4, mjf-devfs, matt-armv6, jmcneill-pm
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -3 lines
Make almost everything #include <sys/bswap.h> instead of <machine/bswap.h>
The bswap.h and endian.h files are all rather incestuous, but I want to
get the constant folding stuff into one place - sys/bswap.h

Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Jan 16 20:30:19 2006 UTC (18 years, 11 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +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.26: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:16:54 2005 UTC (19 years ago) by christos
Branches: MAIN
Branch point for: yamt-uio_vmspace
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -2 lines
merge ktrace-lwp.

Revision 1.11.6.5: download - view: text, markup, annotated - select for diffs
Thu Nov 10 13:55:32 2005 UTC (19 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.11.6.4: preferred, colored; branchpoint 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.6.4: +41 -12 lines
Sync with HEAD. Here we go again...

Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue May 10 20:28:35 2005 UTC (19 years, 7 months ago) by jdc
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, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +41 -12 lines
Add some definitions of the (Falcon) IDE register locations and use these
to initialise the wdc register array.

Doesn't make the wdc probe work on the Falcon, but at least the kernel no
longer dies at boot time.

Revision 1.11.6.4: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:14:00 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.11.6.3: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.6.3: +2 -2 lines
Fix the sync with head I botched.

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

Revision 1.11.6.2: download - view: text, markup, annotated - select for diffs
Wed Aug 25 06:57:17 2004 UTC (20 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.11.6.1: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.6.1: +53 -45 lines
Sync with HEAD.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Fri Aug 20 06:39:38 2004 UTC (20 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, 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, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: netbsd-3
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +20 -20 lines
Move most of wdc_softc into a new atac_softc structure that contains
info common to all types of ATA controllers.

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

Revision 1.11.6.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:33:12 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +22 -22 lines
Sync with HEAD

Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue Jan 6 18:46:07 2004 UTC (20 years, 11 months ago) by he
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.20: preferred, colored
Changes since revision 1.20: +3 -3 lines
Make these compile again after the latest adjustments.

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

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

Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu Jan 1 17:18:54 2004 UTC (20 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +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.17: download - view: text, markup, annotated - select for diffs
Wed Dec 31 02:45:04 2003 UTC (20 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +7 -12 lines
Simplfy allocation of the channel queue.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Dec 16 14:07:20 2003 UTC (21 years ago) by he
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +8 -7 lines
Replace cmd_ioh with cmd_baseioh, to track changes to wdcvar.h, so
that this compiles again.  Untested for now.

Reviewed by leo.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed Oct 8 11:06:05 2003 UTC (21 years, 2 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -3 lines
Adapt for wdcattach() prototype change.

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

Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri Sep 19 21:35:58 2003 UTC (21 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +5 -4 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.12: download - view: text, markup, annotated - select for diffs
Tue Jul 15 01:19:52 2003 UTC (21 years, 5 months ago) by lukem
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -1 lines
__KERNEL_RCSID()

Revision 1.9.12.1: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:35:56 2002 UTC (22 years, 2 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +3 -4 lines
Catch up to -current.

Revision 1.9.8.1: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:32:04 2002 UTC (22 years, 2 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +3 -4 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.11: download - view: text, markup, annotated - select for diffs
Wed Oct 2 05:04:26 2002 UTC (22 years, 2 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
Branch point for: ktrace-lwp
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -4 lines
Use CFATTACH_DECL().

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

Revision 1.7.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 20:05:27 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +8 -3 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.9: download - view: text, markup, annotated - select for diffs
Wed Mar 29 14:19:23 2000 UTC (24 years, 8 months ago) by leo
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf, newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl, ifpoll-base, gehenna-devsw-base, gehenna-devsw, eeh-devprop-base, eeh-devprop
Branch point for: nathanw_sa, kqueue
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +5 -2 lines
Nuke a bunch of cf_unit abuses.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Mar 23 06:36:04 2000 UTC (24 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -2 lines
New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
  resource allocation.
- Insertion and removal of callouts is constant time, important as
  this facility is used quite a lot in the kernel.

The old timeout()/untimeout() API has been removed from the kernel.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Aug 6 08:27:31 1999 UTC (25 years, 4 months ago) by leo
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase
Branch point for: thorpej_scsipi
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +5 -5 lines
Change the way that bit's are cleared in the InterruptPending register of
the 68901. Do this now by _assigning_ ~<bit_to_clear> instead of the
previously used 'andb ~<bit_to_clear>'. The latter caused a rwm-cycle that
caused a race condition to happen when an interrupt arrived between the
Read and Modify-Write.
Anyway, this solved my hanging keyboard problem.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Feb 19 20:57:14 1999 UTC (25 years, 9 months ago) by leo
Branches: MAIN
CVS tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, chs-ubc2-base, chs-ubc2
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -1 lines
Add <machine/bswap.h> in the list of include-files.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Dec 3 18:24:30 1998 UTC (26 years ago) by bouyer
Branches: MAIN
CVS tags: kenh-if-detach-base, kenh-if-detach, bouyer-ide-last-dist
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
Rename pio_mode, etc ...  to PIO_cap, etc ... for consistency with the
ata_drive_datas struct. Suggested by Soren S. Jorvan.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Nov 22 14:36:38 1998 UTC (26 years ago) by drochner
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +4 -2 lines
oops - forget update for wdc_channels definition change

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Oct 12 16:09:12 1998 UTC (26 years, 2 months ago) by bouyer
Branches: MAIN
CVS tags: chs-ubc-base, chs-ubc
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +82 -40 lines
Merge bouyer-ide

Revision 1.1.2.6: download - view: text, markup, annotated - select for diffs
Fri Oct 2 19:37:21 1998 UTC (26 years, 2 months ago) by bouyer
Branches: bouyer-ide
CVS tags: bouyer-ide-merge
Diff to: previous 1.1.2.5: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.5: +3 -2 lines
Cleanup a few error message, remove some dead code. Re-add a reset at end of
attach, unless we have WDC_NO_EXTRA_RESETS.
Add support for data32iot/data32ioh from -current: each controller pass
WDC_CAPABILITY_DATA32 if they can do 32bit, and WDC_CAPABILITY_DATA16 if they
can do 16bit. For controller that support both, the usual autodetect
mechanism is still used.

Revision 1.1.2.5: download - view: text, markup, annotated - select for diffs
Fri Aug 21 16:34:48 1998 UTC (26 years, 3 months ago) by bouyer
Branches: bouyer-ide
Diff to: previous 1.1.2.4: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.4: +22 -20 lines
Sync with -current

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Aug 15 10:11:01 1998 UTC (26 years, 4 months ago) by mycroft
Branches: MAIN
CVS tags: bouyer-ide-base
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +22 -20 lines
Assign my copyrights to TNF.

Revision 1.1.2.4: download - view: text, markup, annotated - select for diffs
Thu Aug 13 14:37:52 1998 UTC (26 years, 4 months ago) by bouyer
Branches: bouyer-ide
Diff to: previous 1.1.2.3: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.3: +1 -10 lines
 - sync with -current
 - b* -> mem*

Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Tue Jun 23 08:07:28 1998 UTC (26 years, 5 months ago) by leo
Branches: bouyer-ide
Diff to: previous 1.1.2.2: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.2: +45 -2 lines
Add necessary cruft to handle swapped byte-lanes on the data-register. It
basically boils down to the fact that there are 2 new options:
WDC_CAPABILITY_{ATA,ATAPI}_NOSTREAM with which you are able to control
the usage bus_space_read_multi_X() vs. bus_space_read_multi_stream_X().

Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Fri Jun 5 08:38:56 1998 UTC (26 years, 6 months ago) by bouyer
Branches: bouyer-ide
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.1: +5 -12 lines
Patches from Leo Weppelman for IDE on atari, with minor fixes by me
(needed the addition of a void wdcrestart __P((void*)) function).
Quoting his words:
These diffs are preliminary because it looks like the free_hw() function
does not get called. This is only a problem on the atari falcon. I have not
yet been able to track this down.
Also, KNF wdc.c.

Revision 1.1.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 4 16:53:40 1998 UTC (26 years, 6 months ago) by bouyer
Branches: bouyer-ide
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +41 -27 lines
Commit changes to the IDE system in a branch. This allows a better separation
between higth-level and low-level (i.e. registers read/write) and generalize
the queue for all commands. This also add supports for IDE DMA.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Apr 10 10:37:12 1998 UTC (26 years, 8 months ago) by leo
Branches: MAIN
CVS tags: eeh-paddr_t-base, eeh-paddr_t
Branch point for: bouyer-ide
Use MI wdc-driver.

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>