CVS log for src/sys/dev/pci/pccbb.c
Up to [cvs.NetBSD.org] / src / sys / dev / pci
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.217: download - view: text, markup, annotated - select for diffs
Sat Aug 7 16:19:14 2021 UTC (5 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20261102,
perseant-exfatfs-base-20250801,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-11-base,
netbsd-11-1-RELEASE,
netbsd-11-0-RELEASE,
netbsd-11-0-RC7,
netbsd-11-0-RC6,
netbsd-11-0-RC5,
netbsd-11-0-RC4,
netbsd-11-0-RC3,
netbsd-11-0-RC2,
netbsd-11-0-RC1,
netbsd-11,
netbsd-10-base,
netbsd-10-2-RELEASE,
netbsd-10-1-RELEASE,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
HEAD
Diff to: previous 1.216: preferred, colored
Changes since revision 1.216: +3 -4
lines
Merge thorpej-cfargs2.
Revision 1.216.8.1: download - view: text, markup, annotated - select for diffs
Wed Aug 4 21:27:00 2021 UTC (5 years, 3 months ago) by thorpej
Branches: thorpej-cfargs2
Diff to: previous 1.216: preferred, colored; next MAIN 1.217: preferred, colored
Changes since revision 1.216: +3 -4
lines
Adapt to CFARGS().
Revision 1.216: download - view: text, markup, annotated - select for diffs
Sat Apr 24 23:36:57 2021 UTC (5 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-cfargs2-base,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Branch point for: thorpej-cfargs2
Diff to: previous 1.215: preferred, colored
Changes since revision 1.215: +5 -4
lines
Merge thorpej-cfargs branch:
Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.
Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
actually needed.
- Don't be explicit about what interface attribute is attaching if
the device only has one. (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
situations, making is visibly easier to see when indirect config is
in play, and allowing for future change in semantics. (As of now,
this is just a wrapper around config_match(), but that is an
implementation detail.)
Remove unnecessary or redundant interface attributes where they're not
needed.
There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)
...and a sentinel value CFARG_EOL.
Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.
Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
Revision 1.215.10.1: download - view: text, markup, annotated - select for diffs
Fri Apr 2 22:17:44 2021 UTC (5 years, 7 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.215: preferred, colored; next MAIN 1.216: preferred, colored
Changes since revision 1.215: +5 -4
lines
config_found_ia() -> config_found() w/ CFARG_IATTR.
Revision 1.211.10.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:27 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.211.10.1: preferred, colored; branchpoint 1.211: preferred, colored; next MAIN 1.212: preferred, colored
Changes since revision 1.211.10.1: +4 -6
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.215: download - view: text, markup, annotated - select for diffs
Sun Nov 10 21:16:36 2019 UTC (7 years ago) by chs
Branches: MAIN
CVS tags: thorpej-futex-base,
thorpej-futex,
thorpej-cfargs-base,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
is-mlppp-base,
is-mlppp,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Branch point for: thorpej-cfargs
Diff to: previous 1.214: preferred, colored
Changes since revision 1.214: +4 -6
lines
in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.
Revision 1.211.10.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:17 2019 UTC (7 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.211: preferred, colored
Changes since revision 1.211: +86 -108
lines
Sync with HEAD
Revision 1.214: download - view: text, markup, annotated - select for diffs
Fri Mar 1 09:26:00 2019 UTC (7 years, 8 months ago) by msaitoh
Branches: MAIN
CVS tags: phil-wifi-20190609,
netbsd-9-base,
netbsd-9-5-RELEASE,
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
Diff to: previous 1.213: preferred, colored
Changes since revision 1.213: +8 -8
lines
- Almost all ppbreg.h's definitions are also in pcireg.h. Remove duplicated
definitions from ppbreg.h and move some definitions from ppbreg.h to
pcireg.h.
- Change fast back-to-back "capable" to "enable" in pci_subr.c.
- Print Primary Discard Timer, Secondary Discard Timer, Discard Timer Status
and Discard Timer SERR# Enable bit in pci_subr.c.
- PCI_BRIDGE_PREFETCHBASE32_REG and PCI_BRIDGE_PREFETCHLIMIT32_REG are
"upper" 32bit registers, rename to *UP32_REG to avoid confusion.
- Use macro.
Revision 1.213: download - view: text, markup, annotated - select for diffs
Fri Mar 1 05:41:56 2019 UTC (7 years, 8 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.212: preferred, colored
Changes since revision 1.212: +79 -101
lines
No functional change:
- u_int* -> uint*
- KNF.
Revision 1.211.8.1: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:55:51 2018 UTC (8 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.211: preferred, colored; next MAIN 1.212: preferred, colored
Changes since revision 1.211: +3 -3
lines
Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
Revision 1.212: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:29:32 2018 UTC (8 years, 2 months ago) by riastradh
Branches: MAIN
CVS tags: pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906
Diff to: previous 1.211: preferred, colored
Changes since revision 1.211: +3 -3
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.204.6.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:08 2017 UTC (8 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.204.6.1: preferred, colored; branchpoint 1.204: preferred, colored; next MAIN 1.205: preferred, colored
Changes since revision 1.204.6.1: +21 -17
lines
update from HEAD
Revision 1.207.2.4: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:52:06 2017 UTC (9 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.207.2.3: preferred, colored; branchpoint 1.207: preferred, colored; next MAIN 1.208: preferred, colored
Changes since revision 1.207.2.3: +4 -3
lines
Sync with HEAD
Revision 1.210.8.1: download - view: text, markup, annotated - select for diffs
Thu May 11 02:58:38 2017 UTC (9 years, 6 months ago) by pgoyette
Branches: prg-localcount2
Diff to: previous 1.210: preferred, colored; next MAIN 1.211: preferred, colored
Changes since revision 1.210: +4 -3
lines
Sync with HEAD
Revision 1.211: download - view: text, markup, annotated - select for diffs
Wed May 10 02:46:33 2017 UTC (9 years, 6 months ago) by msaitoh
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
prg-localcount2-base3,
prg-localcount2-base2,
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,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
netbsd-8-base,
netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
jdolecek-ncqfixes-base,
jdolecek-ncqfixes
Branch point for: phil-wifi,
pgoyette-compat
Diff to: previous 1.210: preferred, colored
Changes since revision 1.210: +4 -3
lines
Use pci_intr_establish_xname().
Revision 1.207.2.3: download - view: text, markup, annotated - select for diffs
Sat Jul 9 20:25:04 2016 UTC (10 years, 4 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.207.2.2: preferred, colored; branchpoint 1.207: preferred, colored
Changes since revision 1.207.2.2: +14 -8
lines
Sync with HEAD
Revision 1.210: download - view: text, markup, annotated - select for diffs
Thu Jul 7 06:55:41 2016 UTC (10 years, 4 months ago) by msaitoh
Branches: MAIN
CVS tags: prg-localcount2-base1,
prg-localcount2-base,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
localcount-20160914,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: prg-localcount2
Diff to: previous 1.209: preferred, colored
Changes since revision 1.209: +14 -8
lines
KNF. Remove extra spaces. No functional change.
Revision 1.207.2.2: download - view: text, markup, annotated - select for diffs
Sat Mar 19 11:30:11 2016 UTC (10 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.207.2.1: preferred, colored; branchpoint 1.207: preferred, colored
Changes since revision 1.207.2.1: +6 -9
lines
Sync with HEAD
Revision 1.209: download - view: text, markup, annotated - select for diffs
Wed Feb 17 20:00:15 2016 UTC (10 years, 9 months ago) by christos
Branches: MAIN
CVS tags: nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319
Diff to: previous 1.208: preferred, colored
Changes since revision 1.208: +6 -9
lines
PR/50820: David Binderman: Fail when !(edge|pulse) instead of !edge && edge
Revision 1.207.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:18:10 2015 UTC (11 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.207: preferred, colored
Changes since revision 1.207: +4 -4
lines
Sync with HEAD
Revision 1.208: download - view: text, markup, annotated - select for diffs
Thu Mar 26 20:13:28 2015 UTC (11 years, 7 months ago) by nakayama
Branches: MAIN
CVS tags: nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406
Diff to: previous 1.207: preferred, colored
Changes since revision 1.207: +4 -4
lines
Add missing new lines.
Revision 1.204.2.1: download - view: text, markup, annotated - select for diffs
Sun Dec 7 15:09:31 2014 UTC (11 years, 11 months ago) by martin
Branches: netbsd-6
Diff to: previous 1.204: preferred, colored; next MAIN 1.205: preferred, colored
Changes since revision 1.204: +3 -3
lines
Pull up following revision(s) (requested by ozaki-r in ticket #1201):
sys/kern/kern_ktrace.c: revision 1.166
sys/dev/isa/aps.c: revision 1.16
sys/dev/sysmon/sysmonvar.h: revision 1.45
sys/dev/ir/irframe_tty.c: revision 1.60
sys/dev/sysmon/sysmon_envsys_events.c: revision 1.111-1.112 (patch)
sys/dev/pci/pccbb.c: revision 1.207
sys/dev/wscons/wskbd.c: revision 1.135
sys/dev/usb/ohci.c: revision 1.254
sys/net/if_ecosubr.c: revision 1.41
sys/dev/pcmcia/btbc.c: revision 1.17
sys/arch/x86/x86/via_padlock.c: revision 1.23
sys/dev/sdmmc/sdmmc.c: revision 1.23 (patch)
sys/dev/bluetooth/btkbd.c: revision 1.17
sys/dev/bluetooth/bcsp.c: revision 1.25
sys/arch/x86/pci/fwhrng.c: revision 1.8
sys/dev/ic/nslm7x.c: revision 1.61
share/man/man9/callout.9: revision 1.28 (patch)
Replace callout_stop with callout_halt and ensure the callout
is not running before destroying it.
Revision 1.206.4.1: download - view: text, markup, annotated - select for diffs
Mon Dec 1 11:38:42 2014 UTC (11 years, 11 months ago) by martin
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
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
Diff to: previous 1.206: preferred, colored; next MAIN 1.207: preferred, colored
Changes since revision 1.206: +3 -3
lines
Pull up following revision(s) (requested by ozaki-r in ticket #279):
sys/kern/kern_ktrace.c: revision 1.166
sys/dev/isa/aps.c: revision 1.16
sys/dev/sysmon/sysmonvar.h: revision 1.45
sys/dev/ir/irframe_tty.c: revision 1.60
sys/dev/sysmon/sysmon_envsys_events.c: revision 1.111
sys/dev/sysmon/sysmon_envsys_events.c: revision 1.112
sys/dev/pci/pccbb.c: revision 1.207
sys/dev/wscons/wskbd.c: revision 1.135
sys/dev/usb/ohci.c: revision 1.254
sys/net/if_ecosubr.c: revision 1.41
sys/dev/pcmcia/btbc.c: revision 1.17
sys/arch/x86/x86/via_padlock.c: revision 1.23
sys/dev/sdmmc/sdmmc.c: revision 1.23
sys/dev/bluetooth/btkbd.c: revision 1.17
sys/dev/bluetooth/bcsp.c: revision 1.25
sys/arch/x86/pci/fwhrng.c: revision 1.8
sys/dev/ic/nslm7x.c: revision 1.61
share/man/man9/callout.9: revision 1.28
Replace callout_stop with callout_halt
In order to call callout_destroy for a callout safely, we have to ensure
the function of the callout is not running and pending. To do so, we should
use callout_halt, not callout_stop.
Discussed with martin@ and riastradh@.
Make it clear that we should use not callout_stop but callout_halt
before callout_destroy
Replace callout_stop with callout_halt
In order to call callout_destroy for a callout safely, we have to ensure
the function of the callout is not running and pending. To do so, we should
use callout_halt, not callout_stop.
In this case, we need to pass an interlock to callout_halt to wait for
the callout complete.
Reviewed by riastradh@.
Kill sme_callout_mtx and use sme_mtx instead
We can use sme_mtx for the callout as well. Actually we should do so
because sme_events_list and some other data that are touched in the
callout should be protected by sme_mtx, not sme_callout_mtx.
Discussed with riastradh@ in
http://mail-index.netbsd.org/tech-kern/2014/11/11/msg017956.html
Replace callout_stop with callout_halt
In order to call callout_destroy for a callout safely, we have to ensure
the function of the callout is not running and pending. To do so, we should
use callout_halt, not callout_stop.
In this case, we need to pass an interlock to callout_halt to wait for
the callout complete. And also we make sure that SME_CALLOUT_INITIALIZED
is unset before calling callout_halt to prevent the callout from calling
callout_schedule. This is the same as what we did in sys/netinet6/mld6.c@1.61.
Reviewed by riastradh@.
Revision 1.207: download - view: text, markup, annotated - select for diffs
Sun Nov 16 16:20:00 2014 UTC (12 years ago) by ozaki-r
Branches: MAIN
CVS tags: nick-nhusb-base
Branch point for: nick-nhusb
Diff to: previous 1.206: preferred, colored
Changes since revision 1.206: +3 -3
lines
Replace callout_stop with callout_halt
In order to call callout_destroy for a callout safely, we have to ensure
the function of the callout is not running and pending. To do so, we should
use callout_halt, not callout_stop.
Discussed with martin@ and riastradh@.
Revision 1.204.6.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:43 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.204: preferred, colored
Changes since revision 1.204: +10 -16
lines
Rebase to HEAD as of a few days ago.
Revision 1.203.2.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:25 2014 UTC (12 years, 5 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.203.2.1: preferred, colored; branchpoint 1.203: preferred, colored; next MAIN 1.204: preferred, colored
Changes since revision 1.203.2.1: +10 -16
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.204.10.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:41 2014 UTC (12 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.204: preferred, colored; next MAIN 1.205: preferred, colored
Changes since revision 1.204: +10 -16
lines
sync with head
Revision 1.206: download - view: text, markup, annotated - select for diffs
Sat Mar 29 19:28:25 2014 UTC (12 years, 7 months 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,
netbsd-7-base
Branch point for: netbsd-7
Diff to: previous 1.205: preferred, colored
Changes since revision 1.205: +4 -3
lines
make pci_intr_string and eisa_intr_string take a buffer and a length
instead of relying in local static storage.
Revision 1.205: download - view: text, markup, annotated - select for diffs
Thu Oct 17 21:06:15 2013 UTC (13 years, 1 month ago) by christos
Branches: MAIN
CVS tags: riastradh-drm2-base3
Diff to: previous 1.204: preferred, colored
Changes since revision 1.204: +8 -15
lines
- remove unused variables
- move debugging code inside debugging sections
Revision 1.203.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:07:51 2012 UTC (14 years, 7 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.203: preferred, colored
Changes since revision 1.203: +4 -10
lines
sync with head
Revision 1.203.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:34:46 2012 UTC (14 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.203: preferred, colored; next MAIN 1.204: preferred, colored
Changes since revision 1.203: +4 -10
lines
merge to -current.
Revision 1.204: download - view: text, markup, annotated - select for diffs
Mon Jan 30 19:41:22 2012 UTC (14 years, 9 months ago) by drochner
Branches: MAIN
CVS tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
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,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
khorben-n900,
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,
agc-symver-base,
agc-symver
Branch point for: tls-maxphys,
rmind-smpnet,
netbsd-6
Diff to: previous 1.203: preferred, colored
Changes since revision 1.203: +4 -10
lines
Use pci_aprint_devinfo(9) instead of pci_devinfo+aprint_{normal,naive}
where it looks straightforward, and pci_aprint_devinfo_fancy in a few
others where drivers want to supply their own device names instead
of the pcidevs generated one. More complicated cases, where names
are composed at runtime, are left alone for now. It certainly makes
sense to simplify the drivers here rather than inventing a catch-all API.
This should serve as as example for new drivers, and also ensure
consistent output in the AB_QUIET ("boot -q") case. Also, it avoids
excessive stack usage where drivers attach child devices because the
buffer for the device name is not kept on the local stack anymore.
Revision 1.203: download - view: text, markup, annotated - select for diffs
Mon Aug 1 11:20:26 2011 UTC (15 years, 3 months ago) by drochner
Branches: MAIN
CVS tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3
Branch point for: yamt-pagecache,
jmcneill-usbmp
Diff to: previous 1.202: preferred, colored
Changes since revision 1.202: +11 -14
lines
remove some bloat:
-cardbus doesn't use multiple interrupt lines like PCI, and it doesn't
use machanisms like interrupt line register and swizzling -- no need
to carry around dummy information, this is all dealt with by the
bridge
(I'm asking myself how "rbus_ppb" can work -- a bridge attached to
cardbus just can't work like a normal PCI bridge as far as interrupts
are concerned. I thing that should be a hardware specific driver
because behavior is not covered by a standard.)
-cardbus always uses 3.3V -- no need for a variable to keep track
of the voltage
Revision 1.202: download - view: text, markup, annotated - select for diffs
Tue Jul 26 22:23:32 2011 UTC (15 years, 3 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.201: preferred, colored
Changes since revision 1.201: +2 -6
lines
Don't set the iobase and iosize members of pcmciabus_attach_args because
they're not used in any meaningful way.
Revision 1.196.2.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:53:47 2011 UTC (15 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.196.2.1: preferred, colored; branchpoint 1.196: preferred, colored; next MAIN 1.197: preferred, colored
Changes since revision 1.196.2.1: +13 -9
lines
sync with head
Revision 1.201: download - view: text, markup, annotated - select for diffs
Tue Jan 4 10:40:17 2011 UTC (15 years, 10 months ago) by jruoho
Branches: MAIN
CVS tags: rmind-uvmplock-nbase,
rmind-uvmplock-base,
jruoho-x86intr-base,
jruoho-x86intr,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Diff to: previous 1.200: preferred, colored
Changes since revision 1.200: +4 -4
lines
Stop using aprint_debug(9) in an interrupt handler.
Revision 1.200: download - view: text, markup, annotated - select for diffs
Mon Dec 27 19:02:32 2010 UTC (15 years, 10 months ago) by phx
Branches: MAIN
CVS tags: matt-mips64-premerge-20101231
Diff to: previous 1.199: preferred, colored
Changes since revision 1.199: +11 -7
lines
Add TI PCI1510.
Enable TI12XX PCI interrupt in MFUNC when MFUNC pin0 and pin1 are zero.
Ignore the other pins, which may be non-zero (e.g. IRQSER in pin3).
Revision 1.167.4.6: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:53:50 2010 UTC (16 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.167.4.5: preferred, colored; branchpoint 1.167: preferred, colored; next MAIN 1.168: preferred, colored
Changes since revision 1.167.4.5: +15 -43
lines
sync with head.
Revision 1.196.2.1: download - view: text, markup, annotated - select for diffs
Sun May 30 05:17:36 2010 UTC (16 years, 5 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.196: preferred, colored
Changes since revision 1.196: +15 -43
lines
sync with head
Revision 1.193.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:43:39 2010 UTC (16 years, 6 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.193: preferred, colored; next MAIN 1.194: preferred, colored
Changes since revision 1.193: +31 -67
lines
Sync with HEAD.
Revision 1.180.12.1: download - view: text, markup, annotated - select for diffs
Wed Apr 21 00:27:42 2010 UTC (16 years, 7 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-k15
Diff to: previous 1.180: preferred, colored; next MAIN 1.181: preferred, colored
Changes since revision 1.180: +4 -4
lines
sync to netbsd-5
Revision 1.199: download - view: text, markup, annotated - select for diffs
Tue Apr 20 23:39:10 2010 UTC (16 years, 7 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1
Diff to: previous 1.198: preferred, colored
Changes since revision 1.198: +5 -5
lines
Change sc_pil_intr_enable from an int to a bool. No functional change
intended.
Revision 1.198: download - view: text, markup, annotated - select for diffs
Mon Apr 19 18:24:27 2010 UTC (16 years, 7 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.197: preferred, colored
Changes since revision 1.197: +12 -12
lines
Add default implementations for bus_space_is_equal(9),
bus_space_tag_create(9), and bus_space_tag_destroy(9). Use
bus_space_is_equal(9) throughout the kernel to compare
bus_space_tag_t's. Tested on i386 and on sparc64.
Revision 1.197: download - view: text, markup, annotated - select for diffs
Mon Mar 15 20:02:55 2010 UTC (16 years, 8 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.196: preferred, colored
Changes since revision 1.196: +2 -30
lines
rbus is always #defined as 1, so unifdef -D rbus=1.
Revision 1.167.4.5: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:49 2010 UTC (16 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.167.4.4: preferred, colored; branchpoint 1.167: preferred, colored
Changes since revision 1.167.4.4: +18 -31
lines
sync with head
Revision 1.196: download - view: text, markup, annotated - select for diffs
Thu Feb 25 00:47:40 2010 UTC (16 years, 8 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-nfs-mp-base9
Branch point for: rmind-uvmplock
Diff to: previous 1.195: preferred, colored
Changes since revision 1.195: +2 -9
lines
Cardbus_free_tag() and cardbus_free_tag() are no-ops, so get rid of them
to simplify the code a bit.
Revision 1.195: download - view: text, markup, annotated - select for diffs
Wed Feb 24 23:38:40 2010 UTC (16 years, 8 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.194: preferred, colored
Changes since revision 1.194: +16 -17
lines
Start to tuck Cardbus under the PCI abstraction. Step #1, textual
substitution: for all practical purposes, pcitag_t and cardbustag_t are
interchangeable, so just use pcitag_t. Ditto pcireg_t and cardbusreg_t.
Poison new uses of cardbusreg_t and cardbustag_t by deleting the type
definitions.
Revision 1.194: download - view: text, markup, annotated - select for diffs
Wed Feb 24 22:38:01 2010 UTC (16 years, 8 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.193: preferred, colored
Changes since revision 1.193: +6 -6
lines
A pointer typedef entails trading too much flexibility to declare const
and non-const types, and the kernel uses both const and non-const
PMF qualifiers and device suspensors, so change the pmf_qual_t and
device_suspensor_t typedefs from "pointers to const" to non-pointer,
non-const types.
Revision 1.193: download - view: text, markup, annotated - select for diffs
Fri Jan 8 19:56:52 2010 UTC (16 years, 10 months ago) by dyoung
Branches: MAIN
CVS tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Diff to: previous 1.192: preferred, colored
Changes since revision 1.192: +6 -6
lines
Expand PMF_FN_* macros.
Revision 1.192: download - view: text, markup, annotated - select for diffs
Tue Dec 15 22:17:12 2009 UTC (16 years, 11 months ago) by snj
Branches: MAIN
Diff to: previous 1.191: preferred, colored
Changes since revision 1.191: +2 -7
lines
Move to 2-clause license. Approved by HAYAKAWA Koichi (copyright holder).
Revision 1.180.4.1: download - view: text, markup, annotated - select for diffs
Wed Sep 30 00:00:49 2009 UTC (17 years, 1 month 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,
matt-nb5-pq3-base,
matt-nb5-pq3
Diff to: previous 1.180: preferred, colored; next MAIN 1.181: preferred, colored
Changes since revision 1.180: +4 -4
lines
Pull up following revision(s) (requested by bouyer in ticket #1040):
sys/dev/isa/if_lc_isa.c: revision 1.30
sys/dev/pci/pccbb.c: revision 1.183
Fix bus_addr_t/bus_size_t confusion
Revision 1.167.4.4: download - view: text, markup, annotated - select for diffs
Wed Aug 19 18:47:12 2009 UTC (17 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.167.4.3: preferred, colored; branchpoint 1.167: preferred, colored
Changes since revision 1.167.4.3: +27 -18
lines
sync with head.
Revision 1.191: download - view: text, markup, annotated - select for diffs
Fri Aug 7 12:09:50 2009 UTC (17 years, 3 months ago) by blymn
Branches: MAIN
CVS tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
matt-premerge-20091211,
jym-xensuspend-nbase
Diff to: previous 1.190: preferred, colored
Changes since revision 1.190: +6 -2
lines
Destroy mutex and condvar initialised in pccbbattach().
Revision 1.190: download - view: text, markup, annotated - select for diffs
Fri Aug 7 12:04:43 2009 UTC (17 years, 3 months ago) by blymn
Branches: MAIN
Diff to: previous 1.189: preferred, colored
Changes since revision 1.189: +5 -5
lines
Clean up extraneous white space.
Revision 1.182.2.2: download - view: text, markup, annotated - select for diffs
Thu Jul 23 23:31:58 2009 UTC (17 years, 3 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.182.2.1: preferred, colored; next MAIN 1.183: preferred, colored
Changes since revision 1.182.2.1: +31 -12
lines
Sync with HEAD.
Revision 1.189: download - view: text, markup, annotated - select for diffs
Thu Jul 23 21:22:25 2009 UTC (17 years, 3 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.188: preferred, colored
Changes since revision 1.188: +20 -15
lines
Use kpause(9), cv_timedwait(9), and cv_signal(9) instead of tsleep(9)
and wakeup(9).
Use mstohz(9).
XXX Protection against spurious wakeups is still needed, but this patch
XXX makes the code no worse than before in this regard.
Revision 1.167.4.3: download - view: text, markup, annotated - select for diffs
Sat Jun 20 07:20:23 2009 UTC (17 years, 5 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.167.4.2: preferred, colored; branchpoint 1.167: preferred, colored
Changes since revision 1.167.4.2: +31 -12
lines
sync with head
Revision 1.188: download - view: text, markup, annotated - select for diffs
Thu May 21 17:32:32 2009 UTC (17 years, 6 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
jymxensuspend-base
Diff to: previous 1.187: preferred, colored
Changes since revision 1.187: +31 -12
lines
Let us detach pcmcia0 and cardbus0 at cardslot0, and cardslot0 at
cardbus0.
Revision 1.167.4.2: download - view: text, markup, annotated - select for diffs
Sat May 16 10:41:36 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.167.4.1: preferred, colored; branchpoint 1.167: preferred, colored
Changes since revision 1.167.4.1: +4 -4
lines
sync with head
Revision 1.182.2.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:20:27 2009 UTC (17 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.182: preferred, colored
Changes since revision 1.182: +11 -10
lines
Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.187: download - view: text, markup, annotated - select for diffs
Wed May 6 09:25:16 2009 UTC (17 years, 6 months ago) by cegger
Branches: MAIN
CVS tags: yamt-nfs-mp-base4,
jym-xensuspend-base
Diff to: previous 1.186: preferred, colored
Changes since revision 1.186: +4 -4
lines
struct cfdata * -> cfdata_t, no functional changes intended.
Revision 1.167.4.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:58 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.167: preferred, colored
Changes since revision 1.167: +238 -390
lines
sync with head.
Revision 1.186: download - view: text, markup, annotated - select for diffs
Sun May 3 00:31:12 2009 UTC (17 years, 6 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-nfs-mp-base3
Diff to: previous 1.185: preferred, colored
Changes since revision 1.185: +3 -3
lines
In pccbb_pci_callback(), set CBB_SPECMAPPED in sc_flags if we've
acquired bus space from bus_space_alloc(9) or from rbus_space_alloc(),
so that we use the appropriate routine to release the bus space in
pccbbdetach(). This stops panics during cbb(4) detachment (esp. at
shutdown) on some systems.
Thanks to Kurt Schreiner for testing the fix, Kurt, Patrick Welche,
Pouya D. Tafti, and Matt Green for reporting.
Revision 1.180.2.3: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:35:57 2009 UTC (17 years, 6 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.180.2.2: preferred, colored; branchpoint 1.180: preferred, colored; next MAIN 1.181: preferred, colored
Changes since revision 1.180.2.2: +6 -5
lines
Sync with HEAD.
Revision 1.185: download - view: text, markup, annotated - select for diffs
Thu Apr 2 00:09:33 2009 UTC (17 years, 7 months ago) by dyoung
Branches: MAIN
CVS tags: nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base
Diff to: previous 1.184: preferred, colored
Changes since revision 1.184: +5 -4
lines
During shutdown, detach devices in an orderly fashion.
Call the detach routine for every device in the device tree, starting
with the leaves and moving toward the root, expecting that each
(pseudo-)device driver will use the opportunity to gracefully commit
outstandings transactions to the underlying (pseudo-)device and to
relinquish control of the hardware to the system BIOS.
Detaching devices is not suitable for every shutdown: in an emergency,
or if the system state is inconsistent, we should resort to a fast,
simple shutdown that uses only the pmf(9) shutdown hooks and the
(deprecated) shutdownhooks. For now, if the flag RB_NOSYNC is set in
boothowto, opt for the fast, simple shutdown.
Add a device flag, DVF_DETACH_SHUTDOWN, that indicates by its presence
that it is safe to detach a device during shutdown. Introduce macros
CFATTACH_DECL3() and CFATTACH_DECL3_NEW() for creating autoconf
attachments with default device flags. Add DVF_DETACH_SHUTDOWN
to configuration attachments for atabus(4), atw(4) at cardbus(4),
cardbus(4), cardslot(4), com(4) at isa(4), elanpar(4), elanpex(4),
elansc(4), gpio(4), npx(4) at isa(4), nsphyter(4), pci(4), pcib(4),
pcmcia(4), ppb(4), sip(4), wd(4), and wdc(4) at isa(4).
Add a device-detachment "reason" flag, DETACH_SHUTDOWN, that tells the
autoconf code and a device driver that the reason for detachment is
system shutdown.
Add a sysctl, kern.detachall, that tells the system to try to detach
every device at shutdown, regardless of any device's DVF_DETACH_SHUTDOWN
flag. The default for kern.detachall is 0. SET IT TO 1, PLEASE, TO
HELP TEST AND DEBUG DEVICE DETACHMENT AT SHUTDOWN.
This is a work in progress. In future work, I aim to treat
pseudo-devices more thoroughly, and to gracefully tear down a stack of
(pseudo-)disk drivers and filesystems, including cgd(4), vnd(4), and
raid(4) instances at shutdown.
Also commit some changes that are not easily untangled from the rest:
(1) begin to simplify device_t locking: rename struct pmf_private to
device_lock, and incorporate device_lock into struct device.
(2) #include <sys/device.h> in sys/pmf.h in order to get some
definitions that it needs. Stop unnecessarily #including <sys/device.h>
in sys/arch/x86/include/pic.h to keep the amd64, xen, and i386 releases
building.
Revision 1.184: download - view: text, markup, annotated - select for diffs
Thu Mar 5 01:38:12 2009 UTC (17 years, 8 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.183: preferred, colored
Changes since revision 1.183: +3 -3
lines
Fix typo(s/interupt/interrupt/)
Revision 1.180.2.2: download - view: text, markup, annotated - select for diffs
Tue Mar 3 18:31:07 2009 UTC (17 years, 8 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.180.2.1: preferred, colored; branchpoint 1.180: preferred, colored
Changes since revision 1.180.2.1: +15 -12
lines
Sync with HEAD.
Revision 1.183: download - view: text, markup, annotated - select for diffs
Fri Feb 13 22:39:37 2009 UTC (17 years, 9 months ago) by bouyer
Branches: MAIN
CVS tags: nick-hppapmap-base2
Diff to: previous 1.182: preferred, colored
Changes since revision 1.182: +4 -4
lines
Fix bus_addr_t/bus_size_t confusion
Revision 1.182: download - view: text, markup, annotated - select for diffs
Fri Feb 6 01:15:53 2009 UTC (17 years, 9 months ago) by dyoung
Branches: MAIN
Branch point for: jym-xensuspend
Diff to: previous 1.181: preferred, colored
Changes since revision 1.181: +13 -10
lines
When the power status changes, always note the change and wake the
socket events thread. Sometimes we would not note the power-status
change if the socket also indicated a change in card status.
Revision 1.180.2.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:18:26 2009 UTC (17 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.180: preferred, colored
Changes since revision 1.180: +5 -4
lines
Sync with HEAD.
Revision 1.165.6.5: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:29:00 2009 UTC (17 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.165.6.4: preferred, colored; branchpoint 1.165: preferred, colored; next MAIN 1.166: preferred, colored
Changes since revision 1.165.6.4: +5 -2
lines
Sync with HEAD.
Revision 1.181: download - view: text, markup, annotated - select for diffs
Sun Jan 11 02:45:51 2009 UTC (17 years, 10 months ago) by christos
Branches: MAIN
CVS tags: mjf-devfs2-base
Diff to: previous 1.180: preferred, colored
Changes since revision 1.180: +5 -4
lines
merge christos-time_t
Revision 1.180.8.2: download - view: text, markup, annotated - select for diffs
Sun Jan 4 02:16:41 2009 UTC (17 years, 10 months ago) by christos
Branches: christos-time_t
Diff to: previous 1.180.8.1: preferred, colored; branchpoint 1.180: preferred, colored; next MAIN 1.181: preferred, colored
Changes since revision 1.180.8.1: +3222 -0
lines
fix time_t format.
Revision 1.178.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:14:36 2008 UTC (17 years, 11 months ago) by haad
Branches: haad-dm
Diff to: previous 1.178.2.1: preferred, colored; branchpoint 1.178: preferred, colored; next MAIN 1.179: preferred, colored
Changes since revision 1.178.2.1: +4 -2
lines
Update haad-dm branch to haad-dm-base2.
Revision 1.180.8.1
Sat Oct 25 18:46:38 2008 UTC (18 years ago) by christos
Branches: christos-time_t
FILE REMOVED
Changes since revision 1.180: +0 -3221
lines
file pccbb.c was added on branch christos-time_t on 2009-01-04 02:16:41 +0000
Revision 1.180: download - view: text, markup, annotated - select for diffs
Sat Oct 25 18:46:38 2008 UTC (18 years ago) by christos
Branches: MAIN
CVS tags: netbsd-5-base,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20091211,
matt-nb4-mips64-k7-u2a-k9b,
haad-nbase2,
haad-dm-base2,
haad-dm-base,
christos-time_t-nbase,
christos-time_t-base,
ad-audiomp2-base,
ad-audiomp2
Branch point for: nick-hppapmap,
netbsd-5,
matt-nb5-mips64,
christos-time_t
Diff to: previous 1.179: preferred, colored
Changes since revision 1.179: +4 -2
lines
another TI bridge.
Revision 1.178.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:16:39 2008 UTC (18 years, 1 month ago) by haad
Branches: haad-dm
Diff to: previous 1.178: preferred, colored
Changes since revision 1.178: +4 -2
lines
Sync with HEAD.
Revision 1.165.6.4: download - view: text, markup, annotated - select for diffs
Sun Sep 28 10:40:27 2008 UTC (18 years, 1 month ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.165.6.3: preferred, colored; branchpoint 1.165: preferred, colored
Changes since revision 1.165.6.3: +16 -1
lines
Sync with HEAD.
Revision 1.167.6.2: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:35:07 2008 UTC (18 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.167.6.1: preferred, colored; branchpoint 1.167: preferred, colored; next MAIN 1.168: preferred, colored
Changes since revision 1.167.6.1: +189 -374
lines
Sync with wrstuden-revivesa-base-2.
Revision 1.179: download - view: text, markup, annotated - select for diffs
Wed Aug 6 15:50:46 2008 UTC (18 years, 3 months ago) by dyoung
Branches: MAIN
CVS tags: wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
matt-mips64-base2,
haad-dm-base1
Diff to: previous 1.178: preferred, colored
Changes since revision 1.178: +4 -2
lines
Identify the O2 Micro OZ711E0 and treat it the same as all of the
other O2 Micro bridges, which seem to spuriously report bus errors
if parity-error detection is enabled.
Revision 1.169.2.2: download - view: text, markup, annotated - select for diffs
Thu Jul 3 18:38:04 2008 UTC (18 years, 4 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.169.2.1: preferred, colored; branchpoint 1.169: preferred, colored; next MAIN 1.170: preferred, colored
Changes since revision 1.169.2.1: +16 -3
lines
Sync with head.
Revision 1.178: download - view: text, markup, annotated - select for diffs
Thu Jul 3 13:37:34 2008 UTC (18 years, 4 months ago) by drochner
Branches: MAIN
CVS tags: simonb-wapbl-nbase,
simonb-wapbl-base
Branch point for: haad-dm
Diff to: previous 1.177: preferred, colored
Changes since revision 1.177: +16 -3
lines
On cardbus configuration reads, check for a master abort in the cbb
and return all-ones explicitely.
Since pccbb.c rev. 1.151 the cbb is set to translate cardbus master
aborts which makes that the PCI configuration read on the primary bus
returns random junk. This can cause the probing code to get confused.
The issue was reported by KIYOHARA Takashi and Jonathan A. Kollasch,
the patch was tested by KIYOHARA Takashi.
Revision 1.165.6.3: download - view: text, markup, annotated - select for diffs
Sun Jun 29 09:33:09 2008 UTC (18 years, 4 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.165.6.2: preferred, colored; branchpoint 1.165: preferred, colored
Changes since revision 1.165.6.2: +171 -371
lines
Sync with HEAD.
Revision 1.169.2.1: download - view: text, markup, annotated - select for diffs
Fri Jun 27 15:11:22 2008 UTC (18 years, 4 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.169: preferred, colored
Changes since revision 1.169: +173 -373
lines
Sync with head.
Revision 1.177: download - view: text, markup, annotated - select for diffs
Thu Jun 26 20:57:10 2008 UTC (18 years, 4 months ago) by drochner
Branches: MAIN
Diff to: previous 1.176: preferred, colored
Changes since revision 1.176: +87 -232
lines
delete more dead code, remove use of pcic_handle except of some local
uses in pcmcia ressource management which is copied from ISA pcic,
so use our softc as handle exported to generic pcmcia code and kill
the ph_parent backpointer - this makes the code simpler and smaller
Revision 1.176: download - view: text, markup, annotated - select for diffs
Thu Jun 26 18:05:48 2008 UTC (18 years, 4 months ago) by drochner
Branches: MAIN
Diff to: previous 1.175: preferred, colored
Changes since revision 1.175: +25 -64
lines
remove some more dead code, and use the softc as handle in more internal
functions rather than pcic_handle
Revision 1.175: download - view: text, markup, annotated - select for diffs
Thu Jun 26 17:22:23 2008 UTC (18 years, 4 months ago) by drochner
Branches: MAIN
Diff to: previous 1.174: preferred, colored
Changes since revision 1.174: +5 -10
lines
remove references to nonexisting members of pcic_handle in commented out
and debug code, from Patrick Welche
(we could as well drop pcic_handle completely and use our softc as
the opaque handle for the pcmcia code - this would simplify the code
even more)
Revision 1.174: download - view: text, markup, annotated - select for diffs
Thu Jun 26 12:33:17 2008 UTC (18 years, 4 months ago) by drochner
Branches: MAIN
Diff to: previous 1.173: preferred, colored
Changes since revision 1.173: +5 -5
lines
constify the pcmcia/cardbus method tables
Revision 1.173: download - view: text, markup, annotated - select for diffs
Wed Jun 25 15:29:23 2008 UTC (18 years, 4 months ago) by drochner
Branches: MAIN
Diff to: previous 1.172: preferred, colored
Changes since revision 1.172: +24 -35
lines
Avoid the use of i82365var.h - we don't use any functions from there.
Extract some data structures for ressource management into our private
header instead. This allows to use a typed pointer instead of a
generic one which saves a lot of typecasts.
Also remove something marked as "dirty hack" which I admittedly don't
understand, but it doesn't look useful...
Revision 1.172: download - view: text, markup, annotated - select for diffs
Wed Jun 25 11:42:32 2008 UTC (18 years, 4 months ago) by drochner
Branches: MAIN
Diff to: previous 1.171: preferred, colored
Changes since revision 1.171: +55 -55
lines
split device/softc for pccbb, the cardbus half of cardslot and cardbus
(not yet pcmcia, there is a lot of md code involved)
Revision 1.171: download - view: text, markup, annotated - select for diffs
Tue Jun 24 19:44:51 2008 UTC (18 years, 4 months ago) by drochner
Branches: MAIN
Diff to: previous 1.170: preferred, colored
Changes since revision 1.170: +11 -11
lines
clean up the cardbus interrupt stuff:
There were cardbus_intr_line_t and cardbus_intr_handle_t used intermixed
for the same variable, and that variable is pretty much useless because
cardbus doesn't follow the PCI interrupt swizzling etc scheme.
Useless interrupt numbers were printed on cardbus device attach.
So as a first step to sanity, kill cardbus_intr_handle_t and poison
cardbus_intr_line_t to discourage printing it as a %d.
Use cardbus_intr_line_t consistently throughout the code.
Remove the "interrupting at foo" messages because the information
is misleading. We could come up with a better interrupt vector
information, but because cardbus interrupts are mediated by pccbb
it would still be misleading.
Revision 1.170: download - view: text, markup, annotated - select for diffs
Tue Jun 24 17:32:09 2008 UTC (18 years, 4 months ago) by drochner
Branches: MAIN
Diff to: previous 1.169: preferred, colored
Changes since revision 1.169: +4 -4
lines
clean up some useless code and variables in cardbus attachment
Revision 1.167.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:31:11 2008 UTC (18 years, 4 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.167: preferred, colored
Changes since revision 1.167: +30 -4
lines
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.167.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 4 02:05:14 2008 UTC (18 years, 5 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.167: preferred, colored; next MAIN 1.168: preferred, colored
Changes since revision 1.167: +30 -4
lines
sync with head
Revision 1.165.6.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:42 2008 UTC (18 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.165.6.1: preferred, colored; branchpoint 1.165: preferred, colored
Changes since revision 1.165.6.1: +28 -2
lines
Sync with HEAD.
Revision 1.169: download - view: text, markup, annotated - select for diffs
Tue May 27 21:32:47 2008 UTC (18 years, 5 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-pf42-base4,
yamt-pf42-base3,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base
Branch point for: simonb-wapbl
Diff to: previous 1.168: preferred, colored
Changes since revision 1.168: +29 -3
lines
Distinguish O2 Micro bridges from generic bridges. PCI Parity
Error reporting seems to be broken on O2 Micro bridges, so do not
activate it. Should fix kern/38698, reported by Andreas Gustafsson.
Revision 1.168: download - view: text, markup, annotated - select for diffs
Thu May 22 01:22:17 2008 UTC (18 years, 6 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.167: preferred, colored
Changes since revision 1.167: +3 -3
lines
Use __arraycount().
Revision 1.165.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:52 2008 UTC (18 years, 7 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.165: preferred, colored
Changes since revision 1.165: +7 -7
lines
Sync with HEAD.
Revision 1.165.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 24 07:15:48 2008 UTC (18 years, 7 months ago) by keiichi
Branches: keiichi-mipv6
Diff to: previous 1.165: preferred, colored; next MAIN 1.166: preferred, colored
Changes since revision 1.165: +7 -7
lines
sync with head.
Revision 1.147.2.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:49 2008 UTC (18 years, 7 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.147.2.2: preferred, colored; branchpoint 1.147: preferred, colored; next MAIN 1.148: preferred, colored
Changes since revision 1.147.2.2: +142 -117
lines
sync with HEAD
Revision 1.124.2.9: download - view: text, markup, annotated - select for diffs
Mon Mar 17 09:15:12 2008 UTC (18 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.124.2.8: preferred, colored; next MAIN 1.125: preferred, colored
Changes since revision 1.124.2.8: +7 -7
lines
sync with head.
Revision 1.167: download - view: text, markup, annotated - select for diffs
Tue Mar 4 22:15:16 2008 UTC (18 years, 8 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base2,
yamt-pf42-base,
yamt-nfs-mp-base2,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
hpcarm-cleanup-nbase,
ad-socklock-base1
Branch point for: yamt-pf42,
yamt-nfs-mp,
wrstuden-revivesa
Diff to: previous 1.166: preferred, colored
Changes since revision 1.166: +3 -3
lines
Check device_has_power() instead of device_is_active() in pccbbintr(),
since the driver must acknowledge some interrupts while it leaves
the suspended state. This protects against an interrupt storm that
will hang the system while I resume rtw0 at cardbus1.
Revision 1.166: download - view: text, markup, annotated - select for diffs
Fri Feb 29 06:13:39 2008 UTC (18 years, 8 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.165: preferred, colored
Changes since revision 1.165: +6 -6
lines
Use PMF_FN_ARGS, PMF_FN_PROTO.
Revision 1.150.2.4: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:05:58 2008 UTC (18 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.150.2.3: preferred, colored; branchpoint 1.150: preferred, colored; next MAIN 1.151: preferred, colored
Changes since revision 1.150.2.3: +152 -119
lines
Sync with HEAD.
Revision 1.124.2.8: download - view: text, markup, annotated - select for diffs
Mon Feb 4 09:23:31 2008 UTC (18 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.124.2.7: preferred, colored
Changes since revision 1.124.2.7: +113 -81
lines
sync with head.
Revision 1.165: download - view: text, markup, annotated - select for diffs
Sat Feb 2 00:31:25 2008 UTC (18 years, 9 months ago) by dyoung
Branches: MAIN
CVS tags: nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
hpcarm-cleanup-base
Branch point for: mjf-devfs2,
keiichi-mipv6
Diff to: previous 1.164: preferred, colored
Changes since revision 1.164: +68 -37
lines
Fix a two races between the initialization code and cbb(4) interrupts:
establish the interrupt handler before enabling interrupts, so that
we will not get an interrupt storm that keeps the system from making
any progress. (We may have only been susceptible to the storm if
cbb(4) shared an interrupt with, say, uhci(4)). Also, finish
setting up the pcic_handle before enabling interrupts, so that the
Pcic_read() call in pccbbintr() will not jump to address 0!
Now, pccbb_intrinit() encapsulates all of the interrupt initialization.
Explicitly enable card-status changed (CSTSCHG) events.
Paranoia: ensure that writes to the socket event register (interrupt
acknowledgements) are flushed to the h/w by reading the register
(gross). We really need something like
bus_space_sync(BUS_SPACE_BARRIER_WRITE_BEFORE_INTERRUPT).
More paranoia: in pccbbintr(), if the device is inactive, get out.
Revision 1.164: download - view: text, markup, annotated - select for diffs
Fri Feb 1 21:13:44 2008 UTC (18 years, 9 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.163: preferred, colored
Changes since revision 1.163: +54 -53
lines
Use aprint_*_dev() and device_xname() instead of accessing dv_xname
directly.
Revision 1.124.2.7: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:44:07 2008 UTC (18 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.124.2.6: preferred, colored
Changes since revision 1.124.2.6: +148 -172
lines
sync with head
Revision 1.156.2.4: download - view: text, markup, annotated - select for diffs
Sat Jan 19 12:15:12 2008 UTC (18 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.156.2.3: preferred, colored; next MAIN 1.157: preferred, colored
Changes since revision 1.156.2.3: +26 -33
lines
Sync with HEAD
Revision 1.163: download - view: text, markup, annotated - select for diffs
Tue Jan 15 21:55:24 2008 UTC (18 years, 10 months ago) by christos
Branches: MAIN
CVS tags: bouyer-xeni386-nbase,
bouyer-xeni386-base
Diff to: previous 1.162: preferred, colored
Changes since revision 1.162: +2 -15
lines
Remove ricoh hack; FreeBSD does not seem to do it, and it was a remnant from
the branch. Things should work properly now.
Revision 1.162: download - view: text, markup, annotated - select for diffs
Mon Jan 14 06:12:13 2008 UTC (18 years, 10 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.161: preferred, colored
Changes since revision 1.161: +12 -12
lines
Use device_t, device_private().
Revision 1.161: download - view: text, markup, annotated - select for diffs
Mon Jan 14 03:01:41 2008 UTC (18 years, 10 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.160: preferred, colored
Changes since revision 1.160: +18 -12
lines
In pccbbdetach(), panic if interrupt handlers are still registered
after detaching children.
Use PCI_CB_MEMBASE0, PCI_CB_MEMLIMIT0, PCI_CB_IOBASE0, PCI_CB_IOLIMIT0
instead of magic numbers.
Revision 1.147.2.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:53:54 2008 UTC (18 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.147.2.1: preferred, colored; branchpoint 1.147: preferred, colored
Changes since revision 1.147.2.1: +234 -195
lines
sync with HEAD
Revision 1.156.2.3: download - view: text, markup, annotated - select for diffs
Tue Jan 8 22:11:13 2008 UTC (18 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.156.2.2: preferred, colored
Changes since revision 1.156.2.2: +14 -6
lines
Sync with HEAD
Revision 1.137.4.2: download - view: text, markup, annotated - select for diffs
Sun Jan 6 05:01:07 2008 UTC (18 years, 10 months ago) by wrstuden
Branches: wrstuden-fixsa
Diff to: previous 1.137.4.1: preferred, colored; branchpoint 1.137: preferred, colored; next MAIN 1.138: preferred, colored
Changes since revision 1.137.4.1: +7 -27
lines
Catch up to netbsd-4.0 release.
Revision 1.160: download - view: text, markup, annotated - select for diffs
Wed Jan 2 23:11:34 2008 UTC (18 years, 10 months ago) by dyoung
Branches: MAIN
CVS tags: matt-armv6-base
Diff to: previous 1.159: preferred, colored
Changes since revision 1.159: +16 -8
lines
Introduce a struct cardbus_chipset_tag, and make cardbus_chipset_tag_t
a pointer to that struct, so that we cannot assign pointers of
arbitrary type to cardbus_chipset_tag_t. Tweak cbb(4) to accomodate
this change.
Make Cardbus_conf_read() and Carbus_conf_write() pass the right
arguments to cardbus_functions->cardbus_conf_{read,write}() for a
change.
Let's hope this stops the crash in cardbus_function_enable() that
macallan@ reported to me.
Revision 1.156.2.2: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:54:50 2008 UTC (18 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.156.2.1: preferred, colored
Changes since revision 1.156.2.1: +58 -7
lines
Sync with HEAD
Revision 1.150.2.3: download - view: text, markup, annotated - select for diffs
Thu Dec 27 00:45:19 2007 UTC (18 years, 10 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.150.2.2: preferred, colored; branchpoint 1.150: preferred, colored
Changes since revision 1.150.2.2: +119 -144
lines
Sync with HEAD.
Revision 1.155.2.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 19:47:01 2007 UTC (18 years, 10 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.155: preferred, colored; next MAIN 1.156: preferred, colored
Changes since revision 1.155: +119 -144
lines
Sync with head.
Revision 1.159: download - view: text, markup, annotated - select for diffs
Thu Dec 20 20:48:24 2007 UTC (18 years, 11 months ago) by dyoung
Branches: MAIN
CVS tags: vmlocking2-base3
Diff to: previous 1.158: preferred, colored
Changes since revision 1.158: +4 -6
lines
Use LIST_FOREACH().
Revision 1.158: download - view: text, markup, annotated - select for diffs
Sun Dec 16 21:28:31 2007 UTC (18 years, 11 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.157: preferred, colored
Changes since revision 1.157: +58 -5
lines
Improve pci, cbb, cardslot, cardbus, and pcmcia to support detachment
of this entire device tree:
pci0 at mainbus0
elansc0 at pci0
gpio0 at elansc0
cbb0 at pci0
cardslot0 at cbb0
cardbus0 at cardslot0
pcmcia0 at cardslot0
cbb1 at pci0
cardslot1 at cbb1
cardbus1 at cardslot1
rtw0 at cardbus1
pcmcia1 at cardslot1
sip0 at pci0
nsphyter0 at sip0
sip1 at pci0
nsphyter1 at sip1
Whew!
Revision 1.156.2.1: download - view: text, markup, annotated - select for diffs
Thu Dec 13 21:55:51 2007 UTC (18 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.156: preferred, colored
Changes since revision 1.156: +8 -2
lines
Sync with HEAD
Revision 1.155.4.1: download - view: text, markup, annotated - select for diffs
Tue Dec 11 15:32:17 2007 UTC (18 years, 11 months ago) by yamt
Branches: yamt-kmem
Diff to: previous 1.155: preferred, colored; next MAIN 1.156: preferred, colored
Changes since revision 1.155: +61 -137
lines
sync with head.
Revision 1.157: download - view: text, markup, annotated - select for diffs
Tue Dec 11 11:11:22 2007 UTC (18 years, 11 months ago) by martin
Branches: MAIN
CVS tags: yamt-kmem-base3,
yamt-kmem-base2,
cube-autoconf-base,
cube-autoconf
Diff to: previous 1.156: preferred, colored
Changes since revision 1.156: +8 -2
lines
As a stopgap fix: disable a pci_conf_ access at offset 0x82 on archs
that would mind ;-) IMHO this access violates the PCI spec, so this
should be solved differently.
Revision 1.156: download - view: text, markup, annotated - select for diffs
Sun Dec 9 20:28:11 2007 UTC (18 years, 11 months ago) by jmcneill
Branches: MAIN
Branch point for: bouyer-xeni386
Diff to: previous 1.155: preferred, colored
Changes since revision 1.155: +56 -138
lines
Merge jmcneill-pm branch.
Revision 1.150.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:19:44 2007 UTC (18 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.150.2.1: preferred, colored; branchpoint 1.150: preferred, colored
Changes since revision 1.150.2.1: +67 -42
lines
Sync with HEAD.
Revision 1.145.6.8: download - view: text, markup, annotated - select for diffs
Sat Dec 8 16:21:30 2007 UTC (18 years, 11 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.145.6.7: preferred, colored; branchpoint 1.145: preferred, colored; next MAIN 1.146: preferred, colored
Changes since revision 1.145.6.7: +3 -3
lines
Rename pnp(9) -> pmf(9), as requested by many.
Revision 1.124.2.6: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:30:27 2007 UTC (18 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.124.2.5: preferred, colored
Changes since revision 1.124.2.5: +103 -47
lines
sync with head
Revision 1.145.6.7: download - view: text, markup, annotated - select for diffs
Sat Dec 1 05:42:31 2007 UTC (18 years, 11 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.145.6.6: preferred, colored; branchpoint 1.145: preferred, colored
Changes since revision 1.145.6.6: +16 -11
lines
Sync with HEAD.
Revision 1.155: download - view: text, markup, annotated - select for diffs
Sat Dec 1 05:41:53 2007 UTC (18 years, 11 months ago) by jmcneill
Branches: MAIN
CVS tags: yamt-kmem-base,
vmlocking2-base2,
vmlocking2-base1,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
jmcneill-pm-base
Branch point for: yamt-kmem,
vmlocking2
Diff to: previous 1.154: preferred, colored
Changes since revision 1.154: +16 -11
lines
aprintify
Revision 1.145.6.6: download - view: text, markup, annotated - select for diffs
Tue Nov 27 19:37:12 2007 UTC (18 years, 11 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.145.6.5: preferred, colored; branchpoint 1.145: preferred, colored
Changes since revision 1.145.6.5: +35 -30
lines
Sync with HEAD. amd64 Xen support needs testing.
Revision 1.154: download - view: text, markup, annotated - select for diffs
Sat Nov 24 07:59:21 2007 UTC (18 years, 11 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.153: preferred, colored
Changes since revision 1.153: +26 -27
lines
Use TAILQ_FOREACH() to search window lists. Do not insert/remove
windows inside the loop.
Revision 1.153: download - view: text, markup, annotated - select for diffs
Sat Nov 24 07:53:52 2007 UTC (18 years, 11 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.152: preferred, colored
Changes since revision 1.152: +11 -5
lines
Use the PCI #define for the secondary bridge reset instead of using
the duplicate Cardbus #define. Write a note to self: pccbb interrupts
need more work. No functional change intended.
Revision 1.145.6.5: download - view: text, markup, annotated - select for diffs
Wed Nov 21 21:55:35 2007 UTC (18 years, 11 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.145.6.4: preferred, colored; branchpoint 1.145: preferred, colored
Changes since revision 1.145.6.4: +56 -10
lines
Sync with HEAD.
Revision 1.147.6.4: download - view: text, markup, annotated - select for diffs
Wed Nov 21 21:19:36 2007 UTC (18 years, 11 months ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.147.6.3: preferred, colored; branchpoint 1.147: preferred, colored; next MAIN 1.148: preferred, colored
Changes since revision 1.147.6.3: +20 -5
lines
Sync with HEAD
Revision 1.152: download - view: text, markup, annotated - select for diffs
Wed Nov 21 02:07:09 2007 UTC (19 years ago) by dyoung
Branches: MAIN
CVS tags: bouyer-xenamd64-base2,
bouyer-xenamd64-base
Diff to: previous 1.151: preferred, colored
Changes since revision 1.151: +20 -5
lines
Sometimes a change of CSTSCHG# accompanies the first interrupt from
an Atheros WLAN. That generates a CB_SOCKET_EVENT_CSTS event on
the bridge. The event isn't interesting to pccbb(4), so we used
to ignore the interrupt. Now, let the child devices try to handle
the interrupt, instead. The Atheros NIC produces interrupts more
reliably, now: used to be that it would only interrupt if the driver
avoided powering down the NIC's cardslot, and then the NIC would
only work after it was reset a second time.
Revision 1.150.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 19 00:48:13 2007 UTC (19 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.150: preferred, colored
Changes since revision 1.150: +38 -7
lines
Sync with HEAD.
Revision 1.147.6.3: download - view: text, markup, annotated - select for diffs
Sun Nov 18 19:35:36 2007 UTC (19 years ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.147.6.2: preferred, colored; branchpoint 1.147: preferred, colored
Changes since revision 1.147.6.2: +36 -5
lines
Sync with HEAD
Revision 1.151: download - view: text, markup, annotated - select for diffs
Fri Nov 16 18:36:51 2007 UTC (19 years ago) by dyoung
Branches: MAIN
Diff to: previous 1.150: preferred, colored
Changes since revision 1.150: +38 -7
lines
Improve Cardbus performance, error handling, and error reporting.
Let the TI1420 PCI-Cardbus bridge do burst reads from the primary
(PCI) bus. This ought to improve Tx performance on Cardbus NICs.
This optimization may apply to other TI bridges, but I only have
a datasheet for the TI1420. :-/
Activate PCI Parity Error and System Error reporting on PCI-Cardbus
bridges.
To avoid data destruction, set the Master Abort mode to 1. Stops
the bridge from silently discarding writes from the secondary bus
to the primary bus (Cardbus writes to PCI). Also, stops the bridge
from fulfilling a read by a bus master on the secondary bus that
failed on the primary bus with 0xffffffff (Cardbus reads from PCI).
Now the bus will indicate an error condition (SERR) instead of
silently destroying/corrupting data.
Forward system error indications from the secondary to the primary
bus. Detect parity errors on the secondary.
Set a Cardbus card's Latency Timer to something reasonable, according
to the Cardbus card's Minimum Grant and the bandwidth available on
the PCI bus. Restore the Latency Timer when re-enabling a card
(e.g., after power reactivation).
Revision 1.147.6.2: download - view: text, markup, annotated - select for diffs
Tue Nov 13 16:01:23 2007 UTC (19 years ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.147.6.1: preferred, colored; branchpoint 1.147: preferred, colored
Changes since revision 1.147.6.1: +0 -21
lines
Sync with HEAD
Revision 1.147.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:29:22 2007 UTC (19 years ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.147: preferred, colored
Changes since revision 1.147: +9 -29
lines
sync with HEAD
Revision 1.145.6.4: download - view: text, markup, annotated - select for diffs
Tue Nov 6 14:27:27 2007 UTC (19 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.145.6.3: preferred, colored; branchpoint 1.145: preferred, colored
Changes since revision 1.145.6.3: +56 -138
lines
Refactor PNP API:
- Make suspend/resume directly a device functionality. It consists of
three layers (class logic, device logic, bus logic), all of them being
optional. This replaces D0/D3 transitions.
- device_is_active returns true if the device was not disabled and was
not suspended (even partially), device_is_enabled returns true if the
device was enabled.
- Change pnp_global_transition into pnp_system_suspend and
pnp_system_resume. Before running any suspend/resume handlers, check
that all currently attached devices support power management and bail
out otherwise. The latter is not done for the shutdown/panic case.
- Make the former bus-specific generic network handlers a class handler.
- Make PNP message like volume up/down/toogle PNP events. Each device
can register what events they are interested in and whether the handler
should be global or not.
- Introduce device_active API for devices to mark themselve in use from
either the system or the device. Use this to implement the idle handling
for audio and input devices. This is intended to replace most ad-hoc
watchdogs as well.
- Fix somes situations in which audio resume would lose mixer settings.
- Make USB host controllers better deal with suspend in the light of
shared interrupts.
- Flush filesystem cache on suspend.
- Flush disk caches on suspend. Put ATA disks into standby on suspend as
well.
- Adopt drivers to use the new PNP API.
- Fix a critical bug in the generic cardbus layer that made D0->D3
break.
- Fix ral(4) to set if_stop.
- Convert cbb(4) to the new PNP API.
- Apply the PCI Express SCI fix on resume again.
Revision 1.145.6.3: download - view: text, markup, annotated - select for diffs
Sun Oct 28 20:11:04 2007 UTC (19 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.145.6.2: preferred, colored; branchpoint 1.145: preferred, colored
Changes since revision 1.145.6.2: +2 -23
lines
Sync with HEAD.
Revision 1.124.2.5: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:33:22 2007 UTC (19 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.124.2.4: preferred, colored
Changes since revision 1.124.2.4: +9 -29
lines
sync with head.
Revision 1.137.2.3: download - view: text, markup, annotated - select for diffs
Fri Oct 26 23:20:19 2007 UTC (19 years ago) by xtraeme
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
matt-nb4-arm-base,
matt-nb4-arm
Diff to: previous 1.137.2.2: preferred, colored; branchpoint 1.137: preferred, colored; next MAIN 1.138: preferred, colored
Changes since revision 1.137.2.2: +2 -23
lines
Pull up following revision(s) (requested by joerg in ticket #949):
sys/dev/pci/pccbb.c: revision 1.150
Remove a completely bogus check if cbb has a valid PCI interrupt routed.
If you have a system where it doesn't get one and you still want pcic,
you can just disable cbb. This check is invalid as soon as the PCI
interrupt register is not used and broke on my Dell Latitude for that
reason.
Revision 1.137.2.2: download - view: text, markup, annotated - select for diffs
Fri Oct 26 23:14:57 2007 UTC (19 years ago) by xtraeme
Branches: netbsd-4
Diff to: previous 1.137.2.1: preferred, colored; branchpoint 1.137: preferred, colored
Changes since revision 1.137.2.1: +7 -6
lines
Pull up following revision(s) (requested by joerg in ticket #942):
sys/dev/pci/pccbb.c: revision 1.149
Correctly initialise sc_insert_ch and switch to
callout_setfunc/callout_schedule.
Revision 1.145.6.2: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:46:42 2007 UTC (19 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.145.6.1: preferred, colored; branchpoint 1.145: preferred, colored
Changes since revision 1.145.6.1: +9 -8
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.147.6.1: download - view: text, markup, annotated - select for diffs
Thu Oct 25 22:39:14 2007 UTC (19 years ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.147: preferred, colored
Changes since revision 1.147: +9 -8
lines
Sync with HEAD.
Revision 1.150: download - view: text, markup, annotated - select for diffs
Thu Oct 25 13:49:06 2007 UTC (19 years ago) by joerg
Branches: MAIN
CVS tags: jmcneill-base
Branch point for: mjf-devfs
Diff to: previous 1.149: preferred, colored
Changes since revision 1.149: +2 -23
lines
Remove a completely bogus check if cbb has a valid PCI interrupt routed.
If you have a system where it doesn't get one and you still want pcic,
you can just disable cbb. This check is invalid as soon as the PCI
interrupt register is not used and broke on my Dell Latitude for that
reason.
Revision 1.144.6.2: download - view: text, markup, annotated - select for diffs
Tue Oct 23 20:09:11 2007 UTC (19 years ago) by ad
Branches: vmlocking
Diff to: previous 1.144.6.1: preferred, colored; branchpoint 1.144: preferred, colored; next MAIN 1.145: preferred, colored
Changes since revision 1.144.6.1: +4 -4
lines
Sync with head.
Revision 1.149: download - view: text, markup, annotated - select for diffs
Mon Oct 22 14:03:51 2007 UTC (19 years ago) by joerg
Branches: MAIN
Diff to: previous 1.148: preferred, colored
Changes since revision 1.148: +7 -6
lines
Correctly initialise sc_insert_ch and switch to
callout_setfunc/callout_schedule.
Revision 1.148: download - view: text, markup, annotated - select for diffs
Fri Oct 19 12:00:53 2007 UTC (19 years, 1 month ago) by ad
Branches: MAIN
Diff to: previous 1.147: preferred, colored
Changes since revision 1.147: +4 -4
lines
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
Revision 1.124.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:37:14 2007 UTC (19 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.124.2.3: preferred, colored
Changes since revision 1.124.2.3: +79 -78
lines
sync with head.
Revision 1.137.4.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 07:04:37 2007 UTC (19 years, 2 months ago) by wrstuden
Branches: wrstuden-fixsa
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +175 -306
lines
Sync w/ NetBSD-4-RC_1
Revision 1.144.6.1: download - view: text, markup, annotated - select for diffs
Mon Aug 20 18:37:19 2007 UTC (19 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.144: preferred, colored
Changes since revision 1.144: +79 -78
lines
Sync with HEAD.
Revision 1.145.6.1: download - view: text, markup, annotated - select for diffs
Thu Aug 16 11:03:12 2007 UTC (19 years, 3 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.145: preferred, colored
Changes since revision 1.145: +77 -75
lines
Sync with HEAD.
Revision 1.145.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 15 13:48:34 2007 UTC (19 years, 3 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.145: preferred, colored; next MAIN 1.146: preferred, colored
Changes since revision 1.145: +77 -75
lines
Sync with HEAD.
Revision 1.147: download - view: text, markup, annotated - select for diffs
Sat Aug 11 00:45:35 2007 UTC (19 years, 3 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
vmlocking-base,
nick-csl-alignment-base5
Branch point for: matt-armv6,
bouyer-xenamd64
Diff to: previous 1.146: preferred, colored
Changes since revision 1.146: +5 -5
lines
Read the PCI latency timer from the right register, using the right
macro.
Revision 1.146: download - view: text, markup, annotated - select for diffs
Sat Aug 11 00:31:04 2007 UTC (19 years, 3 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.145: preferred, colored
Changes since revision 1.145: +74 -72
lines
Make pccbb(4) use more PCI configuration register definitions,
especially the Bridge Control Register definition, instead of
rolling its own.
As we read/modify/write configuration registers, use a variable
that is named for the register we're r/m/w'ing, instead of using
the variable 'reg' over and over. This helps both a human reader
verify that we're not reading register X, modifying it, and writing
back to register Y (oops); the compiler can help a little by warning
that a variable is used before it is initialized.
Revision 1.137.2.1: download - view: text, markup, annotated - select for diffs
Mon Jul 30 21:52:30 2007 UTC (19 years, 3 months ago) by liamjfoy
Branches: netbsd-4
CVS tags: netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +175 -306
lines
Pull up following revision(s) (requested by dyoung in ticket #739):
sys/dev/pci/pccbb.c: revision 1.140
sys/dev/pci/pccbb.c: revision 1.141
sys/dev/pci/pccbb.c: revision 1.142
sys/dev/pci/pccbb.c: revision 1.143
sys/dev/pci/pccbb.c: revision 1.144
sys/dev/pci/pccbbvar.h: revision 1.28
sys/dev/pci/pcireg.h: revision 1.53
sys/dev/pci/pccbb.c: revision 1.139
Name magic numbers PCI_PMCSR_PME_EN and PCI_PMCSR.
Fix grammar in comment. From Patrick Welche.
Use the right subroutine name for the debug message.
Convert the rather long and backslash-ridden DELAY_MS macro to a
much shorter static subroutine, delay_ms().
Cosmetic: KNF indentation, curly braces, and argument declarations.
sc_pwrcycle is shared between the interrupt handler and Cardbus
event thread, so make it volatile.
Fix a bug in Cardbus power activation.
Most Cardbus bridges supported by pccbb(4) fire a power-cycle
interrupt when the power state of a cardslot changes from 'off' to
'on'. TI bridges fire a power-cycle interrupt on both on->off and
off->on changes.
When pccbb_power() powered-down a cardslot, it did not wait around
for the power-cycle interrupt. When pccbb_power() powered-up a
cardslot, it did wait for the interrupt. If a pccbb_power(UP)
followed a pccbb_power(DOWN) very closely, pccbb_power() used to
interpret the power-cycle interrupt for the up->down transition as
"power-up complete," read the power-state bit and, finding that
power had NOT been activated, complain, "cbb0: power on failed?"
Then pccbb_power() exited before power-activation was complete,
falsely indicating that the power-activation *was* complete. After
that, a driver attach/enable routine would blithely configure a
card that was not fully powered-up. An operator who ran a command
such as 'ifconfig rtw0 down up' or 'ifconfig ath0 down up' would
read 'cbb0: power on failed?' in the system log, and their NIC
would misbehave.
This excerpt from a comment in the source should suffice to explain
how I fixed the bug,
/*
* Wait as long as 200ms for a power-cycle interrupt. If
* interrupts are enabled, but the socket has already
* changed to the desired status, keep waiting for the
* interrupt. "Consuming" the interrupt in this way keeps
* the interrupt from prematurely waking some subsequent
* pccbb_power call.
And this explains why this patch will work for Ricoh bridges that
do not fire an interrupt on the on->off transition:
* XXX Not every bridge interrupts on the ->OFF transition.
* XXX That's ok, we will time-out after 200ms.
*
* XXX The power cycle event will never happen when attaching
* XXX a 16-bit card. That's ok, we will time-out after
* XXX 200ms.
*/
M. Warner Losh and Charles M. Hannum provided valuable input on
this patch.
Revision 1.145: download - view: text, markup, annotated - select for diffs
Mon Jul 16 14:36:01 2007 UTC (19 years, 4 months ago) by christos
Branches: MAIN
CVS tags: nick-csl-alignment-base,
matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Branch point for: nick-csl-alignment,
jmcneill-pm
Diff to: previous 1.144: preferred, colored
Changes since revision 1.144: +4 -5
lines
PR/36652: Dave Barnes: cbb0: Bad Vcc status once set will not clear
-ThinkPad 570 / PC: Don't write to SOCKET_STAT, which is read-only,
instead write to SOCKET_FORCE.
Revision 1.124.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:10:31 2007 UTC (19 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.124.2.2: preferred, colored
Changes since revision 1.124.2.2: +174 -305
lines
sync with head.
Revision 1.133.4.4: download - view: text, markup, annotated - select for diffs
Fri Feb 9 21:03:51 2007 UTC (19 years, 9 months ago) by ad
Branches: newlock2
Diff to: previous 1.133.4.3: preferred, colored; branchpoint 1.133: preferred, colored; next MAIN 1.134: preferred, colored
Changes since revision 1.133.4.3: +169 -300
lines
Sync with HEAD.
Revision 1.144: download - view: text, markup, annotated - select for diffs
Sun Feb 4 21:04:37 2007 UTC (19 years, 9 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-idlelwp-base8,
yamt-idlelwp,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup,
post-newlock2-merge,
newlock2-nbase,
newlock2-base,
mjf-ufs-trans-base,
mjf-ufs-trans,
ad-audiomp-base,
ad-audiomp
Branch point for: vmlocking
Diff to: previous 1.143: preferred, colored
Changes since revision 1.143: +51 -36
lines
Fix a bug in Cardbus power activation.
Most Cardbus bridges supported by pccbb(4) fire a power-cycle
interrupt when the power state of a cardslot changes from 'off' to
'on'. TI bridges fire a power-cycle interrupt on both on->off and
off->on changes.
When pccbb_power() powered-down a cardslot, it did not wait around
for the power-cycle interrupt. When pccbb_power() powered-up a
cardslot, it did wait for the interrupt. If a pccbb_power(UP)
followed a pccbb_power(DOWN) very closely, pccbb_power() used to
interpret the power-cycle interrupt for the up->down transition as
"power-up complete," read the power-state bit and, finding that
power had NOT been activated, complain, "cbb0: power on failed?"
Then pccbb_power() exited before power-activation was complete,
falsely indicating that the power-activation *was* complete. After
that, a driver attach/enable routine would blithely configure a
card that was not fully powered-up. An operator who ran a command
such as 'ifconfig rtw0 down up' or 'ifconfig ath0 down up' would
read 'cbb0: power on failed?' in the system log, and their NIC
would misbehave.
This excerpt from a comment in the source should suffice to explain
how I fixed the bug,
/*
* Wait as long as 200ms for a power-cycle interrupt. If
* interrupts are enabled, but the socket has already
* changed to the desired status, keep waiting for the
* interrupt. "Consuming" the interrupt in this way keeps
* the interrupt from prematurely waking some subsequent
* pccbb_power call.
And this explains why this patch will work for Ricoh bridges that
do not fire an interrupt on the on->off transition:
* XXX Not every bridge interrupts on the ->OFF transition.
* XXX That's ok, we will time-out after 200ms.
*
* XXX The power cycle event will never happen when attaching
* XXX a 16-bit card. That's ok, we will time-out after
* XXX 200ms.
*/
M. Warner Losh and Charles M. Hannum provided valuable input on
this patch.
Revision 1.143: download - view: text, markup, annotated - select for diffs
Sun Feb 4 05:34:38 2007 UTC (19 years, 9 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.142: preferred, colored
Changes since revision 1.142: +108 -249
lines
Cosmetic: KNF indentation, curly braces, and argument declarations.
Revision 1.142: download - view: text, markup, annotated - select for diffs
Sun Feb 4 05:08:18 2007 UTC (19 years, 9 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +14 -19
lines
Convert the rather long and backslash-ridden DELAY_MS macro to a
much shorter static subroutine, delay_ms().
Revision 1.141: download - view: text, markup, annotated - select for diffs
Sun Feb 4 04:59:39 2007 UTC (19 years, 9 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.140: preferred, colored
Changes since revision 1.140: +3 -3
lines
Use the right subroutine name for the debug message.
Revision 1.133.4.3: download - view: text, markup, annotated - select for diffs
Thu Feb 1 08:48:23 2007 UTC (19 years, 9 months ago) by ad
Branches: newlock2
Diff to: previous 1.133.4.2: preferred, colored; branchpoint 1.133: preferred, colored
Changes since revision 1.133.4.2: +8 -8
lines
Sync with head.
Revision 1.140: download - view: text, markup, annotated - select for diffs
Fri Jan 26 02:27:29 2007 UTC (19 years, 9 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.139: preferred, colored
Changes since revision 1.139: +4 -4
lines
Fix grammar in comment. From Patrick Welche.
Revision 1.139: download - view: text, markup, annotated - select for diffs
Fri Jan 26 02:04:44 2007 UTC (19 years, 9 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +6 -6
lines
Name magic numbers PCI_PMCSR_PME_EN and PCI_PMCSR.
Revision 1.133.4.2: download - view: text, markup, annotated - select for diffs
Fri Jan 12 00:57:42 2007 UTC (19 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.133.4.1: preferred, colored; branchpoint 1.133: preferred, colored
Changes since revision 1.133.4.1: +6 -38
lines
Sync with head.
Revision 1.124.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:48:46 2006 UTC (19 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.124.2.1: preferred, colored
Changes since revision 1.124.2.1: +58 -89
lines
sync with head.
Revision 1.138: download - view: text, markup, annotated - select for diffs
Thu Dec 21 15:55:25 2006 UTC (19 years, 11 months ago) by yamt
Branches: MAIN
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +6 -38
lines
merge yamt-splraiseipl branch.
- finish implementing splraiseipl (and makeiplcookie).
http://mail-index.NetBSD.org/tech-kern/2006/07/01/0000.html
- complete workqueue(9) and fix its ipl problem, which is reported
to cause audio skipping.
- fix netbt (at least compilation problems) for some ports.
- fix PR/33218.
Revision 1.133.6.3: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:17:45 2006 UTC (19 years, 11 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.133.6.2: preferred, colored; branchpoint 1.133: preferred, colored; next MAIN 1.134: preferred, colored
Changes since revision 1.133.6.2: +9 -9
lines
sync with head.
Revision 1.133.4.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:34:31 2006 UTC (20 years ago) by ad
Branches: newlock2
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +22 -33
lines
Sync with head.
Revision 1.137: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:33:09 2006 UTC (20 years ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
netbsd-4-base
Branch point for: wrstuden-fixsa,
netbsd-4
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +8 -8
lines
__unused removal on arguments; approved by core.
Revision 1.133.6.2: download - view: text, markup, annotated - select for diffs
Thu Nov 2 17:52:46 2006 UTC (20 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.133.6.1: preferred, colored; branchpoint 1.133: preferred, colored
Changes since revision 1.133.6.1: +6 -38
lines
use splraiseipl.
Revision 1.136: download - view: text, markup, annotated - select for diffs
Tue Oct 24 14:16:39 2006 UTC (20 years ago) by itohy
Branches: MAIN
Diff to: previous 1.135: preferred, colored
Changes since revision 1.135: +3 -3
lines
3c575CT Ethernet card requires a little more time during reset
and after reset, or the card won't be detected on some machines.
Change the time from 40ms to 50ms.
XXX The card doesn't work correctly yet.
Revision 1.133.6.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:06:18 2006 UTC (20 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +21 -32
lines
sync with head
Revision 1.135: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:31:32 2006 UTC (20 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +20 -31
lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
Revision 1.134: download - view: text, markup, annotated - select for diffs
Sun Sep 24 03:53:09 2006 UTC (20 years, 1 month ago) by jmcneill
Branches: MAIN
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +3 -3
lines
Add "name" parameter to powerhook_establish, to aid debugging. No objections
on tech-kern@
Revision 1.127.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:52:18 2006 UTC (20 years, 2 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.127: preferred, colored; next MAIN 1.128: preferred, colored
Changes since revision 1.127: +46 -25
lines
sync with head
Revision 1.127.8.3: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:44:25 2006 UTC (20 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.127.8.2: preferred, colored; branchpoint 1.127: preferred, colored; next MAIN 1.128: preferred, colored
Changes since revision 1.127.8.2: +34 -22
lines
sync with head
Revision 1.128.4.1: download - view: text, markup, annotated - select for diffs
Thu Jul 13 17:49:27 2006 UTC (20 years, 4 months ago) by gdamore
Branches: gdamore-uart
Diff to: previous 1.128: preferred, colored; next MAIN 1.129: preferred, colored
Changes since revision 1.128: +45 -24
lines
Merge from HEAD.
Revision 1.133: download - view: text, markup, annotated - select for diffs
Sat Jul 8 23:02:55 2006 UTC (20 years, 4 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
rpaulo-netinet-merge-pcb-base,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-splraiseipl,
newlock2
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +21 -15
lines
- Tidy up some debugging/diagnostic messages.
- Add a delay for the topic95b after we power on. It makes things work without
CBB_DEBUG on!
Revision 1.132: download - view: text, markup, annotated - select for diffs
Sat Jul 8 20:20:27 2006 UTC (20 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +13 -6
lines
- all the polling code is stale and broken. Mention it.
- the topic95B bridge does not set CB_SOCKET_STAT_PWRCYCLE
- put back the delay code that was removed *again*.
This makes my libretto 100CT work again.
Revision 1.131: download - view: text, markup, annotated - select for diffs
Tue Jul 4 00:47:47 2006 UTC (20 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +3 -3
lines
fix typo
Revision 1.130: download - view: text, markup, annotated - select for diffs
Tue Jul 4 00:30:23 2006 UTC (20 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +4 -5
lines
Apply fvdl's acpi pci interrupt configuration code.
- MPACPI is no more.
- MPACPI_SCANPCI -> ACPI_SCANPCI
Revision 1.127.8.2: download - view: text, markup, annotated - select for diffs
Mon Jun 26 12:51:22 2006 UTC (20 years, 4 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.127.8.1: preferred, colored; branchpoint 1.127: preferred, colored
Changes since revision 1.127.8.1: +13 -4
lines
sync with head.
Revision 1.124.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:05:05 2006 UTC (20 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +23 -13
lines
sync with head.
Revision 1.128.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 19 04:01:36 2006 UTC (20 years, 5 months ago) by chap
Branches: chap-midi
Diff to: previous 1.128: preferred, colored; next MAIN 1.129: preferred, colored
Changes since revision 1.128: +13 -4
lines
Sync with head.
Revision 1.129: download - view: text, markup, annotated - select for diffs
Sat Jun 17 17:06:51 2006 UTC (20 years, 5 months ago) by jmcneill
Branches: MAIN
CVS tags: yamt-pdpolicy-base6,
chap-midi-nbase,
chap-midi-base
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +13 -4
lines
For Ricoh 5c47x class controllers, restore the "misc control" PCI config
register on resume.
Revision 1.127.12.1: download - view: text, markup, annotated - select for diffs
Wed May 24 15:50:28 2006 UTC (20 years, 5 months ago) by tron
Branches: peter-altq
Diff to: previous 1.127: preferred, colored; next MAIN 1.128: preferred, colored
Changes since revision 1.127: +3 -3
lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
Revision 1.127.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:39:15 2006 UTC (20 years, 7 months ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.127: preferred, colored; next MAIN 1.128: preferred, colored
Changes since revision 1.127: +3 -3
lines
Sync with head.
Revision 1.127.10.1: download - view: text, markup, annotated - select for diffs
Wed Apr 19 03:25:36 2006 UTC (20 years, 7 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.127: preferred, colored; next MAIN 1.128: preferred, colored
Changes since revision 1.127: +3 -3
lines
sync with head.
Revision 1.127.8.1: download - view: text, markup, annotated - select for diffs
Tue Apr 11 11:55:17 2006 UTC (20 years, 7 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +3 -3
lines
sync with head
Revision 1.128: download - view: text, markup, annotated - select for diffs
Wed Apr 5 22:16:42 2006 UTC (20 years, 7 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-pdpolicy-base5,
yamt-pdpolicy-base4,
simonb-timecounters-base,
gdamore-uart-base,
elad-kernelauth-base
Branch point for: gdamore-uart,
chap-midi
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +3 -3
lines
Fix typo in comment, s/will be never/will never/.
Revision 1.117.2.2: download - view: text, markup, annotated - select for diffs
Sat Jan 21 06:08:50 2006 UTC (20 years, 10 months ago) by snj
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.117.2.1: preferred, colored; branchpoint 1.117: preferred, colored; next MAIN 1.118: preferred, colored
Changes since revision 1.117.2.1: +4 -3
lines
Pull up following revision(s) (requested by uwe in ticket #1120):
sys/dev/pci/pccbb.c: revision 1.127
Use aprint_debug() instead of printf() for obvious debug statement.
Revision 1.127: download - view: text, markup, annotated - select for diffs
Sun Dec 18 11:04:00 2005 UTC (20 years, 11 months ago) by sekiya
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-pdpolicy-base3,
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.126: preferred, colored
Changes since revision 1.126: +6 -5
lines
Use aprint_debug() instead of printf() for obvious debug statement.
Revision 1.126: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:22:50 2005 UTC (20 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +2 -2
lines
merge ktrace-lwp.
Revision 1.90.2.8: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:06:02 2005 UTC (21 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.90.2.7: preferred, colored; next MAIN 1.91: preferred, colored
Changes since revision 1.90.2.7: +29 -18
lines
Sync with HEAD. Here we go again...
Revision 1.125: download - view: text, markup, annotated - select for diffs
Fri Sep 9 14:50:58 2005 UTC (21 years, 2 months ago) by drochner
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
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +7 -7
lines
remove the useless (always 0) device number from cardbus driver state,
autoconf attach structures and configuration cycle functions
(just leave the kernel configuration attribute for now to avoid breaking
config(1) files)
Revision 1.124: download - view: text, markup, annotated - select for diffs
Thu Jun 23 14:20:23 2005 UTC (21 years, 4 months ago) by wiz
Branches: MAIN
Branch point for: yamt-lazymbuf
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +3 -3
lines
s/PCIBIOS_FIXUP/PCI_FIXUP/ in printf, from Patrick Welche in PR 30583.
Revision 1.123: download - view: text, markup, annotated - select for diffs
Wed Jun 22 22:57:17 2005 UTC (21 years, 4 months ago) by sekiya
Branches: MAIN
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +2 -3
lines
Oops, a unilateral DEBUG define crept in with my last commit.
Revision 1.122: download - view: text, markup, annotated - select for diffs
Mon Jun 20 09:18:36 2005 UTC (21 years, 5 months ago) by sekiya
Branches: MAIN
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +15 -3
lines
Don't abort the attach if we are routing interrupts through the ioapic, there
Revision 1.121: download - view: text, markup, annotated - select for diffs
Wed Jun 1 09:10:57 2005 UTC (21 years, 5 months ago) by sekiya
Branches: MAIN
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +4 -4
lines
Fix compilation problem when CBB_DEBUG is defined.
Revision 1.120: download - view: text, markup, annotated - select for diffs
Wed Jun 1 08:39:32 2005 UTC (21 years, 5 months ago) by sekiya
Branches: MAIN
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +4 -4
lines
"resister" -> "register"
Revision 1.119: download - view: text, markup, annotated - select for diffs
Mon May 30 04:35:22 2005 UTC (21 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +7 -7
lines
- const poisoning
- avoid variable shadowing.
Revision 1.112.2.2: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:29:07 2005 UTC (21 years, 6 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.112.2.1: preferred, colored; branchpoint 1.112: preferred, colored; next MAIN 1.113: preferred, colored
Changes since revision 1.112.2.1: +3474 -0
lines
sync with -current
Revision 1.90.2.7: download - view: text, markup, annotated - select for diffs
Fri Apr 1 14:30:10 2005 UTC (21 years, 7 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.90.2.6: preferred, colored
Changes since revision 1.90.2.6: +19 -10
lines
Sync with HEAD.
Revision 1.117.2.1: download - view: text, markup, annotated - select for diffs
Sun Mar 27 16:33:48 2005 UTC (21 years, 7 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.117: preferred, colored
Changes since revision 1.117: +19 -10
lines
Pull up revision 1.118 (requested by christos in ticket #64):
PR/29600: YAMAMOTO Takashi: cbb hangs on boot. From the PR:
It seems that we never get a power interrupt for 16 bit cards. The tsleep
has been changed to wait for 200ms maximum, before giving up instead of
waiting forever. XXX: Maybe that is too small for some laptops?
Revision 1.112.4.3: download - view: text, markup, annotated - select for diffs
Sat Mar 26 18:19:19 2005 UTC (21 years, 7 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.112.4.2: preferred, colored; branchpoint 1.112: preferred, colored; next MAIN 1.113: preferred, colored
Changes since revision 1.112.4.2: +19 -10
lines
sync with head.
Revision 1.118: download - view: text, markup, annotated - select for diffs
Wed Mar 23 20:53:19 2005 UTC (21 years, 7 months ago) by christos
Branches: MAIN
CVS tags: yamt-km-base4,
kent-audio2-base
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +19 -10
lines
PR/29600: YAMAMOTO Takashi: cbb hangs on boot. From the PR:
It seems that we never get a power interrupt for 16 bit cards. The tsleep
has been changed to wait for 200ms maximum, before giving up instead of
waiting forever. XXX: Maybe that is too small for some laptops?
Revision 1.112.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:35:11 2005 UTC (21 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.112.4.1: preferred, colored; branchpoint 1.112: preferred, colored
Changes since revision 1.112.4.1: +19 -19
lines
sync with head. xen and whitespace. xen part is not finished.
Revision 1.90.2.6: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:45:21 2005 UTC (21 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.90.2.5: preferred, colored
Changes since revision 1.90.2.5: +19 -19
lines
Sync with HEAD.
Hi Perry!
Revision 1.117: download - view: text, markup, annotated - select for diffs
Sun Feb 27 00:27:33 2005 UTC (21 years, 8 months ago) by perry
Branches: MAIN
CVS tags: yamt-km-base3,
netbsd-3-base
Branch point for: netbsd-3
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +19 -19
lines
nuke trailing whitespace
Revision 1.112.4.1: download - view: text, markup, annotated - select for diffs
Sat Feb 12 18:17:47 2005 UTC (21 years, 9 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +101 -100
lines
sync with head.
Revision 1.90.2.5: download - view: text, markup, annotated - select for diffs
Fri Feb 4 11:46:38 2005 UTC (21 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.90.2.4: preferred, colored
Changes since revision 1.90.2.4: +101 -100
lines
Sync with HEAD.
Revision 1.116: download - view: text, markup, annotated - select for diffs
Fri Feb 4 02:10:45 2005 UTC (21 years, 9 months ago) by perry
Branches: MAIN
CVS tags: yamt-km-base2
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +96 -100
lines
de-__P
Revision 1.115: download - view: text, markup, annotated - select for diffs
Thu Jan 27 03:03:33 2005 UTC (21 years, 9 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +3 -3
lines
Fix typo.
Revision 1.114: download - view: text, markup, annotated - select for diffs
Thu Jan 27 02:58:52 2005 UTC (21 years, 9 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +4 -3
lines
Don't restore PCI configuration state if the chip isn't in D0, from
Kentaro A. Kurahone.
Revision 1.113: download - view: text, markup, annotated - select for diffs
Thu Jan 27 02:44:59 2005 UTC (21 years, 9 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +6 -2
lines
Capture PCI configuration state on suspend and restore it on resume, from
Kentaro A. Kurahone.
Revision 1.90.2.4: download - view: text, markup, annotated - select for diffs
Mon Jan 17 19:31:25 2005 UTC (21 years, 10 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.90.2.3: preferred, colored
Changes since revision 1.90.2.3: +39 -14
lines
Sync with HEAD.
Revision 1.112.2.1
Sun Jan 16 08:56:29 2005 UTC (21 years, 10 months ago) by kent
Branches: kent-audio2
FILE REMOVED
Changes since revision 1.112: +0 -3464
lines
file pccbb.c was added on branch kent-audio2 on 2005-04-29 11:29:07 +0000
Revision 1.112: download - view: text, markup, annotated - select for diffs
Sun Jan 16 08:56:29 2005 UTC (21 years, 10 months ago) by mycroft
Branches: MAIN
CVS tags: yamt-km-base
Branch point for: yamt-km,
kent-audio2
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +10 -2
lines
Just to be absolutely correct, wait an additional 1ms after the "power cycle"
event, to cover the RESET Width (Tw (RESET)).
Revision 1.111: download - view: text, markup, annotated - select for diffs
Sun Jan 16 08:51:55 2005 UTC (21 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +37 -20
lines
Christos's crappy Libretto 100CT has an extremely long ramp for socket Vcc
(violating the PC Card spec), so... use the "power cycle" socket event to
determine when we've reached Vcc before proceeding, rather than using a fixed
amount of time. This has the double advantage that it makes the card attach
time even shorter on sane systems -- the minimum is now ~38ms on my i8500
rather than 222ms.
Probably a similar change should be made to pcic, but it was hard enough
figuring out whether it would work with pccbb. The chip specs suck.
For now, I'm leaving in a couple of additional printf()s in the hope that I
will get some interesting data from them.
Revision 1.90.2.3: download - view: text, markup, annotated - select for diffs
Wed Aug 25 06:58:06 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.90.2.2: preferred, colored
Changes since revision 1.90.2.2: +29 -51
lines
Sync with HEAD.
Revision 1.110: download - view: text, markup, annotated - select for diffs
Mon Aug 16 16:43:29 2004 UTC (22 years, 3 months ago) by mrg
Branches: MAIN
CVS tags: kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +3 -3
lines
fix a wrong variable name in a debug message.
Revision 1.109: download - view: text, markup, annotated - select for diffs
Mon Aug 16 15:46:37 2004 UTC (22 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +4 -6
lines
Simplify some manipulation of PCIC_INTR.
Further attempt to mitigate "bad Vcc" errors.
Revision 1.108: download - view: text, markup, annotated - select for diffs
Mon Aug 16 15:40:35 2004 UTC (22 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +25 -31
lines
Some tweaks, per the PC Card spec:
* Assert RESET before powering off a socket.
* Turn on the output enable bit earlier so the interface actually drives CEn
and RESET.
* Tighten up the power-on timing a bit.
* Mention the specific timing values named in the spec.
For pccbb, be careful to always power off before zeroing PWRCTL.
Revision 1.107: download - view: text, markup, annotated - select for diffs
Mon Aug 16 14:48:56 2004 UTC (22 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +3 -17
lines
Do not attempt to fiddle with the power-control bits in PWRCTL; just read them
back after touching the PCI registers.
This shouldn't be necessary, but somehow the controller detects the need for
VPP2=12V and automatically applies it, and gives us a "bad Vcc" error if we
turn it off accidentally.
Revision 1.106: download - view: text, markup, annotated - select for diffs
Sun Aug 15 20:19:14 2004 UTC (22 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +6 -5
lines
And the reason we had to call pccbb_power() twice in the enable routine is...
we were writing to PCIC_PWRCTL in between and causing the socket to power off.
D'oh.
Revision 1.105: download - view: text, markup, annotated - select for diffs
Thu Aug 12 13:42:17 2004 UTC (22 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +4 -5
lines
I can't actually use the FORCE register this way. Just try turning the socket
power off.
Revision 1.90.2.2: download - view: text, markup, annotated - select for diffs
Thu Aug 12 11:41:44 2004 UTC (22 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.90.2.1: preferred, colored
Changes since revision 1.90.2.1: +138 -147
lines
Sync with HEAD.
Revision 1.104: download - view: text, markup, annotated - select for diffs
Thu Aug 12 07:15:49 2004 UTC (22 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +107 -132
lines
A bunch of random cleanup:
* Like the i82365 code, add a "delay" function that uses tsleep() to wait, and
use this in the socket enable/disable paths. This gets rid of the annoying
system pauses during card insertion and removal. (There are still some
issues related to this in various drivers -- notably big delay()s in wi and
xi.)
* Move the power-change delay out of pccbb_power() and into the PCMCIA backend
code -- specifically, once in the disable path and once in the enable path.
We were being pretty schizo about this before. Make these use tsleep().
(Note: This should be safe because card insertion/removal is handled by a
kernel process, not in an interrupt handler. It works for me with
DIAGNOSTIC.)
* If we get a "bad Vcc" error, attempt to force the socket to power off, and
return an error. If we don't do this, we will get "bad Vcc" errors forever
and never be able to use another card without rebooting, which is dumb.
XXX I haven't been able to test this very well, because it doesn't fail for
me in the first place. :-)
* Clean up the socket mappings earlier in the enable path.
* Try to be consistent about clearing PWRCTL (which contains OE) before turning
off power.
Revision 1.103: download - view: text, markup, annotated - select for diffs
Wed Aug 11 01:05:42 2004 UTC (22 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +4 -4
lines
Oops; fix a compile error.
Revision 1.102: download - view: text, markup, annotated - select for diffs
Wed Aug 11 01:04:40 2004 UTC (22 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +11 -5
lines
Be more liberal in torching the old state in the disable and settype routines.
Revision 1.101: download - view: text, markup, annotated - select for diffs
Wed Aug 11 00:18:20 2004 UTC (22 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +26 -17
lines
Rather than having a call up from the low-level driver to get the card type,
instead have a call down from the PCMCIA mid-layer to set it. Use this from
pcmcia_function_enable(). (Currently the policy is the same, but this would
allow for more flexibility in deciding which mode to use.)
Now it is safe to hold the socket enabled during attach, so do that. Only
one enable/disable cycle to attach a card now!
Revision 1.100: download - view: text, markup, annotated - select for diffs
Fri Aug 6 21:39:47 2004 UTC (22 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +19 -18
lines
Rework the power sequencing so that I stop getting unrecoverable "bad Vcc"
errors with PCMCIA cards.
I've been using this change for almost a year, but accidentally blew it away
recently, and boy did that suck.
Revision 1.90.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:49:10 2004 UTC (22 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +133 -69
lines
Sync with HEAD
Revision 1.96.2.2: download - view: text, markup, annotated - select for diffs
Wed Jul 28 21:33:34 2004 UTC (22 years, 3 months ago) by jmc
Branches: netbsd-2-0
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-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
Diff to: previous 1.96.2.1: preferred, colored; branchpoint 1.96: preferred, colored; next MAIN 1.97: preferred, colored
Changes since revision 1.96.2.1: +6 -2
lines
Pullup rev 1.99 (requested by he in ticket #724)
Add entries for TI CardBus bridges 1520 and 4520Yenta, as found in
IBM ThinkPad 40p and 41p respectively, so that the CardBus probes and
works on those machines. PR#26380.
Revision 1.99: download - view: text, markup, annotated - select for diffs
Wed Jul 28 15:32:49 2004 UTC (22 years, 3 months ago) by he
Branches: MAIN
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +6 -2
lines
Add entries for TI CardBus bridges 1520 and 4520Yenta, as found in
IBM ThinkPad 40p and 41p respectively, so that the CardBus probes and
works on those machines. Fixes PR#26380.
Revision 1.96.2.1: download - view: text, markup, annotated - select for diffs
Fri Jul 23 22:27:52 2004 UTC (22 years, 3 months ago) by he
Branches: netbsd-2-0
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +6 -16
lines
Pull up revision 1.98 (requested by mycroft in ticket #692):
If the bus number has not been initialized, do not attach
a cardslot, and instead output a diagnostic pointing the
administrator towards the PCIBIOS_BUS_FIXUP option.
Revision 1.98: download - view: text, markup, annotated - select for diffs
Thu Jul 22 16:39:51 2004 UTC (22 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +6 -16
lines
If the bus number has not been initialized, do not attach a cardslot, and
output a diagnostic:
pccbbN: secondary bus number uninitialized; try PCIBIOS_BUS_FIXUP
Revision 1.97: download - view: text, markup, annotated - select for diffs
Fri Apr 23 21:13:06 2004 UTC (22 years, 6 months ago) by itojun
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +3 -3
lines
pass string length (= boundary info) to pci_devinfo so that we do not run over
the end of memory region
Revision 1.96: download - view: text, markup, annotated - select for diffs
Sun Mar 28 09:49:31 2004 UTC (22 years, 7 months ago) by nakayama
Branches: MAIN
CVS tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +36 -6
lines
Add some initialization code for TI bridges.
Mostly from FreeBSD, and tested on i386 w/ PCI1250 and sparc64 w/ PCI1410.
Revision 1.95: download - view: text, markup, annotated - select for diffs
Fri Dec 19 19:00:00 2003 UTC (22 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +36 -34
lines
More unsigned long casts to make this work on ppc. Fix formatting of debug
statements to 0x when there are hex numbers printed.
Revision 1.94: download - view: text, markup, annotated - select for diffs
Fri Dec 19 18:16:43 2003 UTC (22 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +11 -9
lines
PR/23802: KIYOHARA Takashi: Bad printf format with CBB_DEBUG. While I am
there, make all printfs consistent 0x%lx and (unsigned long) cast.
Revision 1.93: download - view: text, markup, annotated - select for diffs
Wed Dec 10 02:55:48 2003 UTC (22 years, 11 months ago) by briggs
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +9 -5
lines
Power up the card without OE enabled to avoid letting SanDisks enter
True IDE mode. Hinted at by Charles Hannum a while back. This lets
my PCI-Cardbus adapter read SanDisk CF cards much more reliably.
Also bring in a few defines from FreeBSD for some more TI registers and such.
Revision 1.92: download - view: text, markup, annotated - select for diffs
Sat Oct 25 18:31:12 2003 UTC (23 years ago) by christos
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +4 -2
lines
Fix uninitialized variable warnings
Revision 1.91: download - view: text, markup, annotated - select for diffs
Thu Oct 23 00:04:03 2003 UTC (23 years, 1 month ago) by briggs
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +40 -10
lines
Try to deal better with card removal during the card enabling process.
Revision 1.90: download - view: text, markup, annotated - select for diffs
Thu Jun 19 10:48:58 2003 UTC (23 years, 5 months ago) by msaitoh
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +3 -3
lines
regard as the card is removed if one of CCD1# and CCD2# is deasserted.
This fixes the porblem that the cbb misses a remove event.
Revision 1.89: download - view: text, markup, annotated - select for diffs
Mon Jun 16 20:01:06 2003 UTC (23 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +4 -4
lines
Rename IPL_IMP -> IPL_VM.
Revision 1.88: download - view: text, markup, annotated - select for diffs
Sat Mar 22 06:25:14 2003 UTC (23 years, 8 months ago) by nakayama
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +14 -8
lines
PCI-CardBus bridge support for sparc64:
- add pccbb_attach_hook in pccbbattach for MD initializations.
- omit arithmetics to bus_space_handle_t.
- remove use of IST_LEVEL; not defined on sparc64 and unused.
Revision 1.87: download - view: text, markup, annotated - select for diffs
Mon Jan 20 02:29:56 2003 UTC (23 years, 10 months ago) by simonb
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +2 -6
lines
Remove unreachable "break"s after "return"s.
Revision 1.61.2.15: download - view: text, markup, annotated - select for diffs
Fri Jan 3 17:07:56 2003 UTC (23 years, 10 months ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.61.2.14: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61.2.14: +3 -3
lines
Sync with HEAD.
Revision 1.86: download - view: text, markup, annotated - select for diffs
Wed Jan 1 00:10:23 2003 UTC (23 years, 10 months ago) by thorpej
Branches: MAIN
CVS tags: nathanw_sa_before_merge,
nathanw_sa_base,
fvdl_fs64_base
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +3 -3
lines
Use aprint_normal() in cfprint routines.
Revision 1.61.2.14: download - view: text, markup, annotated - select for diffs
Sun Dec 29 20:49:25 2002 UTC (23 years, 10 months ago) by thorpej
Branches: nathanw_sa
Diff to: previous 1.61.2.13: preferred, colored
Changes since revision 1.61.2.13: +5 -4
lines
Sync with HEAD.
Revision 1.85: download - view: text, markup, annotated - select for diffs
Mon Dec 23 02:58:38 2002 UTC (23 years, 10 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +5 -4
lines
Replace magic numbers for power management control with PCI_PMCSR* macros.
XXX Should we use pci_get_powerstate() and pci_set_powerstate() in pci.c?
Revision 1.61.2.13: download - view: text, markup, annotated - select for diffs
Mon Nov 11 22:11:24 2002 UTC (24 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.61.2.12: preferred, colored
Changes since revision 1.61.2.12: +3 -1
lines
Catch up to -current
Revision 1.84: download - view: text, markup, annotated - select for diffs
Sat Nov 9 08:51:14 2002 UTC (24 years ago) by martin
Branches: MAIN
CVS tags: gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +4 -2
lines
Add TI PCI4410 PCI-CardBus Bridge w/ OHCI IEEE 1394,
from FUKAUMI Naoki in PR 18989.
Revision 1.83: download - view: text, markup, annotated - select for diffs
Sat Oct 19 18:01:59 2002 UTC (24 years, 1 month ago) by atatat
Branches: MAIN
CVS tags: kqueue-beforemerge,
kqueue-aftermerge
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +3 -3
lines
Don't print messages about pccbb_intr_disestablish() unless debugging
is actually enabled.
Revision 1.61.2.12: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:43:12 2002 UTC (24 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.61.2.11: preferred, colored
Changes since revision 1.61.2.11: +48 -27
lines
Catch up to -current.
Revision 1.65.2.7: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:40:59 2002 UTC (24 years, 1 month ago) by jdolecek
Branches: kqueue
Diff to: previous 1.65.2.6: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65.2.6: +48 -27
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.82: download - view: text, markup, annotated - select for diffs
Wed Oct 2 16:51:48 2002 UTC (24 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: kqueue-base
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +3 -3
lines
Add trailing ; to CFATTACH_DECL.
Revision 1.81: download - view: text, markup, annotated - select for diffs
Tue Oct 1 14:30:54 2002 UTC (24 years, 1 month ago) by onoe
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +9 -5
lines
make it compilable with CBB_DEBUG.
Revision 1.80: download - view: text, markup, annotated - select for diffs
Tue Oct 1 09:09:16 2002 UTC (24 years, 1 month ago) by haya
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +39 -21
lines
Use LIST in sys/queue. Add some comments.
Revision 1.79: download - view: text, markup, annotated - select for diffs
Mon Sep 30 20:37:56 2002 UTC (24 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +4 -5
lines
Use CFATTACH_DECL().
Revision 1.78: download - view: text, markup, annotated - select for diffs
Fri Sep 27 20:40:35 2002 UTC (24 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +3 -3
lines
Declare all cfattach structures const.
Revision 1.65.2.6: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:47:51 2002 UTC (24 years, 4 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.65.2.5: preferred, colored
Changes since revision 1.65.2.5: +24 -3
lines
catch up with -current on kqueue branch
Revision 1.75.6.1: download - view: text, markup, annotated - select for diffs
Thu Jun 20 16:33:40 2002 UTC (24 years, 5 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.75: preferred, colored; next MAIN 1.76: preferred, colored
Changes since revision 1.75: +24 -3
lines
catch up with -current.
Revision 1.61.2.11: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:45:37 2002 UTC (24 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.61.2.10: preferred, colored
Changes since revision 1.61.2.10: +24 -3
lines
Catch up to -current.
Revision 1.77: download - view: text, markup, annotated - select for diffs
Fri May 31 13:34:03 2002 UTC (24 years, 5 months ago) by mycroft
Branches: MAIN
CVS tags: gehenna-devsw-base
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +13 -3
lines
Patch the CLKRUN enable bit on ToPIC chips.
Revision 1.76: download - view: text, markup, annotated - select for diffs
Fri May 31 09:54:52 2002 UTC (24 years, 5 months ago) by haya
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +13 -2
lines
Add comment.
Revision 1.61.2.10: download - view: text, markup, annotated - select for diffs
Mon Apr 1 07:46:32 2002 UTC (24 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.61.2.9: preferred, colored
Changes since revision 1.61.2.9: +4 -2
lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
Revision 1.75.2.1: download - view: text, markup, annotated - select for diffs
Sun Mar 17 23:43:59 2002 UTC (24 years, 8 months ago) by thorpej
Branches: newlock
Diff to: previous 1.75: preferred, colored; next MAIN 1.76: preferred, colored
Changes since revision 1.75: +4 -4
lines
IPL_IMP -> IPL_VM
Revision 1.65.2.5: download - view: text, markup, annotated - select for diffs
Sat Mar 16 16:01:15 2002 UTC (24 years, 8 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.65.2.4: preferred, colored
Changes since revision 1.65.2.4: +4 -2
lines
Catch up with -current.
Revision 1.75: download - view: text, markup, annotated - select for diffs
Tue Mar 5 11:56:33 2002 UTC (24 years, 8 months ago) by haya
Branches: MAIN
CVS tags: newlock-base,
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,
eeh-devprop-base,
eeh-devprop
Branch point for: newlock,
gehenna-devsw
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +4 -2
lines
Enforce 10-bit width for I/O addresses of 16-bit PC Cards when I/O
start address is assigned by a driver.
Revision 1.61.2.9: download - view: text, markup, annotated - select for diffs
Thu Feb 28 04:14:04 2002 UTC (24 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.61.2.8: preferred, colored
Changes since revision 1.61.2.8: +2 -2
lines
Catch up to -current.
Revision 1.65.2.4: download - view: text, markup, annotated - select for diffs
Mon Feb 11 20:10:01 2002 UTC (24 years, 9 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.65.2.3: preferred, colored
Changes since revision 1.65.2.3: +12 -3
lines
Sync w/ -current.
Revision 1.42.2.7: download - view: text, markup, annotated - select for diffs
Sat Feb 9 18:29:18 2002 UTC (24 years, 9 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003
Diff to: previous 1.42.2.6: preferred, colored; branchpoint 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42.2.6: +11 -2
lines
Pull up revision 1.74 (requested by haya):
Correct chattering suppressor. This makes card insertion detection
work properly.
Revision 1.42.2.6: download - view: text, markup, annotated - select for diffs
Tue Jan 22 19:52:06 2002 UTC (24 years, 9 months ago) by he
Branches: netbsd-1-5
Diff to: previous 1.42.2.5: preferred, colored; branchpoint 1.42: preferred, colored
Changes since revision 1.42.2.5: +29 -3
lines
Pull up revision 1.57 (requested by haya):
Calculate address mask appropriately for 16-bit PC-cards.
Revision 1.61.2.8: download - view: text, markup, annotated - select for diffs
Fri Jan 11 23:39:21 2002 UTC (24 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.61.2.7: preferred, colored
Changes since revision 1.61.2.7: +12 -3
lines
More catchup.
Revision 1.65.2.3: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:56:53 2002 UTC (24 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.65.2.2: preferred, colored
Changes since revision 1.65.2.2: +80 -26
lines
Sync kqueue branch with -current.
Revision 1.74: download - view: text, markup, annotated - select for diffs
Thu Jan 10 10:30:08 2002 UTC (24 years, 10 months ago) by haya
Branches: MAIN
CVS tags: ifpoll-base
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +12 -3
lines
Bug fix: correct chattering suppressor. Card insertion will be
detected properly by this fix.
Revision 1.61.2.7: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:31:09 2002 UTC (24 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.61.2.6: preferred, colored
Changes since revision 1.61.2.6: +4 -5
lines
Catch up to -current.
Revision 1.42.2.5: download - view: text, markup, annotated - select for diffs
Mon Dec 24 14:23:22 2001 UTC (24 years, 10 months ago) by he
Branches: netbsd-1-5
Diff to: previous 1.42.2.4: preferred, colored; branchpoint 1.42: preferred, colored
Changes since revision 1.42.2.4: +15 -1
lines
Pull up revision 1.70 (partial, via patch, requested by haya):
Add PCI power management control to the PCI-CardBus bridge.
Fixes PR#14149.
Revision 1.73: download - view: text, markup, annotated - select for diffs
Mon Dec 24 09:41:34 2001 UTC (24 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +4 -4
lines
change if defined foo to ifdef foo and change a c++ comment into a c comment.
Revision 1.72: download - view: text, markup, annotated - select for diffs
Thu Nov 15 09:48:12 2001 UTC (25 years ago) by lukem
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +2 -3
lines
don't need <sys/types.h> when including <sys/param.h>
Revision 1.61.2.6: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:15:22 2001 UTC (25 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.61.2.5: preferred, colored
Changes since revision 1.61.2.5: +48 -2
lines
Catch up to -current.
Revision 1.71: download - view: text, markup, annotated - select for diffs
Tue Nov 13 07:48:46 2001 UTC (25 years ago) by lukem
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +4 -1
lines
add RCSID
Revision 1.69.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 12 21:18:14 2001 UTC (25 years ago) by thorpej
Branches: thorpej-mips-cache
Diff to: previous 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69: +45 -2
lines
Sync the thorpej-mips-cache branch with -current.
Revision 1.70: download - view: text, markup, annotated - select for diffs
Fri Nov 2 03:32:33 2001 UTC (25 years ago) by haya
Branches: MAIN
CVS tags: thorpej-mips-cache-base
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +45 -2
lines
Add PCI power management control. If the power state of a bridge is
not D0 at device attaching or resuming, set the bridge D0 mode.
Revision 1.61.2.5: download - view: text, markup, annotated - select for diffs
Mon Oct 22 20:41:24 2001 UTC (25 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.61.2.4: preferred, colored
Changes since revision 1.61.2.4: +28 -22
lines
Catch up to -current.
Revision 1.69: download - view: text, markup, annotated - select for diffs
Wed Oct 17 10:25:51 2001 UTC (25 years, 1 month ago) by haya
Branches: MAIN
Branch point for: thorpej-mips-cache
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +28 -22
lines
Move some chip initialise code into pccbb_chipinit() function.
Revision 1.61.2.4: download - view: text, markup, annotated - select for diffs
Mon Oct 8 20:11:14 2001 UTC (25 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.61.2.3: preferred, colored
Changes since revision 1.61.2.3: +4 -1
lines
Catch up to -current.
Revision 1.67.2.1: download - view: text, markup, annotated - select for diffs
Mon Oct 1 12:45:56 2001 UTC (25 years, 1 month ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.67: preferred, colored; next MAIN 1.68: preferred, colored
Changes since revision 1.67: +4 -1
lines
Catch up with -current.
Revision 1.68: download - view: text, markup, annotated - select for diffs
Sun Sep 30 06:32:02 2001 UTC (25 years, 1 month ago) by yamt
Branches: MAIN
CVS tags: thorpej-devvp-base3,
thorpej-devvp-base2
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +4 -1
lines
force 0x1000 align for memory base before
calling rbus_space_alloc().
resource management may be inconsistent without it.
Revision 1.61.2.3: download - view: text, markup, annotated - select for diffs
Fri Sep 21 22:35:58 2001 UTC (25 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.61.2.2: preferred, colored
Changes since revision 1.61.2.2: +17 -2
lines
Catch up to -current.
Revision 1.65.2.2: download - view: text, markup, annotated - select for diffs
Thu Sep 13 01:15:56 2001 UTC (25 years, 2 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.65.2.1: preferred, colored
Changes since revision 1.65.2.1: +16 -1
lines
Update the kqueue branch to HEAD.
Revision 1.67: download - view: text, markup, annotated - select for diffs
Thu Aug 30 09:20:17 2001 UTC (25 years, 2 months ago) by haya
Branches: MAIN
CVS tags: thorpej-devvp-base,
pre-chs-ubcperf,
post-chs-ubcperf
Branch point for: thorpej-devvp
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +16 -1
lines
Add some register definitions for TI PCI12XX and Toshiba ToPIC.
Add ToPIC97 and ToPIC100 chip initialisation routine.
Add more TI PCI12XX chip initialisation.
Revision 1.65.2.1: download - view: text, markup, annotated - select for diffs
Sat Aug 25 06:16:24 2001 UTC (25 years, 2 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +2 -2
lines
Merge Aug 24 -current into the kqueue branch.
Revision 1.66: download - view: text, markup, annotated - select for diffs
Fri Aug 24 10:55:53 2001 UTC (25 years, 2 months ago) by haya
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +2 -2
lines
Buf fix: use PWAIT priority and do not set PCATCH.
Revision 1.61.2.2: download - view: text, markup, annotated - select for diffs
Fri Aug 24 00:10:14 2001 UTC (25 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.61.2.1: preferred, colored
Changes since revision 1.61.2.1: +32 -18
lines
Catch up with -current.
Revision 1.65: download - view: text, markup, annotated - select for diffs
Fri Jul 6 18:06:59 2001 UTC (25 years, 4 months ago) by mcr
Branches: MAIN
Branch point for: kqueue
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +32 -18
lines
split pccbb_intr_route() into seperate function.
Revision 1.61.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 21 20:05:00 2001 UTC (25 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +8 -6
lines
Catch up to -current.
Revision 1.64: download - view: text, markup, annotated - select for diffs
Sat May 19 19:46:08 2001 UTC (25 years, 6 months ago) by soren
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +3 -1
lines
Add TI 1410 to yc_chipsets[].
Revision 1.42.2.4: download - view: text, markup, annotated - select for diffs
Tue May 1 12:54:28 2001 UTC (25 years, 6 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001
Diff to: previous 1.42.2.3: preferred, colored; branchpoint 1.42: preferred, colored
Changes since revision 1.42.2.3: +53 -48
lines
Pull up revisions 1.46,1.48 (requested by fvdl):
Deal correctly with 16-bit pcmcia cards. Fixes PR#12736 and
PR#12737.
Revision 1.63: download - view: text, markup, annotated - select for diffs
Mon Apr 30 02:49:04 2001 UTC (25 years, 6 months ago) by jmc
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +5 -5
lines
Cast args correctly to match format strings.
Revision 1.3.2.10: download - view: text, markup, annotated - select for diffs
Sat Apr 21 17:49:16 2001 UTC (25 years, 7 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.3.2.9: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.9: +2 -2
lines
Sync with HEAD
Revision 1.62: download - view: text, markup, annotated - select for diffs
Thu Apr 12 18:18:31 2001 UTC (25 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +2 -2
lines
splimp -> splvm (use IPL_IMP needs to be revisited).
Revision 1.3.2.9: download - view: text, markup, annotated - select for diffs
Mon Mar 12 13:31:09 2001 UTC (25 years, 8 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.3.2.8: preferred, colored
Changes since revision 1.3.2.8: +22 -15
lines
Sync with HEAD.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Thu Feb 22 10:39:31 2001 UTC (25 years, 8 months ago) by enami
Branches: MAIN
Branch point for: nathanw_sa
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +10 -13
lines
- Initialize auto variable (win[{0,1}].win_flags).
- If PCCBB_MEM_CACHABLE isn't set, clear CB_BCR_PREFETCH_MEMWIN[01].
Revision 1.60: download - view: text, markup, annotated - select for diffs
Wed Feb 21 21:39:58 2001 UTC (25 years, 8 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +3 -3
lines
make some more constant arrays 'const'
Revision 1.59: download - view: text, markup, annotated - select for diffs
Wed Feb 21 00:32:31 2001 UTC (25 years, 9 months ago) by minoura
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +5 -5
lines
Correct the 1st argument for pci_conf_{read,write}.
On non-i386 platforms the previous revision could not be compiled.
Pointed out by mjl.
Revision 1.58: download - view: text, markup, annotated - select for diffs
Tue Feb 20 15:16:38 2001 UTC (25 years, 9 months ago) by minoura
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +11 -1
lines
Re-initialize more registers after resuming from suspend.
Some APM BIOSes do not restore them.
Reviewd by haya.
Revision 1.3.2.8: download - view: text, markup, annotated - select for diffs
Sun Feb 11 19:15:58 2001 UTC (25 years, 9 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.3.2.7: preferred, colored
Changes since revision 1.3.2.7: +75 -15
lines
Sync with HEAD.
Revision 1.57: download - view: text, markup, annotated - select for diffs
Fri Feb 9 10:41:50 2001 UTC (25 years, 9 months ago) by haya
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +29 -3
lines
BUG FIX: calculate address line mask in pccbb_pcmcia_io_alloc() when
start address is not set.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Tue Jan 30 07:23:14 2001 UTC (25 years, 9 months ago) by itohy
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +17 -1
lines
Fix problem where tsleep() is used not on the cardbus thread.
This change makes PCMCIA cards work again on my machine.
Unfortunately, some of the DELAY_MS() are called when the current
process is not the cardbus thread, that is, on interrupt contexts.
I confirmed these are actually used in interrupt context and replaced
them with delay()s. However, I haven't confirmed other DELAY_MS()s
are always on the cardbus thread.
This shall be a temporary fix. The driver needs being rewritten
not to use such delay()s, of course.
Revision 1.55: download - view: text, markup, annotated - select for diffs
Wed Jan 24 10:10:04 2001 UTC (25 years, 9 months ago) by haya
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +32 -14
lines
IMPROVEMENT: use tsleep() instead of delay(). Kernel do not stop
during card insertion, deletion and power change.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Mon Jan 22 01:13:47 2001 UTC (25 years, 10 months ago) by augustss
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +2 -2
lines
Add a comment.
Revision 1.3.2.7: download - view: text, markup, annotated - select for diffs
Thu Jan 18 09:23:26 2001 UTC (25 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.3.2.6: preferred, colored
Changes since revision 1.3.2.6: +1 -1
lines
Sync with head (for UBC+NFS fixes, mostly).
Revision 1.53: download - view: text, markup, annotated - select for diffs
Wed Jan 17 08:37:09 2001 UTC (25 years, 10 months ago) by haya
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +2 -2
lines
Fix comment.
Revision 1.3.2.6: download - view: text, markup, annotated - select for diffs
Fri Jan 5 17:36:11 2001 UTC (25 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.3.2.5: preferred, colored
Changes since revision 1.3.2.5: +12 -11
lines
Sync with HEAD
Revision 1.52: download - view: text, markup, annotated - select for diffs
Sat Dec 30 00:37:24 2000 UTC (25 years, 10 months ago) by augustss
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +9 -5
lines
Be less talkative in attach.
Revision 1.51: download - view: text, markup, annotated - select for diffs
Thu Dec 28 22:59:14 2000 UTC (25 years, 10 months ago) by sommerfeld
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +5 -8
lines
Change pci_intr_map to get interrupt source information from a "struct
pci_attach_args *" instead of from four separate parameters which in
all cases were extracted from the same "struct pci_attach_args".
This both simplifies the driver api, and allows for alternate PCI
interrupt mapping schemes, such as one using the tables described in
the Intel Multiprocessor Spec which describe interrupt wirings for
devices behind pci-pci bridges based on the device's location rather
the bridge's location.
Tested on alpha and i386; welcome to 1.5Q
Revision 1.42.2.3: download - view: text, markup, annotated - select for diffs
Fri Dec 15 00:22:39 2000 UTC (25 years, 11 months ago) by he
Branches: netbsd-1-5
Diff to: previous 1.42.2.2: preferred, colored; branchpoint 1.42: preferred, colored
Changes since revision 1.42.2.2: +13 -1
lines
Pull up revisions 1.47,1.49 (requested by haya):
Turn off power on shutdown, except on ToPIC (TI 113X) bridges on
shutdown to avoid hangs on some systems.
Revision 1.3.2.5: download - view: text, markup, annotated - select for diffs
Wed Dec 13 15:50:09 2000 UTC (25 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.3.2.4: preferred, colored
Changes since revision 1.3.2.4: +16 -2
lines
Sync with HEAD (for UBC fixes).
Revision 1.50: download - view: text, markup, annotated - select for diffs
Fri Dec 8 21:51:02 2000 UTC (25 years, 11 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +7 -1
lines
Turn off the damned TI `VCC protection' bit.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Fri Dec 8 10:24:14 2000 UTC (25 years, 11 months ago) by haya
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +11 -3
lines
WORKAROUND: CardBus bridge avoids turning off the power of channel in
shutdown hook when the bridge chip is TI113X. Because PowerBook 2400
hangs here.
Revision 1.3.2.4: download - view: text, markup, annotated - select for diffs
Fri Dec 8 09:12:33 2000 UTC (25 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.3.2.3: preferred, colored
Changes since revision 1.3.2.3: +45 -46
lines
Sync with HEAD.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Tue Nov 28 09:11:36 2000 UTC (25 years, 11 months ago) by haya
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +42 -47
lines
BUG FIX: change enable sequence for 16-bit pcmcia cards. This change
provides better (not perfect) reset sequence. The most significant
change is asserting output enable reg before power up. Stop routing
interrupt during reset.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Mon Nov 27 09:04:32 2000 UTC (25 years, 11 months ago) by haya
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +5 -1
lines
BUG FIX: pccbb turns off PC Cards' power on the bus in shutdown hook.
Some machines cannot reboot without this fix.
Revision 1.3.2.3: download - view: text, markup, annotated - select for diffs
Wed Nov 22 16:04:12 2000 UTC (25 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.3.2.2: preferred, colored
Changes since revision 1.3.2.2: +12 -2
lines
Sync with HEAD.
Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Mon Nov 20 11:42:29 2000 UTC (26 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.3.2.1: preferred, colored
Changes since revision 1.3.2.1: +2231 -2103
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.46: download - view: text, markup, annotated - select for diffs
Wed Oct 25 09:15:58 2000 UTC (26 years ago) by haya
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +12 -2
lines
Bugfix: reset 16-bit pcmcia in chip initialisation sequence.
Revision 1.42.2.2: download - view: text, markup, annotated - select for diffs
Fri Sep 8 00:43:56 2000 UTC (26 years, 2 months ago) by haya
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE,
netbsd-1-5-BETA2,
netbsd-1-5-BETA
Diff to: previous 1.42.2.1: preferred, colored; branchpoint 1.42: preferred, colored
Changes since revision 1.42.2.1: +9 -5
lines
Pull up rev 1.45: bugfix for Texas Instruments PCI113X. This pullup
fixes that the bridge does not propagate any interrupt signals when a
card is inserted or removed.
This pullup is approved by <thorpej@netbsd.org>.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Mon Aug 28 09:26:38 2000 UTC (26 years, 2 months ago) by haya
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +9 -5
lines
Correct PCI interrput setup routine for Texas Instruments PCI113X.
Now PCI113X is able to handle hot insertion and deletion properly.
Revision 1.42.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 12 21:45:34 2000 UTC (26 years, 4 months ago) by jhawk
Branches: netbsd-1-5
CVS tags: netbsd-1-5-ALPHA2
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +29 -30
lines
Pullup rev 1.43-1.44, approved by thorpej:
1.43:
Move legacy pcic-mode disabling code from pccbb_chipinit() to
pccbbattach(). This is necessary as pccbb_chipinit() is deferred, and
may not run until after the pcic is already attached.
Now pcics are properly disabled on Sony VAIO, f'rinstance.
rev 1.44:
Clarify that the RX5C47X requires writes to the PCI_LEGACY to
disable and not PCI_BCR_INTR; this is what rev 1.9 did under
the label of "Maintenance."
Revision 1.44: download - view: text, markup, annotated - select for diffs
Sun Jul 9 22:06:02 2000 UTC (26 years, 4 months ago) by jhawk
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +6 -5
lines
Clarify that the RX5C47X requires writes to the PCI_LEGACY to
disable and not PCI_BCR_INTR; this is what rev 1.9 did under
the label of "Maintenance."
Revision 1.43: download - view: text, markup, annotated - select for diffs
Sun Jul 9 21:58:30 2000 UTC (26 years, 4 months ago) by jhawk
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +28 -30
lines
Move legacy pcic-mode disabling code from pccbb_chipinit() to
pccbbattach(). This is necessary as pccbb_chipinit() is deferred, and
may not run until after the pcic is already attached.
Now pcics are properly disabled on Sony VAIO, f'rinstance.
Revision 1.39.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 22 17:07:24 2000 UTC (26 years, 5 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +48 -13
lines
Sync w/ netbsd-1-5-base.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Fri Jun 16 23:41:35 2000 UTC (26 years, 5 months ago) by cgd
Branches: MAIN
CVS tags: netbsd-1-5-base
Branch point for: netbsd-1-5
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +1 -9
lines
beat back the undead: __BROKEN_INDIRECT_CONFIG had risen, and was
terrorizing innocent hackers...
Revision 1.41: download - view: text, markup, annotated - select for diffs
Thu Jun 8 10:28:28 2000 UTC (26 years, 5 months ago) by haya
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +44 -3
lines
Change IPL when bridge's interrupt handler calls child device's
interrupt handler (This solution is not very good).
Revision 1.40: download - view: text, markup, annotated - select for diffs
Wed Jun 7 09:02:46 2000 UTC (26 years, 5 months ago) by haya
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +5 -3
lines
Add CB_BCR_RESET_ENABLE in bridge control resister's bit definition.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Mon May 8 07:31:20 2000 UTC (26 years, 6 months ago) by kleink
Branches: MAIN
CVS tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -2
lines
Fix a inverted logic botch introduced in rev. 1.35, typically causing
cb_chipset() to return the wrong chipset type.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Thu Apr 6 09:11:57 2000 UTC (26 years, 7 months ago) by haya
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +26 -6
lines
Add CardBus interrupt enable flag. When this flag is asserted, a
CardBus interrupt is routed to the child devices and vice versa. This
flag is negated when a pccbb receives a suspend or stanby event.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Thu Mar 23 07:01:40 2000 UTC (26 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +10 -6
lines
New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
resource allocation.
- Insertion and removal of callouts is constant time, important as
this facility is used quite a lot in the kernel.
The old timeout()/untimeout() API has been removed from the kernel.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Mar 22 09:35:07 2000 UTC (26 years, 8 months ago) by haya
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +7 -8
lines
1. Do not apply 5 V on a CardBus card.
2. Do not avoid ISA hole when a device requires more than
256-byte io space.
3. Remove sending CardBus bridge's function number to
cardbus stack. This number is not needed for anyone.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Tue Mar 14 10:26:10 2000 UTC (26 years, 8 months ago) by enami
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +18 -29
lines
Simplify the code a bit.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Tue Mar 14 10:23:16 2000 UTC (26 years, 8 months ago) by enami
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +8 -2
lines
Don't think that a card is inserted if there is a card already in the slot.
Note that powerdown hook calls pccbbintr so that it detect card insertion or
removal during suspension.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Tue Mar 14 10:20:09 2000 UTC (26 years, 8 months ago) by enami
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +7 -9
lines
Cosmetic change.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Mar 14 01:29:30 2000 UTC (26 years, 8 months ago) by enami
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +24 -24
lines
Fix typos in comments.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Sun Mar 12 11:31:53 2000 UTC (26 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +23 -32
lines
A few things:
* Initialize PCIC_INTR and PCIC_CSC_INTR on all chips, not just TI.
* Leave card detect interrupts enabled in PCIC_CSC_INTR. (This requires
reading PCIC_CSC in the interrupt handler on some chips, so do that too.)
* Leave PCIC_INTR_ENABLE set, as some chips require this to post card detect
interrupts while in PCMCIA mode.
* Leave PCIC_INTR_RESET (which is inverted) set at all times *except* when
powering up a socket, as some chips will use it to drive RESET# low even
while a CardBus card is in the slot.
This makes PCMCIA and CardBus cards works with some TI chips. Cross-checked
with a Toshiba ToPIC 95B.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Mar 12 04:34:29 2000 UTC (26 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +66 -109
lines
Do *not* fiddle with the serial/parallel IRQ mode selection on TI chips.
Without extensive probing, we cannot possibly know that we're doing the right
thing.
Also some stylistic changes.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun Mar 12 04:25:57 2000 UTC (26 years, 8 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +6 -37
lines
Revert the previous change. It does not match the commit message *and* was
incomplete (and probably quite broken).
Revision 1.28: download - view: text, markup, annotated - select for diffs
Fri Mar 10 11:08:49 2000 UTC (26 years, 8 months ago) by haya
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +38 -7
lines
Only apply power on 3.3 V CardBus card (there are no 5 V CardBus card.)
Revision 1.27: download - view: text, markup, annotated - select for diffs
Wed Mar 1 23:40:26 2000 UTC (26 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +65 -85
lines
Simplify the winlist code.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed Feb 23 07:28:54 2000 UTC (26 years, 8 months ago) by haya
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +111 -61
lines
Pccbb maintains the interrupt handlers for 16-bit PC Cards
by itself.
Add some comments.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue Feb 22 02:35:26 2000 UTC (26 years, 9 months ago) by enami
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +35 -1
lines
Establish a powerhook and make sure the card detect interrupt is enabled
after resume from suspend, as i82365.c does.
This is a workaround for newer Sony VAIO notebook.
Patch is submitted by Atsushi Onoe (onoe@sm.sony.co.jp) in PR#9463.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Feb 21 01:44:36 2000 UTC (26 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -2
lines
Sync PCMCIA memory mapping with a change from rev 1.47 of i82365.c:
always map attr memory 8 bit, since its defined that way. (chopps)
Revision 1.23: download - view: text, markup, annotated - select for diffs
Sun Feb 6 08:14:13 2000 UTC (26 years, 9 months ago) by cgd
Branches: MAIN
CVS tags: chs-ubc2-newbase
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +5 -6
lines
clean up some printfs
Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Feb 5 18:20:08 2000 UTC (26 years, 9 months ago) by chopps
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2068 -2121
lines
run this through indent with some comment cleanup -- more knfing needed.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Jan 26 09:02:41 2000 UTC (26 years, 9 months ago) by haya
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +121 -35
lines
Pccbb manages interrupt handlers by itself for its child device.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue Jan 25 14:34:24 2000 UTC (26 years, 9 months ago) by joda
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +50 -50
lines
get the device name from pcidevs instead of having a list here
Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue Jan 25 09:36:43 2000 UTC (26 years, 9 months ago) by haya
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +6 -4
lines
Do pccbb_chipinit() after YENTA register space allocation.
Add TI PCI 1451 PCI-CardBus entry.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Jan 25 06:16:34 2000 UTC (26 years, 9 months ago) by chopps
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +9 -11
lines
Don't enable the interrupt until after we cycle the power, disable
interrupt at disable, and make this code look more like the std pcic
code. From Mycroft and I.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon Jan 24 15:51:59 2000 UTC (26 years, 9 months ago) by joda
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +1 -3
lines
The TI 2030 is a PCI-PCI bridge and doesn't belong here
Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Jan 23 04:02:19 2000 UTC (26 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -5
lines
Remove code that should not have been added.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Jan 23 00:10:03 2000 UTC (26 years, 10 months ago) by augustss
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +4 -3
lines
Add parens so a ?: expression binds correctly.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Jan 17 12:57:27 2000 UTC (26 years, 10 months ago) by joda
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +18 -1
lines
add shutdown hook
Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Jan 13 09:05:41 2000 UTC (26 years, 10 months ago) by joda
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +1 -8
lines
remove stale comment
Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Jan 13 09:01:17 2000 UTC (26 years, 10 months ago) by joda
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +6 -3
lines
(pccbb_pcmcia_do_mem_map): handle 8-bit memory
Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Jan 13 08:54:20 2000 UTC (26 years, 10 months ago) by joda
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +29 -27
lines
make this slightly more inline with other code; and while at it, fix
some oddities in pccbb_winset
Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Jan 12 09:23:26 2000 UTC (26 years, 10 months ago) by haya
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +11 -1
lines
Add an entry for Toshiba ToPIC100 CardBus-PCI bridge.
Maintainance for 3Com multi-function, 16-bit pcmcia card.
Revision 1.9.2.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:35:20 1999 UTC (26 years, 10 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +1 -1
lines
Pull up to last week's -current.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Dec 20 08:11:42 1999 UTC (26 years, 11 months ago) by haya
Branches: MAIN
CVS tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221
Branch point for: wrstuden-devbsize
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +12 -5
lines
Maintanance for Ricoh RL5C475. VAIO 505TX uses this chip.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Nov 15 16:19:03 1999 UTC (27 years ago) by joda
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -4
lines
(pccbb_pci_callback): no point in reading the bus number register
twice
Revision 1.4.2.2: download - view: text, markup, annotated - select for diffs
Mon Nov 15 00:41:06 1999 UTC (27 years ago) by fvdl
Branches: fvdl-softdep
Diff to: previous 1.4.2.1: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.2.1: +3046 -0
lines
Sync with -current
Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Nov 1 08:58:45 1999 UTC (27 years ago) by haya
Branches: MAIN
CVS tags: fvdl-softdep-base,
comdex-fall-1999-base,
comdex-fall-1999
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +15 -15
lines
Maintainance the name of Ricoh PCI-CardBus bridges.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Oct 30 16:02:28 1999 UTC (27 years ago) by augustss
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +7 -7
lines
Make this file compile again by using the same names as in pcidevs.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Oct 27 00:48:36 1999 UTC (27 years ago) by haya
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +4 -2
lines
Do not stop no matter when pci_mapreg_map fails to map bridge socket
registers. When it fails, reset Socket Base Address register and map
registers using rbus.
Revision 1.3.2.1: download - view: text, markup, annotated - select for diffs
Wed Oct 20 22:36:30 1999 UTC (27 years, 1 month ago) by thorpej
Branches: thorpej_scsipi
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +262 -259
lines
Sync w/ trunk.
Revision 1.4.2.1
Tue Oct 19 09:29:46 1999 UTC (27 years, 1 month ago) by fvdl
Branches: fvdl-softdep
FILE REMOVED
Changes since revision 1.4: +0 -3044
lines
file pccbb.c was added on branch fvdl-softdep on 1999-11-15 00:41:06 +0000
Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Oct 19 09:29:46 1999 UTC (27 years, 1 month ago) by haya
Branches: MAIN
Branch point for: fvdl-softdep
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +262 -259
lines
Disable legacy io port before the bridge is probed as a pcic on isa.
Comments ware changed to comply the KNF.
Add PCCBB_PCMCIA_16BITONLY to support TI PCI103X series.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Oct 15 10:59:58 1999 UTC (27 years, 1 month ago) by augustss
Branches: MAIN
Branch point for: thorpej_scsipi
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +8 -10
lines
Comment out some debug settings.
Change attach printing so it looks more standard.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Oct 15 06:42:39 1999 UTC (27 years, 1 month ago) by haya
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -1
lines
add NetBSD ID tag.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Oct 15 06:07:28 1999 UTC (27 years, 1 month ago) by haya
Branches: MAIN
This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.
TODO:
o Conform to the KNF more strictly.
o Be unified with pcmcia code as much as possible.
o Add more drivers for CardBus card, such as APA-1480 or USB card.
The affected files are listed below.
sys/arch/i386/conf/files.i386
sys/arch/macppc/conf/files.macppc
sys/conf/files
sys/dev/ic/elinkxl.c
sys/dev/ic/elinkxlvar.h
sys/dev/ic/i82365.c
sys/dev/ic/i82365var.h
sys/dev/isa/i82365_isasubr.c
sys/dev/pci/files.pci
sys/dev/pcmcia/pcmcia.c
sys/dev/pcmcia/pcmciachip.h
The added files are listed below.
sys/arch/i386/conf/CARDBUS
sys/arch/i386/include/rbus_machdep.h
sys/arch/i386/i386/rbus_machdep.c
sys/arch/macppc/include/rbus_machdep.h
sys/arch/macppc/macppc/rbus_machdep.c
sys/dev/cardbus/if_ex_cardbus.c
sys/dev/cardbus/Makefile.cardbusdevs
sys/dev/cardbus/cardbus.c
sys/dev/cardbus/cardbus_map.c
sys/dev/cardbus/cardbusdevs
sys/dev/cardbus/cardbusdevs.h
sys/dev/cardbus/cardbusdevs_data.h
sys/dev/cardbus/cardbusvar.h
sys/dev/cardbus/cardslot.c
sys/dev/cardbus/cardslotvar.h
sys/dev/cardbus/devlist2h.awk
sys/dev/cardbus/files.cardbus
sys/dev/cardbus/if_fxp_cardbus.c
sys/dev/cardbus/pccardcis.h
sys/dev/cardbus/rbus.c
sys/dev/cardbus/rbus.h
sys/dev/pci/pccbb.c
sys/dev/pci/pccbbreg.h
sys/dev/pci/pccbbvar.h
CVSweb <webmaster@jp.NetBSD.org>