CVS log for src/sys/dev/pcmcia/wdc_pcmcia.c
Up to [cvs.NetBSD.org] / src / sys / dev / pcmcia
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.130: download - view: text, markup, annotated - select for diffs
Sun Sep 25 21:53:54 2022 UTC (2 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
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
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +2 -3
lines
Remove unnecessary include of <sys/malloc.h>.
Revision 1.129: download - view: text, markup, annotated - select for diffs
Tue Oct 5 08:21:10 2021 UTC (3 years, 2 months ago) by rin
Branches: MAIN
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +3 -4
lines
Advertise ATAC_CAP_DATA32 also for memory-mapped mode.
It seems that this flag bit is not enabled because memory-mapped mode
has its own wdc_softc:data{in,out}_pio routines. However, nowadays,
32-bit data access capability of a disk drive is not checked by ata(4)
backend unless this flag bit is set.
Tested with CF cards of few vendors and hd64461pcmcia(4) found for some
hpcsh machine models.
Revision 1.128: download - view: text, markup, annotated - select for diffs
Tue Oct 5 08:08:40 2021 UTC (3 years, 2 months ago) by rin
Branches: MAIN
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +17 -11
lines
Do not establish the unused interrupt handler for memory-mapped mode,
for the sake of clarity.
Revision 1.126.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:30 2019 UTC (5 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.126: preferred, colored; next MAIN 1.127: preferred, colored
Changes since revision 1.126: +4 -4
lines
Sync with HEAD
Revision 1.126.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:56:03 2018 UTC (6 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.126: preferred, colored; next MAIN 1.127: preferred, colored
Changes since revision 1.126: +4 -4
lines
Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
Revision 1.127: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:29:33 2018 UTC (6 years, 3 months ago) by riastradh
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,
phil-wifi-20190609,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
netbsd-9-base,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
isaki-audio2-base,
isaki-audio2,
is-mlppp-base,
is-mlppp,
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
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +4 -4
lines
Rename min/max -> uimin/uimax for better honesty.
These functions are defined on unsigned int. The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.
HOWEVER! Some subsystems have
#define min(a, b) ((a) < (b) ? (a) : (b))
#define max(a, b) ((a) > (b) ? (a) : (b))
even though our standard name for that is MIN/MAX. Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.
To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.
I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:
cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))
It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.
Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate. But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all. (Who knows, maybe in some cases integer
truncation is actually intended!)
Revision 1.123.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:31 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.123.2.1: preferred, colored; branchpoint 1.123: preferred, colored; next MAIN 1.124: preferred, colored
Changes since revision 1.123.2.1: +2 -3
lines
update from HEAD
Revision 1.126: download - view: text, markup, annotated - select for diffs
Fri Oct 20 07:06:08 2017 UTC (7 years, 1 month ago) by jdolecek
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
phil-wifi-base,
pgoyette-compat-base,
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,
jdolecek-ncqfixes-base,
jdolecek-ncqfixes
Branch point for: phil-wifi,
pgoyette-compat
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +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.125: download - view: text, markup, annotated - select for diffs
Sat Oct 7 16:05:33 2017 UTC (7 years, 2 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +4 -5
lines
Merge support for SATA NCQ (Native Command Queueing) from jdolecek-ncq branch
ATA subsystem was changed to support several outstanding commands, and use
NCQ xfers if supported by both the controller and the disk, including NCQ
error recovery. Set NCQ high priority for BPRIO_TIMECRITICAL xfers
if supported. Added FUA support.
Done some work towards MP-safe, all ATA code tsleep()/wakeup() replaced
by condvars, and switched most code from spl* to mutexes (separate
wd(4) and ata channel lock).
Introduced new option WD_CHAOS_MONKEY to facilitate testing of error
handling, fixed several uncovered issues. Also fixed several problems
with kernel dump to wd(4) disk.
Tested with ahcisata(4), mvsata(4), siisata(4), piixide(4) on amd64,
with and without port multiplier, both disk and ATAPI devices; other
drivers and archs mechanically adjusted and compile-tested. NCQ is
supported for ahcisata(4) and siisata(4) for any controller, for
mvsata(4) only Gen IIe ones for now. Also enabled ATAPI support in
mvsata(4).
Thanks to Matt Thomas for initial ATA infrastructure patch, and
Jonathan A.Kollasch for siisata(4) NCQ changes and general testing.
Also fixes PR kern/43169 (wd(4)); and PR kern/11811, PR kern/47041,
PR kern/51979 (kernel dump)
Revision 1.124.18.2: download - view: text, markup, annotated - select for diffs
Wed Sep 27 07:19:34 2017 UTC (7 years, 2 months ago) by jdolecek
Branches: jdolecek-ncq
Diff to: previous 1.124.18.1: preferred, colored; branchpoint 1.124: preferred, colored; next MAIN 1.125: preferred, colored
Changes since revision 1.124.18.1: +3 -3
lines
change wdc_init_shadow_regs() to accept only struct wdc_regs, it doesn't
touch anything else
factor out the probe-only struct ata_channel initialization to wdcprobe(), to
reduce duplication of logic in individual drivers, and to actually work now
that more init is needed beyond the memset()
Revision 1.124.18.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 19:21:25 2017 UTC (7 years, 5 months ago) by jdolecek
Branches: jdolecek-ncq
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +3 -4
lines
actually remove the KASSERT() for queue_active in wdc.c as it's superfluous,
and make struct ata_queue completly opaque to attachment code; fix two other
places which were not converted to ata_queue_alloc() which were surfaced
by this change
Revision 1.123.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:49 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +4 -4
lines
Rebase to HEAD as of a few days ago.
Revision 1.117.12.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:35 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.117.12.1: preferred, colored; branchpoint 1.117: preferred, colored; next MAIN 1.118: preferred, colored
Changes since revision 1.117.12.1: +4 -4
lines
sync with head.
for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
Revision 1.123.4.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:45 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.123: preferred, colored; next MAIN 1.124: preferred, colored
Changes since revision 1.123: +4 -4
lines
sync with head
Revision 1.124: download - view: text, markup, annotated - select for diffs
Sat Oct 12 16:49:01 2013 UTC (11 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
rmind-smpnet-nbase,
rmind-smpnet-base,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
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,
jdolecek-ncq-base,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: jdolecek-ncq
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +4 -4
lines
Pass the device name in, so we can debug what deferred drivers did not work.
Revision 1.117.12.1: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:21:58 2012 UTC (12 years, 1 month ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +5 -5
lines
sync with head
Revision 1.123: download - view: text, markup, annotated - select for diffs
Tue Jul 31 15:50:37 2012 UTC (12 years, 4 months ago) by bouyer
Branches: MAIN
CVS tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
khorben-n900,
agc-symver-base,
agc-symver
Branch point for: tls-maxphys,
rmind-smpnet
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +5 -5
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.122: download - view: text, markup, annotated - select for diffs
Thu Jul 26 20:49:50 2012 UTC (12 years, 4 months ago) by jakllsch
Branches: MAIN
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +3 -3
lines
Revert, with intention of restoring in a less invasive way, the SATA Port
Multiplier code.
ok christos@
Revision 1.121: download - view: text, markup, annotated - select for diffs
Tue Jul 24 14:04:32 2012 UTC (12 years, 4 months ago) by jakllsch
Branches: MAIN
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +2 -2
lines
Revert dsl@'s changes of Sun, 15 Jul 2012 10:55:35 +0000 and
Sun, 15 Jul 2012 10:56:50 +0000, excepting the kernel version bump.
First step in reverting regressions to ata(4) subsystem during the addition of
port multiplier support.
Revision 1.120: download - view: text, markup, annotated - select for diffs
Sun Jul 15 10:55:33 2012 UTC (12 years, 4 months ago) by dsl
Branches: MAIN
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +4 -4
lines
Some namespace protection (and add greppablity).
Prefix the DRIVE_ and DRIVET_ constants from atavar.h with ATA_.
Don't use an enum for drive_type - you don't know how big it will be.
Move driver_type to avoid implicit structure padding (esp on arm).
This change is purely lexical and mechanical.
Update to 6.99.9 - this wasn't done when the SATA PMP changes
were made - I'm sure they warranted a bump.
Revision 1.119: download - view: text, markup, annotated - select for diffs
Thu Jul 5 12:53:22 2012 UTC (12 years, 5 months ago) by joerg
Branches: MAIN
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +3 -3
lines
Fix use of uninitialized variable.
Revision 1.118: download - view: text, markup, annotated - select for diffs
Mon Jul 2 18:15:48 2012 UTC (12 years, 5 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +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.110.4.4: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:04:00 2010 UTC (14 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.110.4.3: preferred, colored; branchpoint 1.110: preferred, colored; next MAIN 1.111: preferred, colored
Changes since revision 1.110.4.3: +3 -3
lines
sync with head
Revision 1.117: download - view: text, markup, annotated - select for diffs
Thu Nov 12 19:37:17 2009 UTC (15 years ago) by dyoung
Branches: MAIN
CVS tags: yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
yamt-nfs-mp-base9,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
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,
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-premerge-20091211,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
matt-mips64-premerge-20101231,
jruoho-x86intr-base,
jruoho-x86intr,
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,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: yamt-pagecache
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +3 -3
lines
Remove superfluous activation hook.
Revision 1.110.4.3: download - view: text, markup, annotated - select for diffs
Sat May 16 10:41:42 2009 UTC (15 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.110.4.2: preferred, colored; branchpoint 1.110: preferred, colored
Changes since revision 1.110.4.2: +3 -3
lines
sync with head
Revision 1.113.2.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:21:09 2009 UTC (15 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.113: preferred, colored; next MAIN 1.114: preferred, colored
Changes since revision 1.113: +20 -3
lines
Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.116: download - view: text, markup, annotated - select for diffs
Tue May 12 14:42:19 2009 UTC (15 years, 6 months ago) by cegger
Branches: MAIN
CVS tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
jymxensuspend-base,
jym-xensuspend-nbase,
jym-xensuspend-base
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +3 -3
lines
struct device * -> device_t, no functional changes intended.
Revision 1.110.4.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:13:15 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.110.4.1: preferred, colored; branchpoint 1.110: preferred, colored
Changes since revision 1.110.4.1: +24 -2
lines
sync with head.
Revision 1.112.6.2: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:36:21 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.112.6.1: preferred, colored; branchpoint 1.112: preferred, colored; next MAIN 1.113: preferred, colored
Changes since revision 1.112.6.1: +19 -2
lines
Sync with HEAD.
Revision 1.115: download - view: text, markup, annotated - select for diffs
Sun Apr 5 02:35:03 2009 UTC (15 years, 8 months ago) by uwe
Branches: MAIN
CVS tags: yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +8 -2
lines
Register with pmf(9), tell it we don't need anything.
Revision 1.112.8.2: download - view: text, markup, annotated - select for diffs
Thu Mar 26 17:03:39 2009 UTC (15 years, 8 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-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.112.8.1: preferred, colored; branchpoint 1.112: preferred, colored; next MAIN 1.113: preferred, colored
Changes since revision 1.112.8.1: +13 -2
lines
Pull up following revision(s) (requested by drochner in ticket #614):
sys/dev/pcmcia/wdc_pcmcia.c: revision 1.114
Work around a problem with PCMCIA adapter drivers (eg for hpc*) which
attach pcmcia devices before interrupts are enabled. This is unclean
because pcmcia drivers use tsleep(9) in the attach code path but it
worked all the time and it is too late to change this on the 5.0 branch.
So just tolerate it.
Fixes a regression on hpcsh reported by Valeriy E. Ushakov.
Revision 1.114: download - view: text, markup, annotated - select for diffs
Sat Mar 21 12:35:17 2009 UTC (15 years, 8 months ago) by drochner
Branches: MAIN
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +13 -2
lines
Work around a problem with PCMCIA adapter drivers (eg for hpc*) which
attach pcmcia devices before interrupts are enabled. This is unclean
because pcmcia drivers use tsleep(9) in the attach code path but it
worked all the time and it is too late to change this on the 5.0 branch.
So just tolerate it.
Fixes a regression on hpcsh reported by Valeriy E. Ushakov.
Revision 1.112.6.1: download - view: text, markup, annotated - select for diffs
Tue Mar 3 18:31:51 2009 UTC (15 years, 9 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +5 -2
lines
Sync with HEAD.
Revision 1.112.8.1: download - view: text, markup, annotated - select for diffs
Wed Feb 18 00:23:09 2009 UTC (15 years, 9 months ago) by snj
Branches: netbsd-5
CVS tags: netbsd-5-0-RC3
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +5 -2
lines
Pull up following revision(s) (requested by drochner in ticket #441):
sys/dev/ata/wd.c: revision 1.368
sys/dev/pcmcia/wdc_pcmcia.c: revision 1.113
-in the wdc@pcmcia driver, don't try to powerup/down while cold or
shutting down -- this is only supposed to happen from the pcmcia
kernel thread while the system is running
-in wd_shutdown, call ata_addref first, so that the adapter is either
active or we know that it isn't
This fixes a hang on shutdown-p reported by Dennis den Brok per
PR kern/40531. Verified by by Dennis and me.
(reported against 5.0-Beta, so this is a pullup candidate)
Revision 1.113: download - view: text, markup, annotated - select for diffs
Fri Feb 6 13:43:11 2009 UTC (15 years, 10 months ago) by drochner
Branches: MAIN
CVS tags: nick-hppapmap-base2
Branch point for: jym-xensuspend
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +5 -2
lines
-in the wdc@pcmcia driver, don't try to powerup/down while cold or
shutting down -- this is only supposed to happen from the pcmcia
kernel thread while the system is running
-in wd_shutdown, call ata_addref first, so that the adapter is either
active or we know that it isn't
This fixes a hang on shutdown-p reported by Dennis den Brok per
PR kern/40531. Verified by by Dennis and me.
(reported against 5.0-Beta, so this is a pullup candidate)
Revision 1.109.16.3: download - view: text, markup, annotated - select for diffs
Sun Jun 29 09:33:10 2008 UTC (16 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.109.16.2: preferred, colored; branchpoint 1.109: preferred, colored; next MAIN 1.110: preferred, colored
Changes since revision 1.109.16.2: +2 -0
lines
Sync with HEAD.
Revision 1.111.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:31:25 2008 UTC (16 years, 5 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.111: preferred, colored; next MAIN 1.112: preferred, colored
Changes since revision 1.111: +4 -2
lines
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.110.2.2: download - view: text, markup, annotated - select for diffs
Tue Jun 17 09:14:57 2008 UTC (16 years, 5 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.110.2.1: preferred, colored; branchpoint 1.110: preferred, colored; next MAIN 1.111: preferred, colored
Changes since revision 1.110.2.1: +4 -2
lines
sync with head.
Revision 1.112: download - view: text, markup, annotated - select for diffs
Thu Jun 5 20:34:00 2008 UTC (16 years, 6 months ago) by uwe
Branches: MAIN
CVS tags: yamt-pf42-base4,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
netbsd-5-base,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
mjf-devfs2-base,
matt-mips64-base2,
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.111: preferred, colored
Changes since revision 1.111: +4 -2
lines
aprint_naive("\n") in attach.
Revision 1.109.16.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:47 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.109.16.1: preferred, colored; branchpoint 1.109: preferred, colored
Changes since revision 1.109.16.1: +0 -7
lines
Sync with HEAD.
Revision 1.110.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:34:36 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +2 -9
lines
sync with head.
Revision 1.110.4.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:24:58 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +2 -9
lines
sync with head.
Revision 1.111: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:56 2008 UTC (16 years, 7 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base3,
yamt-pf42-base2,
yamt-nfs-mp-base2,
hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +2 -9
lines
Remove clause 3 and 4 from TNF licenses
Revision 1.109.16.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:54 2008 UTC (16 years, 8 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +18 -21
lines
Sync with HEAD.
Revision 1.100.2.4: download - view: text, markup, annotated - select for diffs
Mon Mar 24 09:39:00 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.100.2.3: preferred, colored; branchpoint 1.100: preferred, colored; next MAIN 1.101: preferred, colored
Changes since revision 1.100.2.3: +18 -21
lines
sync with head.
Revision 1.109.12.1: download - view: text, markup, annotated - select for diffs
Mon Mar 24 07:16:05 2008 UTC (16 years, 8 months ago) by keiichi
Branches: keiichi-mipv6
Diff to: previous 1.109: preferred, colored; next MAIN 1.110: preferred, colored
Changes since revision 1.109: +18 -21
lines
sync with head.
Revision 1.108.24.2: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:51 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.108.24.1: preferred, colored; branchpoint 1.108: preferred, colored; next MAIN 1.109: preferred, colored
Changes since revision 1.108.24.1: +18 -21
lines
sync with HEAD
Revision 1.110: download - view: text, markup, annotated - select for diffs
Tue Mar 18 20:46:37 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.109: preferred, colored
Changes since revision 1.109: +18 -21
lines
Split device_t and softc for ATA devices, as well as wd(4). Other
cosmetic changes where appropriate.
Revision 1.108.24.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:29:52 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +4 -4
lines
sync with HEAD
Revision 1.100.2.3: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:33:53 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.100.2.2: preferred, colored; branchpoint 1.100: preferred, colored
Changes since revision 1.100.2.2: +4 -4
lines
sync with head.
Revision 1.108.22.1: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:47:16 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.108: preferred, colored; next MAIN 1.109: preferred, colored
Changes since revision 1.108: +4 -4
lines
Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
Revision 1.108.28.1: download - view: text, markup, annotated - select for diffs
Thu Oct 25 22:39:31 2007 UTC (17 years, 1 month ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.108: preferred, colored; next MAIN 1.109: preferred, colored
Changes since revision 1.108: +4 -4
lines
Sync with HEAD.
Revision 1.108.8.1: download - view: text, markup, annotated - select for diffs
Tue Oct 23 20:09:30 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.108: preferred, colored; next MAIN 1.109: preferred, colored
Changes since revision 1.108: +4 -4
lines
Sync with head.
Revision 1.109: download - view: text, markup, annotated - select for diffs
Fri Oct 19 12:01:06 2007 UTC (17 years, 1 month ago) by ad
Branches: MAIN
CVS tags: yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking2,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
mjf-devfs,
matt-armv6-base,
jmcneill-pm-base,
jmcneill-base,
hpcarm-cleanup-base,
cube-autoconf-base,
cube-autoconf,
bouyer-xeni386-nbase,
bouyer-xeni386-merge1,
bouyer-xeni386-base,
bouyer-xeni386,
bouyer-xenamd64-base2,
bouyer-xenamd64-base
Branch point for: mjf-devfs2,
keiichi-mipv6
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +4 -4
lines
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
Revision 1.100.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:49:18 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.100.2.1: preferred, colored; branchpoint 1.100: preferred, colored
Changes since revision 1.100.2.1: +6 -4
lines
sync with head.
Revision 1.106.6.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:18:07 2006 UTC (18 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.106.6.1: preferred, colored; branchpoint 1.106: preferred, colored; next MAIN 1.107: preferred, colored
Changes since revision 1.106.6.1: +4 -4
lines
sync with head.
Revision 1.106.4.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:34:44 2006 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.106: preferred, colored; next MAIN 1.107: preferred, colored
Changes since revision 1.106: +6 -4
lines
Sync with head.
Revision 1.108: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:33:20 2006 UTC (18 years ago) by christos
Branches: 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-idlelwp-base8,
yamt-idlelwp,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
vmlocking-base,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup,
post-newlock2-merge,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
newlock2-nbase,
newlock2-base,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
mjf-ufs-trans-base,
mjf-ufs-trans,
matt-nb4-arm-base,
matt-nb4-arm,
matt-mips64-base,
matt-mips64,
hpcarm-cleanup,
ad-audiomp-base,
ad-audiomp
Branch point for: vmlocking,
matt-armv6,
jmcneill-pm,
bouyer-xenamd64
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +4 -4
lines
__unused removal on arguments; approved by core.
Revision 1.106.6.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:06:39 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +6 -4
lines
sync with head
Revision 1.107: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:31:50 2006 UTC (18 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +6 -4
lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
Revision 1.104.2.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:53:55 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.104: preferred, colored; next MAIN 1.105: preferred, colored
Changes since revision 1.104: +8 -2
lines
sync with head
Revision 1.105.4.1: download - view: text, markup, annotated - select for diffs
Thu Jul 13 17:49:43 2006 UTC (18 years, 4 months ago) by gdamore
Branches: gdamore-uart
Diff to: previous 1.105: preferred, colored; next MAIN 1.106: preferred, colored
Changes since revision 1.105: +6 -2
lines
Merge from HEAD.
Revision 1.104.6.2: download - view: text, markup, annotated - select for diffs
Mon Jun 26 12:52:27 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.104.6.1: preferred, colored; branchpoint 1.104: preferred, colored; next MAIN 1.105: preferred, colored
Changes since revision 1.104.6.1: +6 -2
lines
sync with head.
Revision 1.100.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:06:14 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +42 -25
lines
sync with head.
Revision 1.106: download - view: text, markup, annotated - select for diffs
Mon Jun 19 21:53:57 2006 UTC (18 years, 5 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
yamt-pdpolicy-base6,
rpaulo-netinet-merge-pcb-base,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-splraiseipl,
newlock2
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +6 -2
lines
Add another rogue card.
Revision 1.104.4.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:39:25 2006 UTC (18 years, 7 months ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.104: preferred, colored; next MAIN 1.105: preferred, colored
Changes since revision 1.104: +4 -2
lines
Sync with head.
Revision 1.104.8.1: download - view: text, markup, annotated - select for diffs
Wed Apr 19 03:25:59 2006 UTC (18 years, 7 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.104: preferred, colored; next MAIN 1.105: preferred, colored
Changes since revision 1.104: +4 -2
lines
sync with head.
Revision 1.104.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 1 12:07:21 2006 UTC (18 years, 8 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +4 -2
lines
sync with head.
Revision 1.99.2.2: download - view: text, markup, annotated - select for diffs
Wed Mar 29 21:29:16 2006 UTC (18 years, 8 months ago) by tron
Branches: netbsd-3
CVS tags: netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1
Diff to: previous 1.99.2.1: preferred, colored; branchpoint 1.99: preferred, colored; next MAIN 1.100: preferred, colored
Changes since revision 1.99.2.1: +2 -0
lines
Pull up following revision(s) (requested by bouyer in ticket #1232):
sys/dev/pcmcia/wdc_pcmcia.c: revision 1.105
As we are going to sleep here, we need to use
config_pending_incr()/config_pending_decr() so that disks are probed
before trying to mount root, if the card is plugged in at boot time.
Should fix kern/33137 by KIYOHARA Takashi.
Revision 1.104.10.1: download - view: text, markup, annotated - select for diffs
Tue Mar 28 09:42:14 2006 UTC (18 years, 8 months ago) by tron
Branches: peter-altq
Diff to: previous 1.104: preferred, colored; next MAIN 1.105: preferred, colored
Changes since revision 1.104: +4 -2
lines
Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
Revision 1.105: download - view: text, markup, annotated - select for diffs
Sun Mar 26 15:34:19 2006 UTC (18 years, 8 months ago) by bouyer
Branches: MAIN
CVS tags: yamt-pdpolicy-base5,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
simonb-timecounters-base,
gdamore-uart-base,
elad-kernelauth-base,
chap-midi-nbase,
chap-midi-base,
chap-midi
Branch point for: gdamore-uart
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +4 -2
lines
As we are going to sleep here, we need to use
config_pending_incr()/config_pending_decr() so that disks are probed
before trying to mount root, if the card is plugged in at boot time.
Should fix kern/33137 by KIYOHARA Takashi.
Revision 1.101.2.2: download - view: text, markup, annotated - select for diffs
Wed Feb 1 14:52:19 2006 UTC (18 years, 10 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.101.2.1: preferred, colored; next MAIN 1.102: preferred, colored
Changes since revision 1.101.2.1: +34 -27
lines
sync with head.
Revision 1.104: download - view: text, markup, annotated - select for diffs
Sun Jan 22 00:08:38 2006 UTC (18 years, 10 months ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
peter-altq-base
Branch point for: yamt-pdpolicy,
simonb-timecounters,
rpaulo-netinet-merge-pcb,
peter-altq,
elad-kernelauth
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +3 -3
lines
Default to 2 drives for products not listed.
Revision 1.103: download - view: text, markup, annotated - select for diffs
Mon Jan 16 20:30:19 2006 UTC (18 years, 10 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +34 -27
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.101.2.1: download - view: text, markup, annotated - select for diffs
Sun Jan 15 10:02:55 2006 UTC (18 years, 10 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +6 -2
lines
sync with head.
Revision 1.102: download - view: text, markup, annotated - select for diffs
Wed Jan 11 13:34:33 2006 UTC (18 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +6 -2
lines
Add SanDisk pcmcia memory card adapter. Works like an IDE drive.
XXX: Linux driver has a hack not to probe the slave drive. We just
create a phantom drive:
wdc0 at pcmcia0 function 0: < , Memory Card Adapter II, V1.00>
wdc0: i/o mapped mode
atabus2 at wdc0 channel 0
wd1 at atabus2 drive 0: <Memory Card Adapter II>
wd1: drive supports 1-sector PIO transfers, LBA addressing
wd1: 241 MB, 965 cyl, 16 head, 32 sec, 512 bytes/sect x 494080 sectors
wd2 at atabus2 drive 1: <>
wd2: drive supports 1-sector PIO transfers, chs addressing
wd2: 0, 0 cyl, 0 head, 0 sec, 512 bytes/sect x 0 sectors
wd2: 32-bit data port
wd2: disk label read failed
wd2: disk label read failed
Revision 1.101: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:23:23 2005 UTC (18 years, 11 months ago) by christos
Branches: MAIN
Branch point for: yamt-uio_vmspace
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +2 -2
lines
merge ktrace-lwp.
Revision 1.55.2.9: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:07:24 2005 UTC (19 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.55.2.8: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55.2.8: +11 -2
lines
Sync with HEAD. Here we go again...
Revision 1.99.2.1: download - view: text, markup, annotated - select for diffs
Sat Jul 2 23:19:27 2005 UTC (19 years, 5 months ago) by tron
Branches: netbsd-3
CVS tags: 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
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +11 -2
lines
Pull up revision 1.100 (requested by bouyer in ticket #500):
When the PCMCIA socket is powered up, the driver waits for the PCMCIA
controller to be ready, but the drive attached to it may not be ready yet.
Add a half a second delay before calling wdcattach(), to let the drive
have its electronic ready to properly respond to the register tests done
in wdcprobe1(). Delay based on experiments done by John Refling with
various devices as part of the audit-trail of kern/25659; complete
the fix for kern/25659.
Revision 1.100: download - view: text, markup, annotated - select for diffs
Sun Jun 19 18:19:19 2005 UTC (19 years, 5 months ago) by bouyer
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.99: preferred, colored
Changes since revision 1.99: +11 -2
lines
When the PCMCIA socket is powered up, the driver waits for the PCMCIA
controller to be ready, but the drive attached to it may not be ready yet.
Add a half a second delay before calling wdcattach(), to let the drive
have its electronic ready to properly respond to the register tests done
in wdcprobe1(). Delay based on experiments done by John Refling with
various devices as part of the audit-trail of kern/25659; complete
the fix for kern/25659.
Revision 1.97.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:29:13 2005 UTC (19 years, 7 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.97: preferred, colored; next MAIN 1.98: preferred, colored
Changes since revision 1.97: +14 -7
lines
sync with -current
Revision 1.55.2.8: download - view: text, markup, annotated - select for diffs
Fri Apr 1 14:30:33 2005 UTC (19 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.55.2.7: preferred, colored
Changes since revision 1.55.2.7: +9 -2
lines
Sync with HEAD.
Revision 1.97.6.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:35:35 2005 UTC (19 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.97: preferred, colored; next MAIN 1.98: preferred, colored
Changes since revision 1.97: +14 -7
lines
sync with head. xen and whitespace. xen part is not finished.
Revision 1.99: download - view: text, markup, annotated - select for diffs
Fri Mar 11 16:17:57 2005 UTC (19 years, 9 months ago) by matt
Branches: MAIN
CVS tags: yamt-km-base4,
yamt-km-base3,
netbsd-3-base,
kent-audio2-base
Branch point for: netbsd-3
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +9 -2
lines
Just like wdc.c, if the bus_space implementation doesn't support stream
method, make them equivalent to the non-stream methods.
Revision 1.55.2.7: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:49:39 2005 UTC (19 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.55.2.6: preferred, colored
Changes since revision 1.55.2.6: +7 -7
lines
Sync with HEAD.
Hi Perry!
Revision 1.98: download - view: text, markup, annotated - select for diffs
Sun Feb 27 00:27:43 2005 UTC (19 years, 9 months ago) by perry
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +7 -7
lines
nuke trailing whitespace
Revision 1.55.2.6: download - view: text, markup, annotated - select for diffs
Tue Oct 19 15:57:27 2004 UTC (20 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.55.2.5: preferred, colored
Changes since revision 1.55.2.5: +9 -2
lines
Sync with HEAD
Revision 1.97: download - view: text, markup, annotated - select for diffs
Sun Oct 3 09:36:49 2004 UTC (20 years, 2 months ago) by toshii
Branches: MAIN
CVS tags: yamt-km-base2,
yamt-km-base,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-km,
kent-audio2
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +9 -2
lines
Make this compile on arches without __BUS_SPACE_HAS_STREAM_METHODS.
Revision 1.55.2.5: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:32:22 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.55.2.4: preferred, colored
Changes since revision 1.55.2.4: +2 -2
lines
Fix the sync with head I botched.
Revision 1.55.2.4: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:50:23 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.55.2.3: preferred, colored
Changes since revision 1.55.2.3: +3 -5
lines
Sync with HEAD.
Revision 1.96: download - view: text, markup, annotated - select for diffs
Tue Sep 7 00:24:18 2004 UTC (20 years, 3 months ago) by enami
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +3 -5
lines
No need to disable if we failed before enabling it.
Revision 1.55.2.3: download - view: text, markup, annotated - select for diffs
Wed Aug 25 06:58:43 2004 UTC (20 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.55.2.2: preferred, colored
Changes since revision 1.55.2.2: +78 -90
lines
Sync with HEAD.
Revision 1.95: download - view: text, markup, annotated - select for diffs
Fri Aug 20 06:39:39 2004 UTC (20 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +11 -11
lines
Move most of wdc_softc into a new atac_softc structure that contains
info common to all types of ATA controllers.
Revision 1.94: download - view: text, markup, annotated - select for diffs
Thu Aug 19 23:36:26 2004 UTC (20 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +28 -46
lines
Use ANSI function decls and "static".
Revision 1.93: download - view: text, markup, annotated - select for diffs
Thu Aug 19 23:25:36 2004 UTC (20 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +4 -4
lines
- 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.92: download - view: text, markup, annotated - select for diffs
Mon Aug 16 14:47:31 2004 UTC (20 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +3 -3
lines
wdc_init_shadow_regs() must now be called after ch_wdc is filled in, or we get
a null pointer dereference.
Revision 1.91: download - view: text, markup, annotated - select for diffs
Sat Aug 14 15:08:06 2004 UTC (20 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +47 -41
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.90: download - view: text, markup, annotated - select for diffs
Fri Aug 13 12:42:11 2004 UTC (20 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +6 -6
lines
Rearrange slightly so that we don't blow up if the card disappears during the
initial enable.
Revision 1.89: download - view: text, markup, annotated - select for diffs
Thu Aug 12 22:39:41 2004 UTC (20 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +3 -3
lines
Move wdc_addref() and wdc_delref() to ata.c and rename them to
ata_*.
Revision 1.55.2.2: download - view: text, markup, annotated - select for diffs
Thu Aug 12 11:42:05 2004 UTC (20 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.55.2.1: preferred, colored
Changes since revision 1.55.2.1: +178 -257
lines
Sync with HEAD.
Revision 1.88: download - view: text, markup, annotated - select for diffs
Wed Aug 11 20:27:42 2004 UTC (20 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +14 -40
lines
We don't need to implement DRIVE_NOSTREAM here, 'cause we never set
WDC_CAPABILITY_NOSTREAM.
Revision 1.87: download - view: text, markup, annotated - select for diffs
Wed Aug 11 19:48:57 2004 UTC (20 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +56 -39
lines
"I was mistaken."
The memory window is not actually activate in I/O card configurations. It was
transparently falling back to 16-bit I/O mode.
Implement "memory card" mode correctly, with polling.
Revision 1.86: download - view: text, markup, annotated - select for diffs
Wed Aug 11 18:41:46 2004 UTC (20 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +82 -3
lines
Make datain_pio and dataout_pio function pointers in wdc_softc, which can
be overridden by the backend if desired. Add experimental code to wdc_pcmcia
to use this in memory-mapped mode, disabled by default.
Revision 1.85: download - view: text, markup, annotated - select for diffs
Wed Aug 11 18:06:22 2004 UTC (20 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +40 -45
lines
The memory mode we were trying to use before is a total loss -- we don't get
any interrupts, and therefore wedge on any access. However, there is another
memory mode that gives us a memory-mapped data register, which we can use.
Also set the new "DATA1K" flag to tell the wdc backend that we have a large
data area to read from -- this can be used with the region methods.
Revision 1.84: download - view: text, markup, annotated - select for diffs
Tue Aug 10 23:34:32 2004 UTC (20 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +20 -31
lines
GC some unneeded struct elements.
Revision 1.83: download - view: text, markup, annotated - select for diffs
Tue Aug 10 22:49:12 2004 UTC (20 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +15 -27
lines
Rather than the silly state machine, set whatever higher-level reference
count there is (for SCSI, adapt_refcnt) to 1 and call the appropriate
"delref" function afterwards to disable the controller. This is a bit
simpler.
In a couple of cases, just remove the state machine, because it wasn't
really necessary.
Revision 1.82: download - view: text, markup, annotated - select for diffs
Tue Aug 10 18:43:50 2004 UTC (20 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +2 -3
lines
Now that all the silly string printing is gone, move the location where we
print a newline so it doesn't have to be done in every driver.
Revision 1.81: download - view: text, markup, annotated - select for diffs
Tue Aug 10 18:39:08 2004 UTC (20 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +16 -55
lines
Enhance pcmcia_product_lookup():
* Remove the "expected function" value. This was just causing problems with
multifunction cards. Differentiating the functions is better done by
checking the function type (which we now do in ep and sm).
* Add support for matching CIS strings. This necessitated changing the calling
pattern a little too.
Use this enhanced version rather than driver-specific versions that do the
same thing.
Also, remove the last vestiges of PCMCIA_STR_*.
Revision 1.80: download - view: text, markup, annotated - select for diffs
Tue Aug 10 16:04:16 2004 UTC (20 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +3 -2
lines
More careful about cleaning up pointers.
Revision 1.79: download - view: text, markup, annotated - select for diffs
Tue Aug 10 15:29:56 2004 UTC (20 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +8 -14
lines
Print diagnostics in only one place if intr_establish() or function_enable()
fails.
Also, be a little more careful about passing up error values, and consistently
clear our interrupt handler pointer.
Revision 1.78: download - view: text, markup, annotated - select for diffs
Tue Aug 10 06:10:38 2004 UTC (20 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +3 -3
lines
Copyright maintenance.
Revision 1.77: download - view: text, markup, annotated - select for diffs
Tue Aug 10 06:08:32 2004 UTC (20 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +2 -5
lines
Remove some useless code.
Revision 1.76: download - view: text, markup, annotated - select for diffs
Tue Aug 10 05:22:33 2004 UTC (20 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +6 -4
lines
Minor change to a printf().
Revision 1.75: download - view: text, markup, annotated - select for diffs
Tue Aug 10 03:54:26 2004 UTC (20 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +14 -10
lines
Make the enable state machine during attach more robust.
Revision 1.74: download - view: text, markup, annotated - select for diffs
Tue Aug 10 03:03:11 2004 UTC (20 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +3 -3
lines
Remove a very silly hack WRT the Digital vendor ID.
Revision 1.73: download - view: text, markup, annotated - select for diffs
Tue Aug 10 03:00:29 2004 UTC (20 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +12 -24
lines
GC the "quirk" code.
Revision 1.72: download - view: text, markup, annotated - select for diffs
Tue Aug 10 02:56:42 2004 UTC (20 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +77 -141
lines
Use pcmcia_function_{configure,unconfigure}().
XXX Memory mapped mode seems to be flaky with my CF cards, so I have
disabled it for now.
Revision 1.71: download - view: text, markup, annotated - select for diffs
Mon Aug 9 18:11:01 2004 UTC (20 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +25 -28
lines
Do our io_map()s and intr_establish()es earlier.
Revision 1.70: download - view: text, markup, annotated - select for diffs
Sun Aug 8 23:17:13 2004 UTC (20 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +6 -6
lines
Remove the "offset" and "size" arguments to pcmcia_io_map(). In the singular
case (ne@pcmcia) where we were using these to create a subregion, it is better
handled by calling bus_space_subregion().
Now there is a 1:1 mapping between I/O spaces in the config table and windows
mapped in the function. Rework the multifunction mapping code to take
advantage of this by using both I/O base addresses if necessary.
Revision 1.55.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:50:18 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +89 -86
lines
Sync with HEAD
Revision 1.69: download - view: text, markup, annotated - select for diffs
Wed Jul 7 06:43:22 2004 UTC (20 years, 5 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +32 -49
lines
More cleanup:
* Print "devinfo" in a canonial place (like we do in the SCSI code).
* Use aprint_{error,normal}() during attach.
* More PCMCIA_STR_* removal.
Revision 1.68: download - view: text, markup, annotated - select for diffs
Tue May 25 20:42:41 2004 UTC (20 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +3 -2
lines
Add the notion of "shadow registers" to the wdc driver. These shadow
registers are registers that overlap with others on many controllers, but
which may actually be distinct on some controllers. Right now, the two
shadows are:
- wd_status (usually overlaps wd_command)
- wd_features (usually overlaps wd_error)
Add a new helper function, wdc_init_shadow_regs(), used to initialize
the shadow register handles on controllers where they do actually overlap.
Partially from Jordan Rhody @ Wasabi Systems, Inc.
Revision 1.67: 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
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.66: preferred, colored
Changes since revision 1.66: +4 -4
lines
More wdc_channel structure member namespace cleanup:
- channel -> ch_channel
- wdc -> ch_wdc
Revision 1.66: download - view: text, markup, annotated - select for diffs
Sat Jan 3 01:50:53 2004 UTC (20 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +4 -4
lines
Rename "struct channel_softc" to "struct wdc_channel".
Revision 1.65: download - view: text, markup, annotated - select for diffs
Thu Jan 1 17:18:53 2004 UTC (20 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +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.64: download - view: text, markup, annotated - select for diffs
Thu Nov 27 23:02:40 2003 UTC (21 years ago) by fvdl
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +19 -16
lines
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.63: download - view: text, markup, annotated - select for diffs
Thu Oct 23 03:56:36 2003 UTC (21 years, 1 month ago) by briggs
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +30 -10
lines
After discussion between mycroft and enami, restore the WDC_PCMCIA_ATTACH
flag and use it to avoid an extra power cycle during the probe process.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Wed Oct 22 15:03:04 2003 UTC (21 years, 1 month ago) by briggs
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +11 -19
lines
enami noted that my last fix was not correct. Simplify the code some (and
make it more correct) by removing a flag to track wdc attachment. Disable
the function after wdcattach() is called, and remove a conditional when
enabling the function in wdc_pcmcia_enable().
Revision 1.61: download - view: text, markup, annotated - select for diffs
Wed Oct 22 07:48:25 2003 UTC (21 years, 1 month ago) by briggs
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +5 -2
lines
Since we enable the pcmcia function on attach, disable it on the detach.
Revision 1.60: download - view: text, markup, annotated - select for diffs
Wed Oct 8 10:58:13 2003 UTC (21 years, 2 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +3 -3
lines
Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.
Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Thu Sep 25 19:29:49 2003 UTC (21 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +3 -3
lines
Hide the use of config_interrupts() in one place.
Revision 1.58: download - view: text, markup, annotated - select for diffs
Tue Sep 23 09:19:25 2003 UTC (21 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +0 -1
lines
Fix more probe delay and/or failure problems:
1) Don't wait for DRQ on an IDENTIFY command -- if it's not set when we see
BSY clear, abort the command and ignore the drive. (Do this by testing
for DRQ in the read/write cases in __wdccommand_intr().)
2) Don't wait for DRQ to deassert when we finish an IDENTIFY (or any other
non-block command that reads data) -- we don't do this for block I/O, and
empirically it doesn't clear on my CF cards at all, causing a pointless 1s
delay.
3) Add comments to some of the delay()s, and add missing ones in wdcreset()
and the WDCC_RECAL in the so-called "pre-ATA" probe.
4) Slightly simplify the reset sequence -- we were doing an extra I/O.
5) Modify the register writability test to make sure that registers are not
overlapped -- this can happen in some weird cases with a missing device 1.
6) Check the error register value after the reset -- if it's not 01h or 81h,
as appropriate (see ATA spec), punt.
Tested with a number of ATA-only, ATAPI-only, mixed ATA-ATAPI, CF, and IDE
disk configurations.
Also remove the SINGLE_DRIVE nonsense again.
Revision 1.57: download - view: text, markup, annotated - select for diffs
Sun Sep 21 11:14:04 2003 UTC (21 years, 2 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +3 -2
lines
Since we can't detect ghost drives in the wdc back-end, resurect
WDC_CAPABILITY_SINGLE_DRIVE.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Fri Sep 19 21:36:07 2003 UTC (21 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +20 -19
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.55: download - view: text, markup, annotated - select for diffs
Sun Mar 30 02:06:29 2003 UTC (21 years, 8 months ago) by matt
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +2 -5
lines
Don't free chqueue since it's no longer malloc'ed.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Thu Mar 27 12:19:44 2003 UTC (21 years, 8 months ago) by ichiro
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +9 -2
lines
add product TOSHIBA PA2673U CBIDE2 (IODATA OEM)
Revision 1.53: download - view: text, markup, annotated - select for diffs
Sat Mar 22 20:09:35 2003 UTC (21 years, 8 months ago) by matt
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +7 -17
lines
Don't malloc channel_queue, put it in the softc instead.
Revision 1.40.2.8: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:43:35 2002 UTC (22 years, 1 month ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.40.2.7: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40.2.7: +4 -6
lines
Catch up to -current.
Revision 1.42.2.4: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:41:33 2002 UTC (22 years, 2 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.42.2.3: preferred, colored; branchpoint 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42.2.3: +4 -6
lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
Revision 1.52: download - view: text, markup, annotated - select for diffs
Wed Oct 2 16:52:22 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
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +3 -3
lines
Add trailing ; to CFATTACH_DECL.
Revision 1.51: download - view: text, markup, annotated - select for diffs
Mon Sep 30 22:27:02 2002 UTC (22 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +4 -6
lines
Use CFATTACH_DECL().
Revision 1.50: download - view: text, markup, annotated - select for diffs
Fri Sep 27 20:41:10 2002 UTC (22 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +3 -3
lines
Declare all cfattach structures const.
Revision 1.42.2.3: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:48:26 2002 UTC (22 years, 5 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.42.2.2: preferred, colored; branchpoint 1.42: preferred, colored
Changes since revision 1.42.2.2: +3 -4
lines
catch up with -current on kqueue branch
Revision 1.48.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 20 16:34:03 2002 UTC (22 years, 5 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48: +3 -4
lines
catch up with -current.
Revision 1.40.2.7: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:46:19 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.40.2.6: preferred, colored
Changes since revision 1.40.2.6: +3 -4
lines
Catch up to -current.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Sat Jun 1 23:51:02 2002 UTC (22 years, 6 months ago) by lukem
Branches: MAIN
CVS tags: gehenna-devsw-base
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +3 -4
lines
SIMPLEQ rototill:
- implement SIMPLEQ_REMOVE(head, elm, type, field). whilst it's O(n),
this mirrors the functionality of SLIST_REMOVE() (the other
singly-linked list type) and FreeBSD's STAILQ_REMOVE()
- remove the unnecessary elm arg from SIMPLEQ_REMOVE_HEAD().
this mirrors the functionality of SLIST_REMOVE_HEAD() (the other
singly-linked list type) and FreeBSD's STAILQ_REMOVE_HEAD()
- remove notes about SIMPLEQ not supporting arbitrary element removal
- use SIMPLEQ_FOREACH() instead of home-grown for loops
- use SIMPLEQ_EMPTY() appropriately
- use SIMPLEQ_*() instead of accessing sqh_first,sqh_last,sqe_next directly
- reorder manual page; be consistent about how the types are listed
- other minor cleanups
Revision 1.48: download - view: text, markup, annotated - select for diffs
Sun Mar 31 13:27:32 2002 UTC (22 years, 8 months ago) by martin
Branches: MAIN
CVS tags: 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
Branch point for: gehenna-devsw
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +12 -11
lines
Backout previous. While it fixes half of the problem for me, it is not
the right fix.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Sun Mar 31 07:19:03 2002 UTC (22 years, 8 months ago) by martin
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +13 -14
lines
Establish/disestablish the interrupt handler when enabling/disabling the
controller - no matter if we are called from attach or not.
This makes my FreeCOM CD drive work at first attach (PR 13480).
Something is wrong with the detach code; it won't work on second attach
and will panic on second detach - but that has to wait until the kids
took care of some easter eggs.
Revision 1.40.2.6: download - view: text, markup, annotated - select for diffs
Thu Feb 28 04:14:16 2002 UTC (22 years, 9 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.40.2.5: preferred, colored
Changes since revision 1.40.2.5: +3 -3
lines
Catch up to -current.
Revision 1.42.2.2: download - view: text, markup, annotated - select for diffs
Mon Feb 11 20:10:10 2002 UTC (22 years, 9 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.42.2.1: preferred, colored; branchpoint 1.42: preferred, colored
Changes since revision 1.42.2.1: +3 -3
lines
Sync w/ -current.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Tue Jan 29 00:31:55 2002 UTC (22 years, 10 months ago) by simonb
Branches: MAIN
CVS tags: newlock-base,
newlock,
ifpoll-base,
eeh-devprop-base,
eeh-devprop
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +3 -3
lines
Fix a tyop in a comment.
Revision 1.42.2.1: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:57:28 2002 UTC (22 years, 11 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +15 -2
lines
Sync kqueue branch with -current.
Revision 1.40.2.5: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:31:31 2002 UTC (22 years, 11 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.40.2.4: preferred, colored
Changes since revision 1.40.2.4: +3 -3
lines
Catch up to -current.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Sun Dec 16 17:53:17 2001 UTC (22 years, 11 months ago) by soren
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +3 -3
lines
To make dev/pcmcia work on platforms with 64-bit bus_addr_t and
32-bit bus_size_t (sparc), change the pcmcia_mem_map(9) offsetp
argument to bus_size_t as it is used as a bus_space offset.
Revision 1.40.2.4: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:15:43 2001 UTC (23 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.40.2.3: preferred, colored
Changes since revision 1.40.2.3: +4 -1
lines
Catch up to -current.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Tue Nov 13 07:26:34 2001 UTC (23 years ago) by lukem
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +4 -1
lines
add RCSIDs
Revision 1.40.2.3: download - view: text, markup, annotated - select for diffs
Mon Oct 22 20:41:31 2001 UTC (23 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.40.2.2: preferred, colored
Changes since revision 1.40.2.2: +11 -1
lines
Catch up to -current.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Sun Oct 14 19:21:45 2001 UTC (23 years, 1 month ago) by christos
Branches: MAIN
CVS tags: thorpej-mips-cache-base,
thorpej-mips-cache
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +11 -1
lines
quirk for panasonic adapter.
Revision 1.40.2.2: download - view: text, markup, annotated - select for diffs
Thu Jun 21 20:05:24 2001 UTC (23 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.40.2.1: preferred, colored
Changes since revision 1.40.2.1: +6 -8
lines
Catch up to -current.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Wed Apr 25 17:53:37 2001 UTC (23 years, 7 months ago) by bouyer
Branches: MAIN
CVS tags: thorpej-devvp-base3,
thorpej-devvp-base2,
thorpej-devvp-base,
thorpej-devvp,
pre-chs-ubcperf,
post-chs-ubcperf
Branch point for: kqueue
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +6 -8
lines
Pull up the thorpej_scsipi branch to main branch.
This is a completely rewritten scsipi_xfer execution engine, and the
associated changes to HBA drivers. Overview of changes & features:
- All xfers are queued in the mid-layer, rather than doing so in an
ad-hoc fashion in individual adapter drivers.
- Adapter/channel resource management in the mid-layer, avoids even trying
to start running an xfer if the adapter/channel doesn't have the resources.
- Better communication between the mid-layer and the adapters.
- Asynchronous event notification mechanism from adapter to mid-layer and
peripherals.
- Better peripheral queue management: freeze/thaw, sorted requeueing during
recovery, etc.
- Clean separation of peripherals, adapters, and adapter channels (no more
scsipi_link).
- Kernel thread for each scsipi_channel makes error recovery much easier
(no more dealing with interrupt context when recovering from an error).
- Mid-layer support for tagged queueing: commands can have the tag type
set explicitly, tag IDs are allocated in the mid-layer (thus eliminating
the need to use buggy tag ID allocation schemes in many adapter drivers).
- support for QUEUE FULL and CHECK CONDITION status in mid-layer; the command
will be requeued, or a REQUEST SENSE will be sent as appropriate.
Just before the merge syssrc has been tagged with thorpej_scsipi_beforemerge
Revision 1.40.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 9 01:57:20 2001 UTC (23 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +95 -26
lines
Catch up with -current.
Revision 1.21.2.7: download - view: text, markup, annotated - select for diffs
Mon Mar 12 13:31:22 2001 UTC (23 years, 9 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.21.2.6: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21.2.6: +100 -31
lines
Sync with HEAD.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Thu Mar 8 15:20:57 2001 UTC (23 years, 9 months ago) by uch
Branches: MAIN
CVS tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +95 -26
lines
CF memory mapped addressing mode. http://www.compactflash.org/cfspc1_4.pdf
Revision 1.40: download - view: text, markup, annotated - select for diffs
Wed Feb 21 21:39:56 2001 UTC (23 years, 9 months ago) by jdolecek
Branches: MAIN
Branch point for: nathanw_sa
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +6 -6
lines
make some more constant arrays 'const'
Revision 1.21.2.6: download - view: text, markup, annotated - select for diffs
Thu Jan 18 09:23:32 2001 UTC (23 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.21.2.5: preferred, colored
Changes since revision 1.21.2.5: +1 -0
lines
Sync with head (for UBC+NFS fixes, mostly).
Revision 1.39: download - view: text, markup, annotated - select for diffs
Sat Jan 6 14:55:50 2001 UTC (23 years, 11 months ago) by takemura
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -1
lines
Add WDC_CAPABILITY_SINGLE_DRIVE to ignore secound drive. Wdc on pcmcia will
be attached with this flag.
Some CF Card (for ex. IBM MicroDrive and SanDisk) doesn't seem to implement
drive select command. In this case, you can't eliminate ghost drive properly.
So you should use this flag to ignore the ghost by force.
Revision 1.21.2.5: download - view: text, markup, annotated - select for diffs
Fri Jan 5 17:36:24 2001 UTC (23 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.21.2.4: preferred, colored
Changes since revision 1.21.2.4: +23 -2
lines
Sync with HEAD
Revision 1.38: download - view: text, markup, annotated - select for diffs
Wed Dec 27 10:41:00 2000 UTC (23 years, 11 months ago) by sato
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +10 -1
lines
add Novac PCMCIA-IDE Card(Card for HD530P PCMCIA-IDE Box).
No vendor ID, no product ID, and the wpp_cis_info is 'PCMCIA', 'PnPIDE'.
Revision 1.32.4.2: download - view: text, markup, annotated - select for diffs
Tue Dec 26 07:41:37 2000 UTC (23 years, 11 months ago) by jhawk
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001
Diff to: previous 1.32.4.1: preferred, colored; branchpoint 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32.4.1: +9 -3
lines
Pull up revision 1.36 via patch (requested by abs):
Support AMACOM "Value Engineered" CDROM.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Wed Dec 20 09:56:34 2000 UTC (23 years, 11 months ago) by haya
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +7 -1
lines
Add IO Data CBIDE2 ata interface card.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Dec 18 17:21:11 2000 UTC (23 years, 11 months ago) by abs
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +9 -3
lines
Add a 'value engineered' generic pcmcia CD-ROM drive, badged 'AMACOM'.
No vendor ID, no product ID, and the wpp_cis_info is 'PCMCIA', 'CD-ROM'.
I'd be encouraged at some progress towards 'generic devices', except
someone else is bound to produce something that identifies the same, but
requires a quirk. Can I go back to my sparc now?
Make two other comments consistent while here.
Revision 1.21.2.4: download - view: text, markup, annotated - select for diffs
Wed Nov 22 16:04:40 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.21.2.3: preferred, colored
Changes since revision 1.21.2.3: +6 -69
lines
Sync with HEAD.
Revision 1.21.2.3: download - view: text, markup, annotated - select for diffs
Mon Nov 20 11:42:48 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.21.2.2: preferred, colored
Changes since revision 1.21.2.2: +86 -63
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.35: download - view: text, markup, annotated - select for diffs
Wed Oct 25 09:32:11 2000 UTC (24 years, 1 month ago) by haya
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +6 -67
lines
METHOD CHANGE: Use CIS_FUNCE data which is decoded by pcmcia_cis.c,
instead of decode cis tuple by itself. This change leads to suppress
one power-cycling.
Revision 1.32.4.1: download - view: text, markup, annotated - select for diffs
Fri Jul 21 19:27:42 2000 UTC (24 years, 4 months ago) by abs
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +7 -1
lines
Add Toshiba Portege 3110 CD entry - approved by Jason
Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Jul 20 23:20:01 2000 UTC (24 years, 4 months ago) by abs
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +7 -1
lines
Add the pccard controller for a Toshiba Portege drive. No vendor ID, no
product ID, and in this temporary loan, no bleeding power supply so it
can only probe the controller and not the drive. Still, its something.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed Jun 28 16:39:28 2000 UTC (24 years, 5 months ago) by mrg
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +1 -3
lines
remove include of <vm/vm.h>
Revision 1.32: download - view: text, markup, annotated - select for diffs
Sat Apr 1 17:52:14 2000 UTC (24 years, 8 months ago) by bouyer
Branches: MAIN
CVS tags: netbsd-1-5-base,
minoura-xpg4dl-base,
minoura-xpg4dl
Branch point for: netbsd-1-5
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +3 -2
lines
make it compile again after ATAPI changes.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Mon Feb 21 03:55:22 2000 UTC (24 years, 9 months ago) by enami
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +13 -11
lines
Don't establish an interrupt if attach is in progress. Anyway, current wdc
and its children doesn't require interrupt on attach.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Sat Feb 5 04:41:49 2000 UTC (24 years, 10 months ago) by enami
Branches: MAIN
CVS tags: chs-ubc2-newbase
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +5 -17
lines
Remove unnecessary includes.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri Feb 4 09:31:07 2000 UTC (24 years, 10 months ago) by enami
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +33 -6
lines
Free resources on attach failure.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Tue Feb 1 06:48:15 2000 UTC (24 years, 10 months ago) by enami
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -22
lines
The workaround for Hagiwara SYS-COM Compact Flash card is no longer necessary.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Jan 24 23:14:23 2000 UTC (24 years, 10 months ago) by enami
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +8 -4
lines
- fix comment style/indentaion.
- add comment to refer aic_pcmcia_enable.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Jan 8 07:34:49 2000 UTC (24 years, 11 months ago) by augustss
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +8 -1
lines
Add EXP Computer Inc. PCMCIA controller.
From Brad Spencer <brad@anduin.eldar.org> in PR 9140.
Revision 1.21.6.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:35:28 1999 UTC (24 years, 11 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21: +32 -21
lines
Pull up to last week's -current.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu Dec 9 03:22:41 1999 UTC (25 years ago) by sommerfeld
Branches: MAIN
CVS tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +12 -8
lines
Fix hot-swapping for controllers which grab two ranges of port space.
(if the mapping of the second range succeeded, it would forget about
the window of the second address range, causing a subsequent insertion
event to fail..).
My Sony PCGA-CD51 now hot-swaps a lot better now.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat Nov 27 01:03:34 1999 UTC (25 years ago) by soren
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -3
lines
Regen.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Sun Nov 21 10:13:08 1999 UTC (25 years ago) by takemura
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +7 -1
lines
Add a entry for Mobile Dock 2, which is 2.5" HDD adapter.
Revision 1.21.4.1: download - view: text, markup, annotated - select for diffs
Mon Nov 15 00:41:16 1999 UTC (25 years ago) by fvdl
Branches: fvdl-softdep
Diff to: previous 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21: +13 -12
lines
Sync with -current
Revision 1.21.2.2: download - view: text, markup, annotated - select for diffs
Wed Oct 20 22:38:06 1999 UTC (25 years, 1 month ago) by thorpej
Branches: thorpej_scsipi
Diff to: previous 1.21.2.1: preferred, colored
Changes since revision 1.21.2.1: +13 -12
lines
Sync w/ trunk.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Oct 20 15:22:27 1999 UTC (25 years, 1 month ago) by enami
Branches: MAIN
CVS tags: fvdl-softdep-base,
comdex-fall-1999-base,
comdex-fall-1999
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +13 -12
lines
Cancel active transfers on aic/wdc detach.
Also makes LS-120 drive works for me again.
Revision 1.21.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 19 17:52:19 1999 UTC (25 years, 1 month ago) by thorpej
Branches: thorpej_scsipi
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +6 -6
lines
Adapt to scsipi API changes.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Thu Sep 23 11:04:33 1999 UTC (25 years, 2 months ago) by enami
Branches: MAIN
Branch point for: wrstuden-devbsize,
thorpej_scsipi,
fvdl-softdep
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +30 -3
lines
Allow to detach wdc, atapibus, wd and cd.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed Sep 22 10:03:37 1999 UTC (25 years, 2 months ago) by enami
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2
lines
print newline.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri Feb 19 21:49:43 1999 UTC (25 years, 9 months ago) by abs
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.18: preferred, colored
Changes since revision 1.18: +6 -1
lines
Add ID for IBM 'PCMCIA Portable CD-ROM Drive'. We only have one of these and it
may be broken (it choked under Windows), but it at least now probes.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu Dec 3 18:24:31 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.17: preferred, colored
Changes since revision 1.17: +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.17: download - view: text, markup, annotated - select for diffs
Sun Nov 22 21:58:50 1998 UTC (26 years ago) by pk
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +1 -2
lines
Remove unwanted inclusion of an isa header file.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Nov 21 15:41:42 1998 UTC (26 years ago) by drochner
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +4 -2
lines
in wdc_softc: access the per-channel data via a pointer array instead of
an array of fixed-sized channel_softc elements. This way IDE controllers
which more than 1 channel (pciide) can extend the channel data easily
for private needs.
To avoid the double dereference at runtime, change the argument of
wdcstart() to the channel data pointer instead of the array index.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri Nov 20 01:52:22 1998 UTC (26 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +47 -7
lines
Add support for power management and lazy interrupt establishment
to PCMCIA IDE controllers (include PCMCIA flash cards).
Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Oct 29 09:49:51 1998 UTC (26 years, 1 month ago) by enami
Branches: MAIN
CVS tags: chs-ubc-base,
chs-ubc
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +77 -13
lines
- match if the function just probing is disk and its interface is ATA.
- use product table only for the card which requires quirks or doesn't
have disk device interface tuple.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Oct 29 09:42:45 1998 UTC (26 years, 1 month ago) by enami
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +9 -9
lines
fix typo and some indentation.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Oct 12 16:09:22 1998 UTC (26 years, 2 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +26 -12
lines
Merge bouyer-ide
Revision 1.4.2.10: download - view: text, markup, annotated - select for diffs
Mon Oct 12 14:33:40 1998 UTC (26 years, 2 months ago) by bouyer
Branches: bouyer-ide
CVS tags: bouyer-ide-merge
Diff to: previous 1.4.2.9: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.2.9: +2 -3
lines
Sync with HEAD.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Oct 10 22:01:24 1998 UTC (26 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: bouyer-ide-base
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -3
lines
Use pcmcia_io_free() where appropriate.
Revision 1.4.2.9: download - view: text, markup, annotated - select for diffs
Fri Oct 2 19:37:22 1998 UTC (26 years, 2 months ago) by bouyer
Branches: bouyer-ide
Diff to: previous 1.4.2.8: preferred, colored
Changes since revision 1.4.2.8: +4 -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.4.2.8: download - view: text, markup, annotated - select for diffs
Sun Sep 20 16:37:23 1998 UTC (26 years, 2 months ago) by bouyer
Branches: bouyer-ide
Diff to: previous 1.4.2.7: preferred, colored
Changes since revision 1.4.2.7: +3 -2
lines
sync with HEAD
Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Sep 18 14:43:58 1998 UTC (26 years, 2 months ago) by enami
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -2
lines
Use an appropriate value for wpp_quirk_flag.
Revision 1.4.2.7: download - view: text, markup, annotated - select for diffs
Fri Sep 11 16:23:15 1998 UTC (26 years, 3 months ago) by bouyer
Branches: bouyer-ide
Diff to: previous 1.4.2.6: preferred, colored
Changes since revision 1.4.2.6: +116 -25
lines
Sync with HEAD.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Sep 10 19:55:31 1998 UTC (26 years, 3 months ago) by kenh
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +117 -25
lines
Reorganize the probe routine and add a quirk table. Much of this code
comes from Enami Tsugutomo (enami@but-b.or.jp). Also add a couple more
devices to the pcmcia devices table.
Revision 1.4.2.6: download - view: text, markup, annotated - select for diffs
Fri Aug 21 16:34:49 1998 UTC (26 years, 3 months ago) by bouyer
Branches: bouyer-ide
Diff to: previous 1.4.2.5: preferred, colored
Changes since revision 1.4.2.5: +22 -20
lines
Sync with -current
Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Aug 15 10:10:55 1998 UTC (26 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +22 -20
lines
Assign my copyrights to TNF.
Revision 1.4.2.5: download - view: text, markup, annotated - select for diffs
Sat Jun 13 14:26:18 1998 UTC (26 years, 5 months ago) by bouyer
Branches: bouyer-ide
Diff to: previous 1.4.2.4: preferred, colored
Changes since revision 1.4.2.4: +1 -1
lines
Sync with HEAD.
Revision 1.4.2.4: download - view: text, markup, annotated - select for diffs
Tue Jun 9 13:04:25 1998 UTC (26 years, 6 months ago) by bouyer
Branches: bouyer-ide
Diff to: previous 1.4.2.3: preferred, colored
Changes since revision 1.4.2.3: +1 -9
lines
Sync with trunk.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Jun 9 07:32:57 1998 UTC (26 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: eeh-paddr_t-base,
eeh-paddr_t
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +1 -9
lines
Nuke __BROKEN_INDIRECT_CONFIG.
Revision 1.4.2.3: download - view: text, markup, annotated - select for diffs
Sat Jun 6 12:40:53 1998 UTC (26 years, 6 months ago) by bouyer
Branches: bouyer-ide
Diff to: previous 1.4.2.2: preferred, colored
Changes since revision 1.4.2.2: +9 -9
lines
Sync with HEAD.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Jun 5 03:40:07 1998 UTC (26 years, 6 months ago) by enami
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2
lines
An oversight in previous commit.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Jun 5 03:26:52 1998 UTC (26 years, 6 months ago) by enami
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +9 -8
lines
- Don't print newline until pcmcia_io_map is called; it expects to write
from middle of line.
- Use SIMPLEQ_FIRST/NEXT macros.
Revision 1.4.2.2: download - view: text, markup, annotated - select for diffs
Thu Jun 4 16:55:05 1998 UTC (26 years, 6 months ago) by bouyer
Branches: bouyer-ide
Diff to: previous 1.4.2.1: preferred, colored
Changes since revision 1.4.2.1: +193 -0
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.4.2.1
Thu Jun 4 02:46:24 1998 UTC (26 years, 6 months ago) by bouyer
Branches: bouyer-ide
FILE REMOVED
Changes since revision 1.4: +0 -179
lines
file wdc_pcmcia.c was added on branch bouyer-ide on 1998-06-04 16:55:05 +0000
Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Jun 4 02:46:24 1998 UTC (26 years, 6 months ago) by enami
Branches: MAIN
Branch point for: bouyer-ide
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +1 -4
lines
No need to define WDDEBUG or undefine ATAPI_DEBUG_WDC here.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Apr 25 17:43:27 1998 UTC (26 years, 7 months ago) by matt
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +7 -6
lines
Now works with the Digital Hinote Ultra Mobile Media CD-ROM
Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Jan 23 01:14:13 1998 UTC (26 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +17 -17
lines
Slight cleanup.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 19:49:03 1998 UTC (26 years, 10 months ago) by matt
Branches: MAIN
Initial support for Digital Mobile Media Adapter.
CVSweb <webmaster@jp.NetBSD.org>