The NetBSD Project

CVS log for src/sys/arch/acorn32/podulebus/simide.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / acorn32 / podulebus

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.32 / (download) - annotate - [select for diffs], Mon Apr 4 19:33:45 2022 UTC (9 months, 4 weeks ago) by andvar
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored)

fix various typos, mainly in comments.

Revision 1.29.2.1 / (download) - annotate - [select for diffs], Sun Dec 3 11:35:45 2017 UTC (5 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.29: +3 -5 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

update from HEAD

Revision 1.31 / (download) - annotate - [select for diffs], Fri Oct 20 07:06:06 2017 UTC (5 years, 3 months ago) by jdolecek
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, 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-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-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, 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, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.30: +2 -3 lines
Diff to previous 1.30 (colored)

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.30 / (download) - annotate - [select for diffs], Sat Oct 7 16:05:31 2017 UTC (5 years, 3 months ago) by jdolecek
Branch: MAIN
Changes since 1.29: +4 -5 lines
Diff to previous 1.29 (colored)

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.29.28.2 / (download) - annotate - [select for diffs], Wed Sep 27 07:19:33 2017 UTC (5 years, 4 months ago) by jdolecek
Branch: jdolecek-ncq
Changes since 1.29.28.1: +3 -3 lines
Diff to previous 1.29.28.1 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)

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.29.28.1 / (download) - annotate - [select for diffs], Mon Apr 24 08:48:45 2017 UTC (5 years, 9 months ago) by jdolecek
Branch: jdolecek-ncq
Changes since 1.29: +3 -4 lines
Diff to previous 1.29 (colored)

use ata_queue_alloc() to dynamically allocate ata_queue for ata channel

Revision 1.26.2.1 / (download) - annotate - [select for diffs], Tue Oct 30 17:18:38 2012 UTC (10 years, 3 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

sync with head

Revision 1.29 / (download) - annotate - [select for diffs], Tue Jul 31 15:50:31 2012 UTC (10 years, 6 months ago) by bouyer
Branch: 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-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
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored)

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.28 / (download) - annotate - [select for diffs], Thu Jul 26 20:49:45 2012 UTC (10 years, 6 months ago) by jakllsch
Branch: MAIN
Changes since 1.27: +1 -1 lines
Diff to previous 1.27 (colored)

Revert, with intention of restoring in a less invasive way, the SATA Port
Multiplier code.

ok christos@

Revision 1.27 / (download) - annotate - [select for diffs], Mon Jul 2 18:15:44 2012 UTC (10 years, 7 months ago) by bouyer
Branch: MAIN
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

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.26 / (download) - annotate - [select for diffs], Tue Jul 19 15:59:54 2011 UTC (11 years, 6 months ago) by dyoung
Branch: 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
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

Change <machine/bus.h> to <sys/bus.h> throughout.

Split bus.h -> bus_{defs,funcs}.h.

Mark acorn32/bus.h obsolete.

