The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.47 / (download) - annotate - [select for diffs], Sun Dec 26 16:08:21 2021 UTC (2 years, 3 months ago) by andvar
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, 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, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.46: +4 -4 lines
Diff to previous 1.46 (colored)

fix various typos, mainly in comments.

Revision 1.43.10.1 / (download) - annotate - [select for diffs], Mon Aug 17 11:29:31 2020 UTC (3 years, 7 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE
Changes since 1.43: +3 -4 lines
Diff to previous 1.43 (colored) next main 1.44 (colored)

Pull up following revision(s) (requested by jdolecek in ticket #1054):

	sys/dev/pci/cmdide.c: revision 1.46

remove explicit irqack() call for unexpected interrupt; this happens
normally during boot when running identify for the drive as polled
command, and fixes hard hang caused by the irqack() on a sun machine
the unexpected interrupt happens because cmdide doesn't respect
WDCTL_IDS bit and triggers interrupt also for polled commands

also reclassify the "bogus intr" as aprint_verbose() to avoid noise
on boot

discussed and tested by Martin Husemann

Revision 1.46 / (download) - annotate - [select for diffs], Fri Jul 17 21:04:14 2020 UTC (3 years, 8 months ago) by jdolecek
Branch: 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, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.45: +3 -4 lines
Diff to previous 1.45 (colored)

remove explicit irqack() call for unexpected interrupt; this happens
normally during boot when running identify for the drive as polled
command, and fixes hard hang caused by the irqack() on a sun machine

the unexpected interrupt happens because cmdide doesn't respect
WDCTL_IDS bit and triggers interrupt also for polled commands

also reclassify the "bogus intr" as aprint_verbose() to avoid noise
on boot

discussed and tested by Martin Husemann

Revision 1.45 / (download) - annotate - [select for diffs], Wed Jul 1 17:57:14 2020 UTC (3 years, 9 months ago) by jdolecek
Branch: MAIN
Changes since 1.44: +0 -6 lines
Diff to previous 1.44 (colored)

revert, not working

Revision 1.44 / (download) - annotate - [select for diffs], Wed Jul 1 15:10:01 2020 UTC (3 years, 9 months ago) by jdolecek
Branch: MAIN
Changes since 1.43: +8 -2 lines
Diff to previous 1.43 (colored)

ignore interrupt when not expecting one, particularly don't invoke
the irqack in this case

seems cmdide doesn't honour WDCTL_IDS when executing polled commands,
and there is a race where the irqack call interferes with polled
command and causes a lockup

reported by Martin Husemann

Revision 1.38.2.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:07 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.38.2.1: +59 -42 lines
Diff to previous 1.38.2.1 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored)

update from HEAD

Revision 1.43 / (download) - annotate - [select for diffs], Sun Oct 22 13:13:55 2017 UTC (6 years, 5 months ago) by jdolecek
Branch: 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-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, jdolecek-ncqfixes-base, jdolecek-ncqfixes, 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: netbsd-9
Changes since 1.42: +49 -7 lines
Diff to previous 1.42 (colored)

do not share queue between the non-indepedant channels; instead make
sure only one of the channels is ever active on the same controller

fixes PR kern/52606 by Martin Husemann, thanks for report and testing

Revision 1.42 / (download) - annotate - [select for diffs], Fri Oct 20 21:51:29 2017 UTC (6 years, 5 months ago) by jdolecek
Branch: MAIN
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (colored)

actually 0680 uses different chip map func, which doesn't call the function
handing non-independant channels, so don't set IDE_SHARED_CHANNELS for it

Revision 1.41 / (download) - annotate - [select for diffs], Fri Oct 20 07:06:08 2017 UTC (6 years, 5 months ago) by jdolecek
Branch: MAIN
Changes since 1.40: +3 -16 lines
Diff to previous 1.40 (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.40 / (download) - annotate - [select for diffs], Thu Oct 19 20:11:38 2017 UTC (6 years, 5 months ago) by jdolecek
Branch: MAIN
Changes since 1.39: +13 -22 lines
Diff to previous 1.39 (colored)

replace the chek for the shared channel of cmdide(4) a flag of the
product array, rather than switch inside attach routine

XXX judging from product name, Silicon Image 0680 might be newer than 0649
XXX and hence have actually independant channels, but I don't have the hw
XXX so keeping as-is

no functional change, just to improve visibility in course of fixing
PR kern/52606

Revision 1.39 / (download) - annotate - [select for diffs], Sat Oct 7 16:05:33 2017 UTC (6 years, 6 months ago) by jdolecek
Branch: MAIN
Changes since 1.38: +4 -7 lines
Diff to previous 1.38 (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.38.28.1 / (download) - annotate - [select for diffs], Mon Apr 10 22:57:02 2017 UTC (7 years ago) by jdolecek
Branch: jdolecek-ncq
Changes since 1.38: +4 -7 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

ATA infrastructure improvements to eventually support more outstanding
commands

patch by Matt Thomas

Revision 1.32.4.1 / (download) - annotate - [select for diffs], Tue Oct 30 17:21:23 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.32: +13 -12 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

sync with head

Revision 1.38.2.1 / (download) - annotate - [select for diffs], Tue Oct 9 13:36:05 2012 UTC (11 years, 6 months ago) by bouyer
Branch: tls-maxphys
Changes since 1.38: +4 -2 lines
Diff to previous 1.38 (colored)

Support transfers of up to MACHINE_MAXPHYS in all pciide variants, and ahci.
wd(4) limits its maxphys depending on the drives's capability (64k sectors
for LBA48, 256 sectors for LBA and 128 sectors for older devices).

I assumed all pciide controllers could do MACHINE_MAXPHYS transfers, but
this may not be true. The capabilities of each controller variants should be
looked at more closely.

Revision 1.38 / (download) - annotate - [select for diffs], Mon Sep 3 15:38:17 2012 UTC (11 years, 7 months ago) by kiyohara
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.37: +4 -3 lines
Diff to previous 1.37 (colored)

Fix no wd on cmd680.
Also move setting wdc_maxdrives into cmd*_chip_map().

Revision 1.37 / (download) - annotate - [select for diffs], Tue Jul 31 15:50:36 2012 UTC (11 years, 8 months ago) by bouyer
Branch: MAIN
Changes since 1.36: +12 -12 lines
Diff to previous 1.36 (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.36 / (download) - annotate - [select for diffs], Thu Jul 26 20:49:49 2012 UTC (11 years, 8 months ago) by jakllsch
Branch: MAIN
Changes since 1.35: +6 -6 lines
Diff to previous 1.35 (colored)

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

ok christos@

Revision 1.35 / (download) - annotate - [select for diffs], Tue Jul 24 14:04:30 2012 UTC (11 years, 8 months ago) by jakllsch
Branch: MAIN
Changes since 1.34: +8 -8 lines
Diff to previous 1.34 (colored)

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.34 / (download) - annotate - [select for diffs], Sun Jul 15 10:55:31 2012 UTC (11 years, 9 months ago) by dsl
Branch: MAIN
Changes since 1.33: +10 -10 lines
Diff to previous 1.33 (colored)

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.33 / (download) - annotate - [select for diffs], Mon Jul 2 18:15:47 2012 UTC (11 years, 9 months ago) by bouyer
Branch: MAIN
Changes since 1.32: +6 -6 lines
Diff to previous 1.32 (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.31.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:08:09 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.31: +16 -14 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

Sync with HEAD.

Revision 1.29.4.2 / (download) - annotate - [select for diffs], Thu Apr 21 01:41:49 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.29.4.1: +14 -12 lines
Diff to previous 1.29.4.1 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)

sync with head

Revision 1.32 / (download) - annotate - [select for diffs], Mon Apr 4 20:37:56 2011 UTC (13 years ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-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, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache
Changes since 1.31: +16 -14 lines
Diff to previous 1.31 (colored)

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

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

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

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

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

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

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

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

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

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

### evbmips-el GDIUM

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

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

### ia64 GENERIC

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

### sgimips GENERIC32_IP3x

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

Revision 1.29.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:53:36 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.29: +5 -7 lines
Diff to previous 1.29 (colored)

sync with head

Revision 1.29.2.1 / (download) - annotate - [select for diffs], Sat Nov 6 08:08:30 2010 UTC (13 years, 5 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.29: +4 -6 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Sync with HEAD.

Revision 1.31 / (download) - annotate - [select for diffs], Sat Nov 6 01:25:32 2010 UTC (13 years, 5 months ago) by jakllsch
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

Enable detachment.

Tested on SiI 0680 (native mapped).

Revision 1.30 / (download) - annotate - [select for diffs], Fri Nov 5 18:07:24 2010 UTC (13 years, 5 months ago) by jakllsch
Branch: MAIN
CVS Tags: uebayasi-xip-base4
Changes since 1.29: +4 -6 lines
Diff to previous 1.29 (colored)

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

Revision 1.28.4.1 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:43 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.28: +2 -7 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

sync with head

Revision 1.29 / (download) - annotate - [select for diffs], Mon Oct 19 18:41:14 2009 UTC (14 years, 5 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, matt-premerge-20091211, jym-xensuspend-nbase
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.28: +2 -7 lines
Diff to previous 1.28 (colored)

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

Revision 1.27.40.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:49 2008 UTC (16 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.27: +27 -25 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

Sync with HEAD.

Revision 1.19.2.4 / (download) - annotate - [select for diffs], Mon Mar 24 09:38:50 2008 UTC (16 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.19.2.3: +27 -25 lines
Diff to previous 1.19.2.3 (colored) next main 1.20 (colored)

sync with head.

Revision 1.27.36.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:15:47 2008 UTC (16 years ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.27: +27 -25 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

sync with head.

Revision 1.27.20.1 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:44 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.27: +27 -25 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

sync with HEAD

Revision 1.28 / (download) - annotate - [select for diffs], Tue Mar 18 20:46:36 2008 UTC (16 years 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-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-base, 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, 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, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, jymxensuspend-base, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-nfs-mp
Changes since 1.27: +27 -25 lines
Diff to previous 1.27 (colored)

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

Revision 1.19.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:10:23 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.19.2.2: +6 -6 lines
Diff to previous 1.19.2.2 (colored)

sync with head.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:27 2007 UTC (17 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, yamt-idlelwp, 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, post-newlock2-merge, nick-net80211-sync-base, nick-net80211-sync, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, mjf-devfs-base, mjf-devfs, 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, 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
Changes since 1.26: +6 -6 lines
Diff to previous 1.26 (colored)

Merge newlock2 to head.

Revision 1.23.14.3 / (download) - annotate - [select for diffs], Tue Feb 6 13:32:31 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.23.14.2: +6 -6 lines
Diff to previous 1.23.14.2 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)

Quiten noisy boot messages.

Revision 1.23.14.2 / (download) - annotate - [select for diffs], Fri Jan 12 00:57:40 2007 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.23.14.1: +3 -3 lines
Diff to previous 1.23.14.1 (colored) to branchpoint 1.23 (colored)

Sync with head.

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

sync with head.

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

sync with head.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Nov 24 22:04:25 2006 UTC (17 years, 4 months ago) by wiz
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, 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, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

s/independant/independent/, from Zafer.

Revision 1.23.14.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:29 2006 UTC (17 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.23: +4 -3 lines
Diff to previous 1.23 (colored)

Sync with head.

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

__unused removal on arguments; approved by core.

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

sync with head

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

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

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:52:16 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.22: +3 -2 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

sync with head

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:05:03 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.19: +6 -4 lines
Diff to previous 1.19 (colored)

sync with head.

Revision 1.22.4.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:39:13 2006 UTC (17 years, 11 months ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.22: +3 -2 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

Sync with head.

Revision 1.21.2.2 / (download) - annotate - [select for diffs], Sat Feb 18 15:39:07 2006 UTC (18 years, 1 month ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.21.2.1: +3 -2 lines
Diff to previous 1.21.2.1 (colored) next main 1.22 (colored)

sync with head.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Feb 7 20:37:24 2006 UTC (18 years, 2 months 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, rpaulo-netinet-merge-pcb-base, 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)

Add another missing ch_ndrive initialization.

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Wed Feb 1 14:52:09 2006 UTC (18 years, 2 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.21: +3 -2 lines
Diff to previous 1.21 (colored)

sync with head.

Revision 1.22 / (download) - annotate - [select for diffs], Tue Jan 17 00:40:49 2006 UTC (18 years, 2 months ago) by bouyer
Branch: MAIN
Branch point for: simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.21: +3 -2 lines
Diff to previous 1.21 (colored)

Add missing ch_ndrive initialisations. Pointed out by Juan RP.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Dec 11 12:22:48 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
Branch point for: yamt-uio_vmspace
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

merge ktrace-lwp.

Revision 1.11.2.7 / (download) - annotate - [select for diffs], Thu Nov 10 14:06:00 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.11.2.6: +6 -3 lines
Diff to previous 1.11.2.6 (colored) next main 1.12 (colored)

Sync with HEAD. Here we go again...

Revision 1.20 / (download) - annotate - [select for diffs], Wed Sep 21 14:32:46 2005 UTC (18 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Changes since 1.19: +4 -4 lines
Diff to previous 1.19 (colored)

PR/31364: Douglas Fraser: cmd680 IDE controller not configured properly.

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

add __KERNEL_RCSID

Revision 1.17.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:05 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.17: +7 -7 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

sync with -current

Revision 1.17.6.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:35:10 2005 UTC (19 years ago) by yamt
Branch: yamt-km
Changes since 1.17: +7 -7 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

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

Revision 1.11.2.6 / (download) - annotate - [select for diffs], Fri Mar 4 16:45:15 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.11.2.5: +7 -7 lines
Diff to previous 1.11.2.5 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.18 / (download) - annotate - [select for diffs], Sun Feb 27 00:27:32 2005 UTC (19 years, 1 month ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, 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, kent-audio2-base
Changes since 1.17: +7 -7 lines
Diff to previous 1.17 (colored)

nuke trailing whitespace

Revision 1.11.2.5 / (download) - annotate - [select for diffs], Tue Sep 21 13:31:01 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.11.2.4: +1 -1 lines
Diff to previous 1.11.2.4 (colored)

Fix the sync with head I botched.

Revision 1.11.2.4 / (download) - annotate - [select for diffs], Sat Sep 18 14:49:02 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.11.2.3: +1 -1 lines
Diff to previous 1.11.2.3 (colored)

Sync with HEAD.

Revision 1.11.2.3 / (download) - annotate - [select for diffs], Wed Aug 25 06:58:05 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.11.2.2: +87 -76 lines
Diff to previous 1.11.2.2 (colored)

Sync with HEAD.

Revision 1.17 / (download) - annotate - [select for diffs], Sat Aug 21 00:28:34 2004 UTC (19 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.16: +7 -3 lines
Diff to previous 1.16 (colored)

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

Revision 1.16 / (download) - annotate - [select for diffs], Fri Aug 20 06:39:38 2004 UTC (19 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.15: +48 -45 lines
Diff to previous 1.15 (colored)

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

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

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

Revision 1.14 / (download) - annotate - [select for diffs], Sat Aug 14 15:08:06 2004 UTC (19 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.13: +32 -25 lines
Diff to previous 1.13 (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.13 / (download) - annotate - [select for diffs], Fri Aug 13 04:10:49 2004 UTC (19 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

WDCDEBUG -> ATADEBUG.

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

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

Revision 1.11.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:49:06 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.11.2.1: +610 -0 lines
Diff to previous 1.11.2.1 (colored)

Sync with HEAD

Revision 1.11.2.1, Mon Aug 2 19:08:16 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.11: +0 -610 lines
FILE REMOVED

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

Revision 1.11 / (download) - annotate - [select for diffs], Mon Aug 2 19:08:16 2004 UTC (19 years, 8 months ago) by bouyer
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.10: +4 -3 lines
Diff to previous 1.10 (colored)

If acknowledge "bogus" interrupts (that is, interrupts that have happened
according to the controller-dependant registers while wdc was not waiting for
an interrupt). A reset can generate spurious interrupts (or even a flow of
spurious interrupts on the promise) that needs to be properly acknowledged.

Revision 1.10 / (download) - annotate - [select for diffs], Sat Jan 3 22:56:53 2004 UTC (20 years, 3 months 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-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.9: +21 -21 lines
Diff to previous 1.9 (colored)

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

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

Rename "struct channel_softc" to "struct wdc_channel".

Revision 1.8 / (download) - annotate - [select for diffs], Thu Jan 1 17:18:53 2004 UTC (20 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (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.7 / (download) - annotate - [select for diffs], Sat Dec 13 23:13:41 2003 UTC (20 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.6: +1 -119 lines
Diff to previous 1.6 (colored)

Split out the Silicon Image SATALink support into its own driver,
"satalink".

Revision 1.6 / (download) - annotate - [select for diffs], Thu Nov 27 23:02:40 2003 UTC (20 years, 4 months ago) by fvdl
Branch: MAIN
Changes since 1.5: +4 -7 lines
Diff to previous 1.5 (colored)

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

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

	bus_space_write_4(tag, handle, offset, value)

becomes

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

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

Revision 1.5 / (download) - annotate - [select for diffs], Mon Nov 10 08:51:52 2003 UTC (20 years, 5 months ago) by wiz
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

Spell address with two d's. Inspired by similar changes in OpenBSD,
originating from Jonathon Gray and forwarded by jmc@openbsd.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Oct 30 01:58:17 2003 UTC (20 years, 5 months ago) by simonb
Branch: MAIN
Changes since 1.3: +4 -9 lines
Diff to previous 1.3 (colored)

Remove some assigned-to but otherwise unused variables.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Oct 24 00:24:15 2003 UTC (20 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.2: +5 -5 lines
Diff to previous 1.2 (colored)

Remove IDE_PCI_CLASS_OVERRIDE -- it wasn't actually used anywhere.  In lieu of
it, add a class/subclass check to drivers that do not (appear) to have a unique
ID for the IDE controller.  This includes aceride, cypide and optiide.

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

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

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

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

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

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




CVSweb <webmaster@jp.NetBSD.org>