Revision 1.24.54.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:09 2008 UTC (14 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.24: +24 -29 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

Sync with HEAD.

Revision 1.21.12.3 / (download) - annotate - [select for diffs], Mon Mar 24 09:38:37 2008 UTC (14 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.21.12.2: +24 -29 lines
Diff to previous 1.21.12.2 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

sync with head.

Revision 1.24.50.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:14:51 2008 UTC (14 years, 10 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.24: +24 -29 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

sync with head.

Revision 1.24.30.1 / (download) - annotate - [select for diffs], Sun Mar 23 02:03:51 2008 UTC (14 years, 10 months ago) by matt
Branch: matt-armv6
Changes since 1.24: +24 -29 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

sync with HEAD

Revision 1.24.28.1 / (download) - annotate - [select for diffs], Fri Mar 21 13:34:41 2008 UTC (14 years, 10 months ago) by chris
Branch: chris-arm-intr-rework
Changes since 1.24: +24 -29 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

Sync with head.

Revision 1.25 / (download) - annotate - [select for diffs], Tue Mar 18 20:46:35 2008 UTC (14 years, 10 months ago) by cube
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-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-base2, yamt-nfs-mp-base11, yamt-nfs-mp-base10, yamt-nfs-mp-base, yamt-nfs-mp, yamt-lazymbuf-base15, yamt-lazymbuf-base14, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, 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, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, 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-premerge-20091211, 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-premerge-20101231, matt-mips64-base2, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, jruoho-x86intr-base, jruoho-x86intr, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, chris-arm-intr-rework-base7, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2
Changes since 1.24: +24 -29 lines
Diff to previous 1.24 (colored)

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

Revision 1.21.12.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:45:18 2006 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.21.12.1: +3 -3 lines
Diff to previous 1.21.12.1 (colored) to branchpoint 1.21 (colored)

sync with head.

Revision 1.23.18.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:28:59 2006 UTC (16 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

Sync with head.

Revision 1.23.20.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:04:31 2006 UTC (16 years, 3 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

sync with head

Revision 1.18.6.1 / (download) - annotate - [select for diffs], Mon Oct 9 21:42:36 2006 UTC (16 years, 3 months ago) by bouyer
Branch: netbsd-2-1
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Pull up following revision(s) (requested by bjh21 in ticket #10703):
	sys/arch/acorn32/podulebus/simide.c: revision 1.24
PR 23783: the correct number of elements to insert into cmd_iohs is WDC_NREG,
not DRIVE_REGISTERS_SPACE.  The latter is much bigger and causes a buffer
overrun and panic.  Patch supplied by Mike Pumford.

Revision 1.18.2.1 / (download) - annotate - [select for diffs], Mon Oct 9 21:42:23 2006 UTC (16 years, 3 months ago) by bouyer
Branch: netbsd-2-0
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Pull up following revision(s) (requested by bjh21 in ticket #10703):
	sys/arch/acorn32/podulebus/simide.c: revision 1.24
PR 23783: the correct number of elements to insert into cmd_iohs is WDC_NREG,
not DRIVE_REGISTERS_SPACE.  The latter is much bigger and causes a buffer
overrun and panic.  Patch supplied by Mike Pumford.

Revision 1.18.4.1 / (download) - annotate - [select for diffs], Mon Oct 9 21:42:09 2006 UTC (16 years, 3 months ago) by bouyer
Branch: netbsd-2
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Pull up following revision(s) (requested by bjh21 in ticket #10703):
	sys/arch/acorn32/podulebus/simide.c: revision 1.24
PR 23783: the correct number of elements to insert into cmd_iohs is WDC_NREG,
not DRIVE_REGISTERS_SPACE.  The latter is much bigger and causes a buffer
overrun and panic.  Patch supplied by Mike Pumford.

Revision 1.21.10.1 / (download) - annotate - [select for diffs], Fri Oct 6 21:23:10 2006 UTC (16 years, 4 months ago) by ghen
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-1-RELEASE, netbsd-3-1
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

Pull up following revision(s) (requested by bjh21 in ticket #1534):
	sys/arch/acorn32/podulebus/simide.c: revision 1.24
PR 23783: the correct number of elements to insert into cmd_iohs is WDC_NREG,
not DRIVE_REGISTERS_SPACE.  The latter is much bigger and causes a buffer
overrun and panic.  Patch supplied by Mike Pumford.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Sep 24 23:14:58 2006 UTC (16 years, 4 months ago) by bjh21
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, ppcoea-renovation-base, ppcoea-renovation, post-newlock2-merge, nick-net80211-sync-base, nick-net80211-sync, 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, mjf-devfs-base, mjf-devfs, matt-nb4-arm-base, matt-nb4-arm, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-base, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, chris-arm-intr-rework-base6, chris-arm-intr-rework-base5, chris-arm-intr-rework-base4, chris-arm-intr-rework-base3, chris-arm-intr-rework-base2, chris-arm-intr-rework-base, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-audiomp-base, ad-audiomp
Branch point for: mjf-devfs2, matt-armv6, keiichi-mipv6, chris-arm-intr-rework
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

PR 23783: the correct number of elements to insert into cmd_iohs is WDC_NREG,
not DRIVE_REGISTERS_SPACE.  The latter is much bigger and causes a buffer
overrun and panic.  Patch supplied by Mike Pumford.

Revision 1.21.12.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:47:48 2006 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.21: +3 -2 lines
Diff to previous 1.21 (colored)

sync with head.

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Wed Feb 1 14:51:25 2006 UTC (17 years ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.22: +3 -2 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

sync with head.

Revision 1.23 / (download) - annotate - [select for diffs], Mon Jan 16 20:30:18 2006 UTC (17 years ago) by bouyer
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, peter-altq-base, peter-altq, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.22: +3 -2 lines
Diff to previous 1.22 (colored)

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.22 / (download) - annotate - [select for diffs], Sun Dec 11 12:16:05 2005 UTC (17 years, 1 month ago) by christos
Branch: MAIN
Branch point for: yamt-uio_vmspace
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

merge ktrace-lwp.

Revision 1.7.8.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:11:28 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.7.8.3: +2 -2 lines
Diff to previous 1.7.8.3 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

Fix the sync with head I botched.

Revision 1.7.8.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:30:38 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.7.8.2: +2 -2 lines
Diff to previous 1.7.8.2 (colored) to branchpoint 1.7 (colored)

Sync with HEAD.

Revision 1.7.8.2 / (download) - annotate - [select for diffs], Wed Aug 25 06:57:17 2004 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.7.8.1: +29 -24 lines
Diff to previous 1.7.8.1 (colored) to branchpoint 1.7 (colored)

Sync with HEAD.

Revision 1.21 / (download) - annotate - [select for diffs], Fri Aug 20 06:39:37 2004 UTC (18 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, 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-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, 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, ktrace-lwp-base, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-lazymbuf, netbsd-3
Changes since 1.20: +7 -7 lines
Diff to previous 1.20 (colored)

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

Revision 1.20 / (download) - annotate - [select for diffs], Sat Aug 14 15:08:04 2004 UTC (18 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.19: +25 -20 lines
Diff to previous 1.19 (colored)

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

Revision 1.7.8.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:30:56 2004 UTC (18 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.7: +25 -19 lines
Diff to previous 1.7 (colored)

Sync with HEAD

Revision 1.19 / (download) - annotate - [select for diffs], Tue May 25 20:42:40 2004 UTC (18 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.18: +3 -2 lines
Diff to previous 1.18 (colored)

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.18 / (download) - annotate - [select for diffs], Sat Jan 3 22:56:52 2004 UTC (19 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-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
Branch point for: netbsd-2-1, netbsd-2-0, netbsd-2
Changes since 1.17: +4 -4 lines
Diff to previous 1.17 (colored)

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

Revision 1.17 / (download) - annotate - [select for diffs], Sat Jan 3 01:50:52 2004 UTC (19 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.16: +5 -5 lines
Diff to previous 1.16 (colored)

Rename "struct channel_softc" to "struct wdc_channel".

Revision 1.16 / (download) - annotate - [select for diffs], Thu Jan 1 17:18:54 2004 UTC (19 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.15: +4 -4 lines
Diff to previous 1.15 (colored)

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.15 / (download) - annotate - [select for diffs], Wed Dec 31 02:41:22 2003 UTC (19 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.14: +4 -10 lines
Diff to previous 1.14 (colored)

Simplify allocation of the channel queue.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Dec 2 23:47:20 2003 UTC (19 years, 2 months ago) by bjh21
Branch: MAIN
Changes since 1.13: +14 -5 lines
Diff to previous 1.13 (colored)

Update for new world of indirect wdc registers.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Oct 19 19:29:50 2003 UTC (19 years, 3 months ago) by he
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

Adapt to the new wdcattach() signature.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Oct 8 11:01:16 2003 UTC (19 years, 4 months ago) by bouyer
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

Adapt for wdcattach() prototype change.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Sep 25 19:29:48 2003 UTC (19 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

Hide the use of config_interrupts() in one place.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Sep 24 07:15:52 2003 UTC (19 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.9: +3 -4 lines
Diff to previous 1.9 (colored)

Take a stab at making this compile, at least.

Revision 1.9 / (download) - annotate - [select for diffs], Sun Sep 21 15:11:04 2003 UTC (19 years, 4 months ago) by matt
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

Adapt to new wdcattach calling conventions.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jul 14 22:48:27 2003 UTC (19 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.7: +4 -1 lines
Diff to previous 1.7 (colored)

use __KERNEL_RCSID() in a consistent manner

Revision 1.2.12.1 / (download) - annotate - [select for diffs], Fri Nov 1 11:13:07 2002 UTC (20 years, 3 months ago) by tron
Branch: 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, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Changes since 1.2: +2 -4 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

Pull up revision 1.3 (requested by chris in ticket #120):
Substantial overhaul of podule IDs.  Unlike on PCI or USB, podule IDs are
assigned by RISCOS Ltd (and were assigned by Acorn) to be unique across all
manufacturers.  This means that associating each one with a manufacturer (and
checking the manufacturer when attaching) is bogus.  Thus, we don't do that
any more.
This should have the pleasant side-effect of getting APDL IDE interfaces
working, since they're just ICS ones with a different manufacturer ID.

Revision 1.1.4.4 / (download) - annotate - [select for diffs], Fri Oct 18 02:33:46 2002 UTC (20 years, 3 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.1.4.3: +5 -6 lines
Diff to previous 1.1.4.3 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Catch up to -current.

Revision 1.2.2.4 / (download) - annotate - [select for diffs], Thu Oct 10 18:30:31 2002 UTC (20 years, 3 months ago) by jdolecek
Branch: kqueue
Changes since 1.2.2.3: +5 -6 lines
Diff to previous 1.2.2.3 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

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

Revision 1.7 / (download) - annotate - [select for diffs], Wed Oct 2 03:31:59 2002 UTC (20 years, 4 months ago) by thorpej
Branch: 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, bjh21-hydra-base, bjh21-hydra
Branch point for: ktrace-lwp
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Fix script-o's in previous.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Oct 2 02:23:52 2002 UTC (20 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.5: +3 -4 lines
Diff to previous 1.5 (colored)

Use CFATTACH_DECL().

Revision 1.5 / (download) - annotate - [select for diffs], Fri Sep 27 20:29:18 2002 UTC (20 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Declare all cfattach structures const.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Sep 27 15:35:31 2002 UTC (20 years, 4 months ago) by provos
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

remove trailing \n in panic().  approved perry.

Revision 1.2.2.3 / (download) - annotate - [select for diffs], Sun Jun 23 17:33:58 2002 UTC (20 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.2.2.2: +2 -4 lines
Diff to previous 1.2.2.2 (colored) to branchpoint 1.2 (colored)

catch up with -current on kqueue branch

Revision 1.1.4.3 / (download) - annotate - [select for diffs], Thu Jun 20 03:37:21 2002 UTC (20 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.1.4.2: +2 -4 lines
Diff to previous 1.1.4.2 (colored) to branchpoint 1.1 (colored)

Catch up to -current.

Revision 1.2.10.1 / (download) - annotate - [select for diffs], Thu May 30 15:32:10 2002 UTC (20 years, 8 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.2: +2 -4 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

Catch up with -current.

Revision 1.3 / (download) - annotate - [select for diffs], Wed May 22 22:43:19 2002 UTC (20 years, 8 months ago) by bjh21
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.2: +2 -4 lines
Diff to previous 1.2 (colored)

Substantial overhaul of podule IDs.  Unlike on PCI or USB, podule IDs are
assigned by RISCOS Ltd (and were assigned by Acorn) to be unique across all
manufacturers.  This means that associating each one with a manufacturer (and
checking the manufacturer when attaching) is bogus.  Thus, we don't do that
any more.

This should have the pleasant side-effect of getting APDL IDE interfaces
working, since they're just ICS ones with a different manufacturer ID.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Thu Jan 10 19:36:40 2002 UTC (21 years ago) by thorpej
Branch: kqueue
Changes since 1.2.2.1: +338 -0 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored)

Sync kqueue branch with -current.

Revision 1.1.4.2 / (download) - annotate - [select for diffs], Tue Jan 8 00:22:47 2002 UTC (21 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.1.4.1: +338 -0 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored)

Catch up to -current.

Revision 1.2.2.1, Tue Nov 27 00:53:12 2001 UTC (21 years, 2 months ago) by thorpej
Branch: kqueue
Changes since 1.2: +0 -338 lines
FILE REMOVED

file simide.c was added on branch kqueue on 2002-01-10 19:36:40 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Tue Nov 27 00:53:12 2001 UTC (21 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, ifpoll-base, eeh-devprop-base, eeh-devprop
Branch point for: netbsd-1-6, kqueue, gehenna-devsw
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

Use <machine/intr.h>, not <machine/irqhandler.h>

Revision 1.1.4.1, Fri Oct 5 22:27:59 2001 UTC (21 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.1: +0 -338 lines
FILE REMOVED

file simide.c was added on branch nathanw_sa on 2002-01-08 00:22:47 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Fri Oct 5 22:27:59 2001 UTC (21 years, 4 months ago) by reinoud
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3
Branch point for: nathanw_sa

Initial commit of the splitting off of arch/acorn32 from arch/arm32.

The IOMD/VIDC combination is now moved to arch/arm/iomd together. These
files still need a lot of cleaning up :( .... esp. the RC7500 support that
is still dormant in it; this needs either to be removed or split out for
RC7500's ``VIDC'' video/audio variant.

Apart from the RC7500 support wich is still in arch/arm32 the
iomd,vidc,riscpc and podulebus subdirectories of arch/arm32 can be removed.

This split still uses some small parts of arch/arm32 .... those are the MI
parts that haven't been moved yet.

RiscPC/A7000 have been tested and confirmed to build as should NC.

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




CVSweb <webmaster@jp.NetBSD.org>