Up to [cvs.netbsd.org] / src / sys / dev / cardbus
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.108 / (download) - annotate - [select for diffs], Mon Aug 1 11:20:27 2011 UTC (9 months, 3 weeks ago) by drochner
Branch: MAIN
CVS Tags: yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
yamt-pagecache,
netbsd-6-base,
netbsd-6,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base,
jmcneill-usbmp,
jmcneill-audiomp3-base,
jmcneill-audiomp3,
HEAD
Changes since 1.107: +7 -10
lines
Diff to previous 1.107 (colored)
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.99.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:09 2010 UTC (2 years ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.99: +84 -93
lines
Diff to previous 1.99 (colored) next main 1.100 (colored)
Sync with HEAD.
Revision 1.91.4.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:24 2010 UTC (2 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.91.4.2: +84 -99
lines
Diff to previous 1.91.4.2 (colored) to branchpoint 1.91 (colored) next main 1.92 (colored)
sync with head
Revision 1.107 / (download) - annotate - [select for diffs], Thu Mar 4 22:37:38 2010 UTC (2 years, 2 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
rmind-uvmplock,
matt-mips64-premerge-20101231,
jruoho-x86intr-base,
jruoho-x86intr,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Changes since 1.106: +2 -6
lines
Diff to previous 1.106 (colored)
Get rid of the #if 1 surrounding #include <dev/cardbus/rbus.h>. This is *always* compiled with #define rbus 1, so get rid of the conditional compilation. ath, atw, and rtw work fine after this change.
Revision 1.106 / (download) - annotate - [select for diffs], Fri Feb 26 01:12:56 2010 UTC (2 years, 2 months ago) by dyoung
Branch: MAIN
Changes since 1.105: +16 -2
lines
Diff to previous 1.105 (colored)
Introduce Cardbus_intr_establish(cardbus_devfunc_t, ...) and Cardbus_intr_disestablish(cardbus_devfunc_t, ...) and start using them.
Revision 1.105 / (download) - annotate - [select for diffs], Fri Feb 26 00:57:01 2010 UTC (2 years, 2 months ago) by dyoung
Branch: MAIN
Changes since 1.104: +34 -34
lines
Diff to previous 1.104 (colored)
Use PCI_ constants and macros instead of CARDBUS_. Use
Cardbus_conf_{read,write}() instead of cardbus_conf_{read,write}().
Delete all of the CARDBUS_ constants and macros that replicate PCI_.
Compile-tested, only.
Revision 1.104 / (download) - annotate - [select for diffs], Thu Feb 25 21:18:35 2010 UTC (2 years, 2 months ago) by dyoung
Branch: MAIN
Changes since 1.103: +5 -5
lines
Diff to previous 1.103 (colored)
Phase out some CardBus constants and types. Use the equivalent PCI
constants and types, instead:
CARDBUS_CLASS_REG -> PCI_CLASS_REG
CARDBUS_ID_REG -> PCI_ID_REG
cardbus_product_id_t -> pci_product_id_t
cardbus_vendor_id_t -> pci_vendor_id_t
Revision 1.103 / (download) - annotate - [select for diffs], Thu Feb 25 00:47:39 2010 UTC (2 years, 2 months ago) by dyoung
Branch: MAIN
Changes since 1.102: +2 -4
lines
Diff to previous 1.102 (colored)
Cardbus_free_tag() and cardbus_free_tag() are no-ops, so get rid of them to simplify the code a bit.
Revision 1.102 / (download) - annotate - [select for diffs], Wed Feb 24 23:38:40 2010 UTC (2 years, 3 months ago) by dyoung
Branch: MAIN
Changes since 1.101: +33 -34
lines
Diff to previous 1.101 (colored)
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.101 / (download) - annotate - [select for diffs], Wed Feb 24 22:37:57 2010 UTC (2 years, 3 months ago) by dyoung
Branch: MAIN
Changes since 1.100: +4 -4
lines
Diff to previous 1.100 (colored)
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.100 / (download) - annotate - [select for diffs], Tue Feb 23 19:28:00 2010 UTC (2 years, 3 months ago) by dyoung
Branch: MAIN
Changes since 1.99: +2 -18
lines
Diff to previous 1.99 (colored)
Remove unused functions pci_disable_retry() and cardbus_disable_retry().
Revision 1.99 / (download) - annotate - [select for diffs], Fri Jan 8 19:47:42 2010 UTC (2 years, 4 months ago) by dyoung
Branch: MAIN
CVS Tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Changes since 1.98: +4 -4
lines
Diff to previous 1.98 (colored)
Expand PMF_FN_* macros.
Revision 1.98 / (download) - annotate - [select for diffs], Tue Dec 15 22:17:12 2009 UTC (2 years, 5 months ago) by snj
Branch: MAIN
Changes since 1.97: +2 -8
lines
Diff to previous 1.97 (colored)
Move to 2-clause license. Approved by HAYAKAWA Koichi (copyright holder).
Revision 1.91.4.2 / (download) - annotate - [select for diffs], Sat May 16 10:41:19 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.91.4.1: +4 -4
lines
Diff to previous 1.91.4.1 (colored) to branchpoint 1.91 (colored)
sync with head
Revision 1.95.10.1 / (download) - annotate - [select for diffs], Wed May 13 17:19:15 2009 UTC (3 years ago) by jym
Branch: jym-xensuspend
Changes since 1.95: +6 -6
lines
Diff to previous 1.95 (colored) next main 1.96 (colored)
Sync with HEAD. Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.97 / (download) - annotate - [select for diffs], Tue May 12 12:11:17 2009 UTC (3 years ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
matt-premerge-20091211,
jymxensuspend-base,
jym-xensuspend-nbase,
jym-xensuspend-base
Changes since 1.96: +4 -4
lines
Diff to previous 1.96 (colored)
struct cfdata * -> cfdata_t, no functional changes intended.
Revision 1.91.4.1 / (download) - annotate - [select for diffs], Mon May 4 08:12:35 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.91: +39 -35
lines
Diff to previous 1.91 (colored)
sync with head.
Revision 1.95.4.1 / (download) - annotate - [select for diffs], Tue Apr 28 07:35:20 2009 UTC (3 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.95: +4 -4
lines
Diff to previous 1.95 (colored) next main 1.96 (colored)
Sync with HEAD.
Revision 1.96 / (download) - annotate - [select for diffs], Thu Apr 2 00:09:33 2009 UTC (3 years, 1 month ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base
Changes since 1.95: +4 -4
lines
Diff to previous 1.95 (colored)
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.91.6.2 / (download) - annotate - [select for diffs], Thu Sep 18 04:35:02 2008 UTC (3 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.91.6.1: +22 -27
lines
Diff to previous 1.91.6.1 (colored) to branchpoint 1.91 (colored) next main 1.92 (colored)
Sync with wrstuden-revivesa-base-2.
Revision 1.87.6.2 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:05 2008 UTC (3 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.87.6.1: +36 -32
lines
Diff to previous 1.87.6.1 (colored) to branchpoint 1.87 (colored) next main 1.88 (colored)
Sync with HEAD.
Revision 1.91.8.2 / (download) - annotate - [select for diffs], Fri Jun 27 15:11:20 2008 UTC (3 years, 10 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.91.8.1: +22 -27
lines
Diff to previous 1.91.8.1 (colored) to branchpoint 1.91 (colored) next main 1.92 (colored)
Sync with head.
Revision 1.95 / (download) - annotate - [select for diffs], Wed Jun 25 11:42:32 2008 UTC (3 years, 11 months ago) by drochner
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
simonb-wapbl-nbase,
simonb-wapbl-base,
nick-hppapmap-base2,
netbsd-5-base,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
mjf-devfs2-base,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
haad-dm,
ad-audiomp2-base,
ad-audiomp2
Branch point for: nick-hppapmap,
jym-xensuspend
Changes since 1.94: +21 -19
lines
Diff to previous 1.94 (colored)
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.94 / (download) - annotate - [select for diffs], Tue Jun 24 19:44:52 2008 UTC (3 years, 11 months ago) by drochner
Branch: MAIN
Changes since 1.93: +3 -3
lines
Diff to previous 1.93 (colored)
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.93 / (download) - annotate - [select for diffs], Tue Jun 24 17:32:09 2008 UTC (3 years, 11 months ago) by drochner
Branch: MAIN
Changes since 1.92: +2 -9
lines
Diff to previous 1.92 (colored)
clean up some useless code and variables in cardbus attachment
Revision 1.91.6.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:31:01 2008 UTC (3 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.91: +18 -9
lines
Diff to previous 1.91 (colored)
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.91.8.1 / (download) - annotate - [select for diffs], Wed Jun 18 16:33:04 2008 UTC (3 years, 11 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.91: +18 -9
lines
Diff to previous 1.91 (colored)
Sync with head.
Revision 1.91.2.1 / (download) - annotate - [select for diffs], Tue Jun 17 09:14:33 2008 UTC (3 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.91: +18 -9
lines
Diff to previous 1.91 (colored) next main 1.92 (colored)
sync with head.
Revision 1.92 / (download) - annotate - [select for diffs], Wed Jun 11 07:01:54 2008 UTC (3 years, 11 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pf42-base4,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base
Changes since 1.91: +18 -9
lines
Diff to previous 1.91 (colored)
*Always* update the desired power status of each CardBus function, even if we cannot remove power from the function because its device property 'pmf-powerdown' is present and equal to false. Because we were not tracking the power status properly before, we were not taking cards out of reset after a suspend/resume cycle on their CardBus bridge. We would lose the use of the card that way.
Revision 1.87.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:38 2008 UTC (4 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.87: +35 -33
lines
Diff to previous 1.87 (colored)
Sync with HEAD.
Revision 1.87.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:15:15 2008 UTC (4 years, 2 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.87: +35 -33
lines
Diff to previous 1.87 (colored) next main 1.88 (colored)
sync with head.
Revision 1.75.18.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:36 2008 UTC (4 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.75.18.2: +37 -33
lines
Diff to previous 1.75.18.2 (colored) to branchpoint 1.75 (colored) next main 1.76 (colored)
sync with HEAD
Revision 1.61.4.9 / (download) - annotate - [select for diffs], Mon Mar 17 09:14:40 2008 UTC (4 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.61.4.8: +7 -4
lines
Diff to previous 1.61.4.8 (colored) to branchpoint 1.61 (colored) next main 1.62 (colored)
sync with head.
Revision 1.91 / (download) - annotate - [select for diffs], Wed Mar 12 18:02:21 2008 UTC (4 years, 2 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base3,
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,
simonb-wapbl
Changes since 1.90: +6 -3
lines
Diff to previous 1.90 (colored)
Use device_t and its accessors throughout. Use aprint_*_dev().
Improve PMF-ability.
Add a 'flags' argument to suspend/resume handlers and
callers such as pmf_system_suspend().
Define a flag, PMF_F_SELF, which indicates to PMF that a
device is suspending/resuming itself. Add helper routines,
pmf_device_suspend_self(dev) and pmf_device_resume_self(dev),
that call pmf_device_suspend(dev, PMF_F_SELF) and
pmf_device_resume(dev, PMF_F_SELF), respectively. Use
PMF_F_SELF to suspend/resume self in ath(4), audio(4),
rtw(4), and sip(4).
In ath(4) and in rtw(4), replace the icky sc_enable/sc_disable
callbacks, provided by the bus front-end, with
self-suspension/resumption. Also, clean up the bus
front-ends. Make sure that the interrupt handler is
disestablished during suspension. Get rid of driver-private
flags (e.g., RTW_F_ENABLED, ath_softc->sc_invalid); use
device_is_active()/device_has_power() calls, instead.
In the network-class suspend handler, call if_stop(, 0)
instead of if_stop(, 1), because the latter is superfluous
(bus- and driver-suspension hooks will 'disable' the NIC),
and it may cause recursion.
In the network-class resume handler, prevent infinite
recursion through if_init() by getting out early if we are
self-suspending (PMF_F_SELF).
rtw(4) improvements:
Destroy rtw(4) callouts when we detach it. Make rtw at
pci detachable. Print some more information with the "rx
frame too long" warning.
Remove activate() methods:
Get rid of rtw_activate() and ath_activate(). The device
activate() methods are not good for much these days.
Make ath at cardbus resume with crypto functions intact:
Introduce a boolean device property, "pmf-powerdown". If
pmf-powerdown is present and false, it indicates that a
bus back-end should not remove power from a device.
Honor this property in cardbus_child_suspend().
Set this property to 'false' in ath_attach(), since removing
power from an ath at cardbus seems to lobotomize the WPA
crypto engine. XXX Should the pmf-powerdown property
propagate toward the root of the device tree?
Miscellaneous ath(4) changes:
Warn if ath(4) tries to write crypto keys to suspended
hardware.
Reduce differences between FreeBSD and NetBSD in ath(4)
multicast filter setup.
Make ath_printrxbuf() print an rx descriptor's status &
key index, to help debug crypto errors.
Shorten a staircase in ath_ioctl(). Don't check for
ieee80211_ioctl() return code ERESTART, it never happens.
Revision 1.90 / (download) - annotate - [select for diffs], Thu Feb 28 14:25:12 2008 UTC (4 years, 2 months ago) by drochner
Branch: MAIN
Changes since 1.89: +3 -3
lines
Diff to previous 1.89 (colored)
Extend the pmf suspend/resume hooks by a shutdown method, so drivers can register a shutdown handler explicitely. Install a pci bus shutdown handler which disables bus master accesses for all childs, so the drivers don't need to care. This will hopefully be sufficient to replace the shutdownhooks (together with the powerhooks). (It has been suggested to use some general event notification framework for shutdown handlers, but there might be cases where shutdown handlers must be run in an order following the device hierarchy, which wouldn't be easy with event handlers not tied to drivers.) approved by David Young
Revision 1.61.4.8 / (download) - annotate - [select for diffs], Wed Feb 27 08:36:31 2008 UTC (4 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.61.4.7: +30 -31
lines
Diff to previous 1.61.4.7 (colored) to branchpoint 1.61 (colored)
sync with head.
Revision 1.89 / (download) - annotate - [select for diffs], Sat Feb 23 00:30:56 2008 UTC (4 years, 3 months ago) by dyoung
Branch: MAIN
CVS Tags: hpcarm-cleanup-base
Changes since 1.88: +3 -7
lines
Diff to previous 1.88 (colored)
Reduce diffs between cardbus_set_powerstate_int() and pci_set_powerstate_int().
Revision 1.88 / (download) - annotate - [select for diffs], Fri Feb 22 23:30:42 2008 UTC (4 years, 3 months ago) by dyoung
Branch: MAIN
Changes since 1.87: +29 -26
lines
Diff to previous 1.87 (colored)
Make the CardBus D2/D3 power-handling more alike to PCI's, but without the typos. :-) Use device_t and accessors. Use aprint_*_dev(). Use PMF_FN_*.
Revision 1.76.2.4 / (download) - annotate - [select for diffs], Mon Feb 18 21:05:36 2008 UTC (4 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.76.2.3: +16 -11
lines
Diff to previous 1.76.2.3 (colored) to branchpoint 1.76 (colored) next main 1.77 (colored)
Sync with HEAD.
Revision 1.61.4.7 / (download) - annotate - [select for diffs], Mon Feb 11 14:59:33 2008 UTC (4 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.61.4.6: +4 -2
lines
Diff to previous 1.61.4.6 (colored) to branchpoint 1.61 (colored)
sync with head.
Revision 1.87 / (download) - annotate - [select for diffs], Wed Feb 6 22:06:28 2008 UTC (4 years, 3 months ago) by dyoung
Branch: MAIN
CVS Tags: nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base
Branch point for: mjf-devfs2,
keiichi-mipv6
Changes since 1.86: +4 -2
lines
Diff to previous 1.86 (colored)
Assert that 'offset' is divisible by four, since we're using it to index a PCI configuration register.
Revision 1.61.4.6 / (download) - annotate - [select for diffs], Mon Jan 21 09:42:39 2008 UTC (4 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.61.4.5: +232 -81
lines
Diff to previous 1.61.4.5 (colored) to branchpoint 1.61 (colored)
sync with head
Revision 1.75.18.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:52:28 2008 UTC (4 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.75.18.1: +274 -102
lines
Diff to previous 1.75.18.1 (colored) to branchpoint 1.75 (colored)
sync with HEAD
Revision 1.81.2.2 / (download) - annotate - [select for diffs], Tue Jan 8 22:10:57 2008 UTC (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.81.2.1: +8 -6
lines
Diff to previous 1.81.2.1 (colored) to branchpoint 1.81 (colored) next main 1.82 (colored)
Sync with HEAD
Revision 1.86 / (download) - annotate - [select for diffs], Thu Jan 3 23:15:43 2008 UTC (4 years, 4 months ago) by dyoung
Branch: MAIN
CVS Tags: matt-armv6-base,
bouyer-xeni386-nbase,
bouyer-xeni386-base
Changes since 1.85: +7 -6
lines
Diff to previous 1.85 (colored)
Disable pci_disable_retry() and cardbus_disable_retry(), with a long comment on pci_disable_retry() (cross-referenced at cardbus_disable_retry()) that explains why.
Revision 1.85 / (download) - annotate - [select for diffs], Wed Jan 2 23:04:25 2008 UTC (4 years, 4 months ago) by dyoung
Branch: MAIN
Changes since 1.84: +3 -3
lines
Diff to previous 1.84 (colored)
Don't assign a cardbus function tag to a cardbus chipset tag. Michael Lorenz, macallan@, actually found this bug. (I will change cardbus_chipset_tag_t to a struct * from void *, so that the compiler will detect similar typos in the future.)
Revision 1.84 / (download) - annotate - [select for diffs], Wed Jan 2 22:29:00 2008 UTC (4 years, 4 months ago) by dyoung
Branch: MAIN
Changes since 1.83: +4 -3
lines
Diff to previous 1.83 (colored)
Do not read past the CIS region. Stops an MCHK exception on macppc (reported by macallan@). I originally detected this bug by activating 'PCI master target abort' interrupts on the AMD Elan SC520 processor. Lo and behold, several interrupts occurred before the system had finished booting! NetBSD should probably activate PCI exception reporting whenever it is available.
Revision 1.81.2.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:53:57 2008 UTC (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.81: +20 -6
lines
Diff to previous 1.81 (colored)
Sync with HEAD
Revision 1.83 / (download) - annotate - [select for diffs], Wed Jan 2 02:05:19 2008 UTC (4 years, 4 months ago) by dyoung
Branch: MAIN
Changes since 1.82: +6 -5
lines
Diff to previous 1.82 (colored)
Add a debug message with aprint_debug_dev(). Use the right bus tag.
Revision 1.76.2.3 / (download) - annotate - [select for diffs], Thu Dec 27 00:44:57 2007 UTC (4 years, 5 months ago) by mjf
Branch: mjf-devfs
Changes since 1.76.2.2: +225 -77
lines
Diff to previous 1.76.2.2 (colored) to branchpoint 1.76 (colored)
Sync with HEAD.
Revision 1.80.2.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:46:04 2007 UTC (4 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.80: +225 -77
lines
Diff to previous 1.80 (colored) next main 1.81 (colored)
Sync with head.
Revision 1.82 / (download) - annotate - [select for diffs], Sun Dec 16 21:28:30 2007 UTC (4 years, 5 months ago) by dyoung
Branch: MAIN
CVS Tags: vmlocking2-base3
Changes since 1.81: +16 -3
lines
Diff to previous 1.81 (colored)
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.80.4.1 / (download) - annotate - [select for diffs], Tue Dec 11 15:25:32 2007 UTC (4 years, 5 months ago) by yamt
Branch: yamt-kmem
Changes since 1.80: +211 -76
lines
Diff to previous 1.80 (colored) next main 1.81 (colored)
sync with head.
Revision 1.81 / (download) - annotate - [select for diffs], Sun Dec 9 20:27:55 2007 UTC (4 years, 5 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-kmem-base3,
yamt-kmem-base2,
cube-autoconf-base,
cube-autoconf
Branch point for: bouyer-xeni386
Changes since 1.80: +211 -76
lines
Diff to previous 1.80 (colored)
Merge jmcneill-pm branch.
Revision 1.76.2.2 / (download) - annotate - [select for diffs], Sat Dec 8 18:19:25 2007 UTC (4 years, 5 months ago) by mjf
Branch: mjf-devfs
Changes since 1.76.2.1: +7 -6
lines
Diff to previous 1.76.2.1 (colored) to branchpoint 1.76 (colored)
Sync with HEAD.
Revision 1.75.16.9 / (download) - annotate - [select for diffs], Sat Dec 8 16:21:07 2007 UTC (4 years, 5 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.75.16.8: +8 -8
lines
Diff to previous 1.75.16.8 (colored) to branchpoint 1.75 (colored) next main 1.76 (colored)
Rename pnp(9) -> pmf(9), as requested by many.
Revision 1.61.4.5 / (download) - annotate - [select for diffs], Fri Dec 7 17:29:41 2007 UTC (4 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.61.4.4: +44 -23
lines
Diff to previous 1.61.4.4 (colored) to branchpoint 1.61 (colored)
sync with head
Revision 1.75.16.8 / (download) - annotate - [select for diffs], Sat Dec 1 17:57:26 2007 UTC (4 years, 5 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.75.16.7: +3 -3
lines
Diff to previous 1.75.16.7 (colored) to branchpoint 1.75 (colored)
Sync with HEAD.
Revision 1.80 / (download) - annotate - [select for diffs], Sat Dec 1 17:56:59 2007 UTC (4 years, 5 months ago) by jmcneill
Branch: 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
Changes since 1.79: +3 -3
lines
Diff to previous 1.79 (colored)
One of these aprint_normals should have been aprint_naive
Revision 1.75.16.7 / (download) - annotate - [select for diffs], Sat Dec 1 05:51:31 2007 UTC (4 years, 5 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.75.16.6: +7 -6
lines
Diff to previous 1.75.16.6 (colored) to branchpoint 1.75 (colored)
Sync with HEAD.
Revision 1.79 / (download) - annotate - [select for diffs], Sat Dec 1 05:51:16 2007 UTC (4 years, 5 months ago) by jmcneill
Branch: MAIN
Changes since 1.78: +7 -6
lines
Diff to previous 1.78 (colored)
aprintify
Revision 1.75.16.6 / (download) - annotate - [select for diffs], Wed Nov 21 21:54:24 2007 UTC (4 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.75.16.5: +40 -20
lines
Diff to previous 1.75.16.5 (colored) to branchpoint 1.75 (colored)
Sync with HEAD.
Revision 1.76.2.1 / (download) - annotate - [select for diffs], Mon Nov 19 00:47:45 2007 UTC (4 years, 6 months ago) by mjf
Branch: mjf-devfs
Changes since 1.76: +40 -20
lines
Diff to previous 1.76 (colored)
Sync with HEAD.
Revision 1.75.22.2 / (download) - annotate - [select for diffs], Sun Nov 18 19:35:18 2007 UTC (4 years, 6 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.75.22.1: +38 -18
lines
Diff to previous 1.75.22.1 (colored) to branchpoint 1.75 (colored) next main 1.76 (colored)
Sync with HEAD
Revision 1.78 / (download) - annotate - [select for diffs], Fri Nov 16 20:25:47 2007 UTC (4 years, 6 months ago) by dyoung
Branch: MAIN
CVS Tags: bouyer-xenamd64-base2,
bouyer-xenamd64-base
Changes since 1.77: +2 -4
lines
Diff to previous 1.77 (colored)
Take out some debug messages that accidentally slipped in. Thanks, Bernd Ernesti, for letting me know! :-)
Revision 1.77 / (download) - annotate - [select for diffs], Fri Nov 16 18:36:52 2007 UTC (4 years, 6 months ago) by dyoung
Branch: MAIN
Changes since 1.76: +42 -20
lines
Diff to previous 1.76 (colored)
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.75.18.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:25:48 2007 UTC (4 years, 6 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.75: +3 -3
lines
Diff to previous 1.75 (colored)
sync with HEAD
Revision 1.75.16.5 / (download) - annotate - [select for diffs], Tue Nov 6 14:27:15 2007 UTC (4 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.75.16.4: +71 -198
lines
Diff to previous 1.75.16.4 (colored) to branchpoint 1.75 (colored)
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.61.4.4 / (download) - annotate - [select for diffs], Sat Oct 27 11:30:08 2007 UTC (4 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.61.4.3: +3 -3
lines
Diff to previous 1.61.4.3 (colored) to branchpoint 1.61 (colored)
sync with head.
Revision 1.75.16.4 / (download) - annotate - [select for diffs], Fri Oct 26 15:44:18 2007 UTC (4 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.75.16.3: +3 -3
lines
Diff to previous 1.75.16.3 (colored) to branchpoint 1.75 (colored)
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.75.22.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:37:11 2007 UTC (4 years, 7 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.75: +3 -3
lines
Diff to previous 1.75 (colored)
Sync with HEAD.
Revision 1.75.4.1 / (download) - annotate - [select for diffs], Tue Oct 23 20:06:56 2007 UTC (4 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.75: +3 -3
lines
Diff to previous 1.75 (colored) next main 1.76 (colored)
Sync with head.
Revision 1.76 / (download) - annotate - [select for diffs], Fri Oct 19 11:59:38 2007 UTC (4 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: jmcneill-base
Branch point for: mjf-devfs
Changes since 1.75: +3 -3
lines
Diff to previous 1.75 (colored)
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
Revision 1.75.16.3 / (download) - annotate - [select for diffs], Thu Oct 4 21:43:28 2007 UTC (4 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.75.16.2: +249 -50
lines
Diff to previous 1.75.16.2 (colored) to branchpoint 1.75 (colored)
Port generic PCI power handlers to cardbus.
Revision 1.75.16.2 / (download) - annotate - [select for diffs], Tue Sep 11 11:51:22 2007 UTC (4 years, 8 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.75.16.1: +3 -2
lines
Diff to previous 1.75.16.1 (colored) to branchpoint 1.75 (colored)
Missing break after PNP_REQUEST_SET_STATE case in cardbus_net_generic_power
Revision 1.75.16.1 / (download) - annotate - [select for diffs], Thu Aug 23 14:22:37 2007 UTC (4 years, 9 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.75: +134 -72
lines
Diff to previous 1.75 (colored)
Provide cardbus_{set,get}_powerstate instead of the former
cardbus_powerstate / cardbus_setpowerstate.
Provide cardbus_conf_{capture,restore} and cardbus_net_generic_power.
In general: reduce diff to PCI.
Revision 1.74.4.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:53:51 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.74: +4 -4
lines
Diff to previous 1.74 (colored) next main 1.75 (colored)
- sync with head. - move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
Revision 1.61.4.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:10:00 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.61.4.2: +4 -4
lines
Diff to previous 1.61.4.2 (colored) to branchpoint 1.61 (colored)
sync with head.
Revision 1.75 / (download) - annotate - [select for diffs], Sat Feb 17 20:20:08 2007 UTC (5 years, 3 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
yamt-idlelwp-base8,
vmlocking-base,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
mjf-ufs-trans-base,
mjf-ufs-trans,
matt-mips64-base,
matt-mips64,
hpcarm-cleanup,
ad-audiomp-base,
ad-audiomp
Branch point for: vmlocking,
matt-armv6,
jmcneill-pm,
bouyer-xenamd64
Changes since 1.74: +4 -4
lines
Diff to previous 1.74 (colored)
Use the ("%s: ...", __func__) idiom to correct function names and
help them stay correct.
Revision 1.61.4.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:47:57 2006 UTC (5 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.61.4.1: +4 -3
lines
Diff to previous 1.61.4.1 (colored) to branchpoint 1.61 (colored)
sync with head.
Revision 1.72.8.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:16:58 2006 UTC (5 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.72.8.1: +7 -7
lines
Diff to previous 1.72.8.1 (colored) to branchpoint 1.72 (colored) next main 1.73 (colored)
sync with head.
Revision 1.72.6.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:04 2006 UTC (5 years, 6 months ago) by ad
Branch: newlock2
Changes since 1.72: +4 -3
lines
Diff to previous 1.72 (colored) next main 1.73 (colored)
Sync with head.
Revision 1.74 / (download) - annotate - [select for diffs], Thu Nov 16 01:32:48 2006 UTC (5 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
post-newlock2-merge,
newlock2-nbase,
newlock2-base,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
matt-nb4-arm-base,
matt-nb4-arm
Branch point for: yamt-idlelwp
Changes since 1.73: +7 -7
lines
Diff to previous 1.73 (colored)
__unused removal on arguments; approved by core.
Revision 1.72.8.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:05:35 2006 UTC (5 years, 7 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.72: +8 -7
lines
Diff to previous 1.72 (colored)
sync with head
Revision 1.73 / (download) - annotate - [select for diffs], Thu Oct 12 01:30:55 2006 UTC (5 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.72: +8 -7
lines
Diff to previous 1.72 (colored)
- sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
Revision 1.68.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:49:44 2006 UTC (5 years, 8 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.68: +16 -13
lines
Diff to previous 1.68 (colored) next main 1.69 (colored)
sync with head
Revision 1.68.8.2 / (download) - annotate - [select for diffs], Mon Jun 26 12:50:37 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.68.8.1: +8 -6
lines
Diff to previous 1.68.8.1 (colored) to branchpoint 1.68 (colored) next main 1.69 (colored)
sync with head.
Revision 1.61.4.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:02:45 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.61: +32 -60
lines
Diff to previous 1.61 (colored)
sync with head.
Revision 1.71.2.1 / (download) - annotate - [select for diffs], Mon Jun 19 03:58:12 2006 UTC (5 years, 11 months ago) by chap
Branch: chap-midi
Changes since 1.71: +8 -6
lines
Diff to previous 1.71 (colored) next main 1.72 (colored)
Sync with head.
Revision 1.68.6.2 / (download) - annotate - [select for diffs], Wed Jun 7 15:51:08 2006 UTC (5 years, 11 months ago) by kardel
Branch: simonb-timecounters
Changes since 1.68.6.1: +8 -6
lines
Diff to previous 1.68.6.1 (colored) to branchpoint 1.68 (colored) next main 1.69 (colored)
Sync with head.
Revision 1.72 / (download) - annotate - [select for diffs], Sun Jun 4 19:27:59 2006 UTC (5 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
yamt-pdpolicy-base6,
simonb-timecounters-base,
rpaulo-netinet-merge-pcb-base,
gdamore-uart-base,
gdamore-uart,
chap-midi-nbase,
chap-midi-base,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-splraiseipl,
newlock2
Changes since 1.71: +8 -6
lines
Diff to previous 1.71 (colored)
Don't allocate 2K on the stack...
Revision 1.68.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:38:51 2006 UTC (6 years, 1 month ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.68: +10 -9
lines
Diff to previous 1.68 (colored)
Sync with head.
Revision 1.68.10.1 / (download) - annotate - [select for diffs], Wed Apr 19 03:24:32 2006 UTC (6 years, 1 month ago) by elad
Branch: elad-kernelauth
Changes since 1.68: +10 -9
lines
Diff to previous 1.68 (colored) next main 1.69 (colored)
sync with head.
Revision 1.68.8.1 / (download) - annotate - [select for diffs], Sat Apr 1 12:06:54 2006 UTC (6 years, 1 month ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.68: +10 -9
lines
Diff to previous 1.68 (colored)
sync with head.
Revision 1.68.12.1 / (download) - annotate - [select for diffs], Fri Mar 31 09:45:18 2006 UTC (6 years, 1 month ago) by tron
Branch: peter-altq
Changes since 1.68: +10 -9
lines
Diff to previous 1.68 (colored) next main 1.69 (colored)
Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
Revision 1.71 / (download) - annotate - [select for diffs], Wed Mar 29 06:22:38 2006 UTC (6 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: yamt-pdpolicy-base5,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
elad-kernelauth-base
Branch point for: chap-midi
Changes since 1.70: +5 -5
lines
Diff to previous 1.70 (colored)
Use device_private().
Revision 1.70 / (download) - annotate - [select for diffs], Wed Mar 29 06:00:46 2006 UTC (6 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.69: +3 -3
lines
Diff to previous 1.69 (colored)
Replace device_locators() with device_locator(), and use it.
Revision 1.69 / (download) - annotate - [select for diffs], Tue Mar 28 17:38:29 2006 UTC (6 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.68: +6 -5
lines
Diff to previous 1.68 (colored)
Use device_unit().
Revision 1.61.2.1 / (download) - annotate - [select for diffs], Fri Mar 24 22:31:52 2006 UTC (6 years, 2 months ago) by riz
Branch: 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
Changes since 1.61: +7 -6
lines
Diff to previous 1.61 (colored) next main 1.62 (colored)
Pull up following revision(s) (requested by drochner in ticket #1214): sys/dev/cardbus/cardbus.c: revision 1.65 fix parsing of some informational CIS tuples: correct length and handle the case correctly where a string is terminated with 0x00 0xff
Revision 1.68 / (download) - annotate - [select for diffs], Sun Dec 11 12:21:15 2005 UTC (6 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
peter-altq-base
Branch point for: yamt-pdpolicy,
simonb-timecounters,
rpaulo-netinet-merge-pcb,
peter-altq,
elad-kernelauth
Changes since 1.67: +2 -2
lines
Diff to previous 1.67 (colored)
merge ktrace-lwp.
Revision 1.47.2.7 / (download) - annotate - [select for diffs], Thu Nov 10 14:03:54 2005 UTC (6 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.47.2.6: +18 -49
lines
Diff to previous 1.47.2.6 (colored) to branchpoint 1.47 (colored) next main 1.48 (colored)
Sync with HEAD. Here we go again...
Revision 1.66.2.1 / (download) - annotate - [select for diffs], Wed Oct 26 08:32:45 2005 UTC (6 years, 7 months ago) by yamt
Branch: yamt-vop
Changes since 1.66: +3 -4
lines
Diff to previous 1.66 (colored) next main 1.67 (colored)
sync with head
Revision 1.67 / (download) - annotate - [select for diffs], Tue Oct 25 16:37:50 2005 UTC (6 years, 7 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-vop-base3,
yamt-vop-base2,
yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
yamt-readahead,
ktrace-lwp-base
Changes since 1.66: +3 -4
lines
Diff to previous 1.66 (colored)
finally nuke the useless cardbus "dev" locator
Revision 1.66 / (download) - annotate - [select for diffs], Fri Sep 9 14:50:58 2005 UTC (6 years, 8 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-vop-base,
thorpej-vnode-attr-base,
thorpej-vnode-attr
Branch point for: yamt-vop
Changes since 1.65: +8 -17
lines
Diff to previous 1.65 (colored)
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.65 / (download) - annotate - [select for diffs], Thu Sep 8 15:02:48 2005 UTC (6 years, 8 months ago) by drochner
Branch: MAIN
Changes since 1.64: +7 -6
lines
Diff to previous 1.64 (colored)
fix parsing of some informational CIS tuples: correct length and handle the case correctly where a string is terminated with 0x00 0xff
Revision 1.64 / (download) - annotate - [select for diffs], Fri Aug 26 11:01:42 2005 UTC (6 years, 9 months ago) by drochner
Branch: MAIN
Changes since 1.63: +3 -3
lines
Diff to previous 1.63 (colored)
use XXXCF_NLOCS constants instead of magic numbers
Revision 1.63 / (download) - annotate - [select for diffs], Thu Aug 25 22:33:18 2005 UTC (6 years, 9 months ago) by drochner
Branch: MAIN
Changes since 1.62: +3 -23
lines
Diff to previous 1.62 (colored)
kill a number of autoconf submatch functions which follow the standard scheme: if (<configured> != <wildcard> && <configured> != <real>) then fail else ask device match function This is handled by config_stdsubmatch() now.
Revision 1.62 / (download) - annotate - [select for diffs], Thu Aug 25 18:35:39 2005 UTC (6 years, 9 months ago) by drochner
Branch: MAIN
Changes since 1.61: +9 -11
lines
Diff to previous 1.61 (colored)
replace the "locdesc_t" structure carrying the number of locators explicitely by a plain integer array the length in now known to all relevant parties, so this avoids duplication of information, and we can allocate that thing in drivers without hacks
Revision 1.60.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:46 2005 UTC (7 years ago) by kent
Branch: kent-audio2
Changes since 1.60: +5 -5
lines
Diff to previous 1.60 (colored) next main 1.61 (colored)
sync with -current
Revision 1.60.6.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:33:55 2005 UTC (7 years, 2 months ago) by yamt
Branch: yamt-km
Changes since 1.60: +5 -5
lines
Diff to previous 1.60 (colored) next main 1.61 (colored)
sync with head. xen and whitespace. xen part is not finished.
Revision 1.47.2.6 / (download) - annotate - [select for diffs], Fri Mar 4 16:41:02 2005 UTC (7 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.47.2.5: +5 -5
lines
Diff to previous 1.47.2.5 (colored) to branchpoint 1.47 (colored)
Sync with HEAD. Hi Perry!
Revision 1.61 / (download) - annotate - [select for diffs], Sun Feb 27 00:26:59 2005 UTC (7 years, 2 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4,
yamt-km-base3,
netbsd-3-base,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
kent-audio2-base
Branch point for: yamt-lazymbuf,
netbsd-3
Changes since 1.60: +5 -5
lines
Diff to previous 1.60 (colored)
nuke trailing whitespace
Revision 1.47.2.5 / (download) - annotate - [select for diffs], Tue Oct 19 15:56:45 2004 UTC (7 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.47.2.4: +52 -33
lines
Diff to previous 1.47.2.4 (colored) to branchpoint 1.47 (colored)
Sync with HEAD
Revision 1.60 / (download) - annotate - [select for diffs], Thu Oct 14 03:24:00 2004 UTC (7 years, 7 months ago) by enami
Branch: MAIN
CVS Tags: yamt-km-base2,
yamt-km-base,
matt-timespec,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-km,
kent-audio2
Changes since 1.59: +16 -16
lines
Diff to previous 1.59 (colored)
Redo previous two commit a bit different way; - Just read as much as we can. - Handle some special tuples.
Revision 1.59 / (download) - annotate - [select for diffs], Sun Oct 10 22:26:34 2004 UTC (7 years, 7 months ago) by enami
Branch: MAIN
Changes since 1.58: +3 -3
lines
Diff to previous 1.58 (colored)
Terminate the search loop when something is found rather than when first iteration is done.
Revision 1.58 / (download) - annotate - [select for diffs], Sun Oct 10 22:10:06 2004 UTC (7 years, 7 months ago) by enami
Branch: MAIN
Changes since 1.57: +5 -2
lines
Diff to previous 1.57 (colored)
One more obvious test.
Revision 1.57 / (download) - annotate - [select for diffs], Sun Oct 10 22:00:36 2004 UTC (7 years, 7 months ago) by enami
Branch: MAIN
Changes since 1.56: +28 -17
lines
Diff to previous 1.56 (colored)
Don't overrun when decoding tuples.
Revision 1.56 / (download) - annotate - [select for diffs], Sun Oct 10 21:58:46 2004 UTC (7 years, 7 months ago) by enami
Branch: MAIN
Changes since 1.55: +21 -16
lines
Diff to previous 1.55 (colored)
Cosmetic changes.
Revision 1.47.2.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:27:25 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.47.2.3: +2 -2
lines
Diff to previous 1.47.2.3 (colored) to branchpoint 1.47 (colored)
Fix the sync with head I botched.
Revision 1.47.2.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:45:26 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.47.2.2: +2 -2
lines
Diff to previous 1.47.2.2 (colored) to branchpoint 1.47 (colored)
Sync with HEAD.
Revision 1.47.2.2 / (download) - annotate - [select for diffs], Wed Aug 25 06:57:34 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.47.2.1: +93 -43
lines
Diff to previous 1.47.2.1 (colored) to branchpoint 1.47 (colored)
Sync with HEAD.
Revision 1.55 / (download) - annotate - [select for diffs], Mon Aug 23 18:21:51 2004 UTC (7 years, 9 months ago) by drochner
Branch: MAIN
Changes since 1.54: +4 -2
lines
Diff to previous 1.54 (colored)
it is sufficient to include "locators.h" in cardbus.c
Revision 1.54 / (download) - annotate - [select for diffs], Mon Aug 23 17:52:45 2004 UTC (7 years, 9 months ago) by drochner
Branch: MAIN
Changes since 1.53: +21 -50
lines
Diff to previous 1.53 (colored)
kick out the error-prone handcrafted single-linked list of cardbus functions; replace by a simple *array[8]
Revision 1.53 / (download) - annotate - [select for diffs], Mon Aug 23 16:41:48 2004 UTC (7 years, 9 months ago) by drochner
Branch: MAIN
Changes since 1.52: +16 -7
lines
Diff to previous 1.52 (colored)
make the "selective probing" work, and minor cleanup (avoid using the macros which hide cfdata members, this doesn't help for anything)
Revision 1.52 / (download) - annotate - [select for diffs], Thu Aug 19 14:50:52 2004 UTC (7 years, 9 months ago) by drochner
Branch: MAIN
Changes since 1.51: +95 -27
lines
Diff to previous 1.51 (colored)
support rescan / manual detach This code needs cleanup, at least a reasonable linked list implementation (fixed a bug in detach_card() in the process which left a dangling pointer around). Also removed a questionable and undocumented use of the parent's device unit number as locator value. (As with the pcmcia code: someone please review wrt powerup/down etc.)
Revision 1.47.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:45:46 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.47: +128 -10
lines
Diff to previous 1.47 (colored)
Sync with HEAD
Revision 1.51 / (download) - annotate - [select for diffs], Mon Aug 2 19:14:28 2004 UTC (7 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.50: +4 -4
lines
Diff to previous 1.50 (colored)
cardbusdevs -> pcidevs
Revision 1.47.4.1 / (download) - annotate - [select for diffs], Fri Jul 23 22:15:16 2004 UTC (7 years, 10 months ago) by he
Branch: 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
Changes since 1.47: +9 -7
lines
Diff to previous 1.47 (colored) next main 1.48 (colored)
Pull up revision 1.50 (requested by mycroft in ticket #692): If the CIS pointer is all-0s, don't try to read the CIS.
Revision 1.50 / (download) - annotate - [select for diffs], Thu Jul 22 16:18:32 2004 UTC (7 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.49: +9 -7
lines
Diff to previous 1.49 (colored)
If the CIS pointer in all-0s, don't try to read the CIS.
Revision 1.49 / (download) - annotate - [select for diffs], Sat May 8 23:40:01 2004 UTC (8 years ago) by christos
Branch: MAIN
Changes since 1.48: +117 -2
lines
Diff to previous 1.48 (colored)
Cleanup and remove suplicate copies of the incorrect power setup code. Thanks to mycroft for suggesting this. XXX: This is a copy of the pci code; another reason cardbus needs to die.
Revision 1.48 / (download) - annotate - [select for diffs], Fri Apr 23 21:13:07 2004 UTC (8 years, 1 month ago) by itojun
Branch: MAIN
Changes since 1.47: +4 -3
lines
Diff to previous 1.47 (colored)
pass string length (= boundary info) to pci_devinfo so that we do not run over the end of memory region
Revision 1.28.2.8 / (download) - annotate - [select for diffs], Fri Jan 3 17:07:34 2003 UTC (9 years, 4 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.28.2.7: +9 -12
lines
Diff to previous 1.28.2.7 (colored) next main 1.29 (colored)
Sync with HEAD.
Revision 1.47 / (download) - annotate - [select for diffs], Wed Jan 1 00:10:17 2003 UTC (9 years, 4 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-2-0-base,
nathanw_sa_before_merge,
nathanw_sa_base,
fvdl_fs64_base
Branch point for: netbsd-2-0,
ktrace-lwp
Changes since 1.46: +9 -12
lines
Diff to previous 1.46 (colored)
Use aprint_normal() in cfprint routines.
Revision 1.28.2.7 / (download) - annotate - [select for diffs], Fri Oct 18 02:41:33 2002 UTC (9 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.28.2.6: +7 -8
lines
Diff to previous 1.28.2.6 (colored)
Catch up to -current.
Revision 1.35.2.3 / (download) - annotate - [select for diffs], Thu Oct 10 18:38:31 2002 UTC (9 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.35.2.2: +7 -8
lines
Diff to previous 1.35.2.2 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored)
sync kqueue with -current; this includes merge of gehenna-devsw branch, merge of i386 MP branch, and part of autoconf rototil work
Revision 1.46 / (download) - annotate - [select for diffs], Wed Oct 2 16:33:40 2002 UTC (9 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw
Changes since 1.45: +3 -3
lines
Diff to previous 1.45 (colored)
Add trailing ; to CFATTACH_DECL.
Revision 1.45 / (download) - annotate - [select for diffs], Mon Sep 30 20:52:26 2002 UTC (9 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.44: +4 -5
lines
Diff to previous 1.44 (colored)
Use CFATTACH_DECL().
Revision 1.44 / (download) - annotate - [select for diffs], Fri Sep 27 20:37:40 2002 UTC (9 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.43: +3 -3
lines
Diff to previous 1.43 (colored)
Declare all cfattach structures const.
Revision 1.43 / (download) - annotate - [select for diffs], Fri Sep 27 03:18:09 2002 UTC (9 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.42: +3 -3
lines
Diff to previous 1.42 (colored)
Introduce a new routine, config_match(), which invokes the cfattach->ca_match function in behalf of the caller. Use it rather than invoking cfattach->ca_match directly.
Revision 1.42 / (download) - annotate - [select for diffs], Fri Sep 27 02:24:29 2002 UTC (9 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.41: +4 -4
lines
Diff to previous 1.41 (colored)
Rather than referencing the cfdriver directly in the cfdata entries, instead use a string naming the driver. The cfdriver is then looked up in a list which is built at run-time.
Revision 1.35.2.2 / (download) - annotate - [select for diffs], Sun Jun 23 17:45:56 2002 UTC (9 years, 11 months ago) by jdolecek
Branch: kqueue
Changes since 1.35.2.1: +4 -5
lines
Diff to previous 1.35.2.1 (colored) to branchpoint 1.35 (colored)
catch up with -current on kqueue branch
Revision 1.40.8.1 / (download) - annotate - [select for diffs], Thu Jun 20 16:32:58 2002 UTC (9 years, 11 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.40: +4 -5
lines
Diff to previous 1.40 (colored) next main 1.41 (colored)
catch up with -current.
Revision 1.28.2.6 / (download) - annotate - [select for diffs], Thu Jun 20 03:44:21 2002 UTC (9 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.28.2.5: +4 -5
lines
Diff to previous 1.28.2.5 (colored)
Catch up to -current.
Revision 1.41 / (download) - annotate - [select for diffs], Sat Jun 1 23:50:56 2002 UTC (9 years, 11 months ago) by lukem
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.40: +4 -5
lines
Diff to previous 1.40 (colored)
SIMPLEQ rototill: - implement SIMPLEQ_REMOVE(head, elm, type, field). whilst it's O(n), this mirrors the functionality of SLIST_REMOVE() (the other singly-linked list type) and FreeBSD's STAILQ_REMOVE() - remove the unnecessary elm arg from SIMPLEQ_REMOVE_HEAD(). this mirrors the functionality of SLIST_REMOVE_HEAD() (the other singly-linked list type) and FreeBSD's STAILQ_REMOVE_HEAD() - remove notes about SIMPLEQ not supporting arbitrary element removal - use SIMPLEQ_FOREACH() instead of home-grown for loops - use SIMPLEQ_EMPTY() appropriately - use SIMPLEQ_*() instead of accessing sqh_first,sqh_last,sqe_next directly - reorder manual page; be consistent about how the types are listed - other minor cleanups
Revision 1.35.2.1 / (download) - annotate - [select for diffs], Thu Jan 10 19:53:43 2002 UTC (10 years, 4 months ago) by thorpej
Branch: kqueue
Changes since 1.35: +16 -11
lines
Diff to previous 1.35 (colored)
Sync kqueue branch with -current.
Revision 1.28.2.5 / (download) - annotate - [select for diffs], Tue Jan 8 00:29:23 2002 UTC (10 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.28.2.4: +2 -6
lines
Diff to previous 1.28.2.4 (colored)
Catch up to -current.
Revision 1.40 / (download) - annotate - [select for diffs], Fri Nov 23 10:20:47 2001 UTC (10 years, 6 months ago) by enami
Branch: MAIN
CVS Tags: newlock-base,
newlock,
netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
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,
ifpoll-base,
ifpoll,
eeh-devprop-base,
eeh-devprop
Branch point for: gehenna-devsw
Changes since 1.39: +6 -7
lines
Diff to previous 1.39 (colored)
Use __func__ instead of __FUNCTION__.
Revision 1.39 / (download) - annotate - [select for diffs], Wed Nov 21 09:08:38 2001 UTC (10 years, 6 months ago) by enami
Branch: MAIN
Changes since 1.38: +7 -9
lines
Diff to previous 1.38 (colored)
Don't use __func__ as variable. It prevents compilation. Use __FUNCTION__ instead.
Revision 1.38 / (download) - annotate - [select for diffs], Thu Nov 15 09:48:02 2001 UTC (10 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.37: +2 -3
lines
Diff to previous 1.37 (colored)
don't need <sys/types.h> when including <sys/param.h>
Revision 1.28.2.4 / (download) - annotate - [select for diffs], Wed Nov 14 19:14:00 2001 UTC (10 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.28.2.3: +16 -7
lines
Diff to previous 1.28.2.3 (colored)
Catch up to -current.
Revision 1.37 / (download) - annotate - [select for diffs], Tue Nov 13 12:51:12 2001 UTC (10 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.36: +4 -1
lines
Diff to previous 1.36 (colored)
add RCSID
Revision 1.35.6.1 / (download) - annotate - [select for diffs], Mon Nov 12 21:17:57 2001 UTC (10 years, 6 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.35: +13 -7
lines
Diff to previous 1.35 (colored) next main 1.36 (colored)
Sync the thorpej-mips-cache branch with -current.
Revision 1.36 / (download) - annotate - [select for diffs], Tue Nov 6 03:11:10 2001 UTC (10 years, 6 months ago) by augustss
Branch: MAIN
CVS Tags: thorpej-mips-cache-base
Changes since 1.35: +13 -7
lines
Diff to previous 1.35 (colored)
Make some messages only appear with bootverbose. Add bus number to attach args.
Revision 1.28.2.3 / (download) - annotate - [select for diffs], Fri Aug 24 00:09:05 2001 UTC (10 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.28.2.2: +6 -1
lines
Diff to previous 1.28.2.2 (colored)
Catch up with -current.
Revision 1.35 / (download) - annotate - [select for diffs], Fri Jul 6 18:05:25 2001 UTC (10 years, 10 months ago) by mcr
Branch: MAIN
CVS Tags: thorpej-devvp-base3,
thorpej-devvp-base2,
thorpej-devvp-base,
thorpej-devvp,
pre-chs-ubcperf,
post-chs-ubcperf
Branch point for: thorpej-mips-cache,
kqueue
Changes since 1.34: +6 -1
lines
Diff to previous 1.34 (colored)
record handles for memory and io spaces
Revision 1.28.2.2 / (download) - annotate - [select for diffs], Thu Jun 21 20:01:21 2001 UTC (10 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.28.2.1: +28 -8
lines
Diff to previous 1.28.2.1 (colored)
Catch up to -current.
Revision 1.34 / (download) - annotate - [select for diffs], Wed May 9 18:16:39 2001 UTC (11 years ago) by thorpej
Branch: MAIN
Changes since 1.33: +3 -1
lines
Diff to previous 1.33 (colored)
Make sure `bhlc' is initialzed before we consult it to determine the number of functions on the card.
Revision 1.33 / (download) - annotate - [select for diffs], Wed May 9 12:06:25 2001 UTC (11 years ago) by augustss
Branch: MAIN
Changes since 1.32: +2 -2
lines
Diff to previous 1.32 (colored)
Fix grammaer in error message.
Revision 1.32 / (download) - annotate - [select for diffs], Wed Apr 25 09:29:36 2001 UTC (11 years, 1 month ago) by haya
Branch: MAIN
CVS Tags: thorpej_scsipi_beforemerge
Changes since 1.31: +20 -8
lines
Diff to previous 1.31 (colored)
Initialise all function's latency timer and cacheline size.
Revision 1.31 / (download) - annotate - [select for diffs], Wed Apr 25 09:20:32 2001 UTC (11 years, 1 month ago) by haya
Branch: MAIN
Changes since 1.30: +7 -1
lines
Diff to previous 1.30 (colored)
Set function-in-use flag before calling power control function in order to prevent turn on power twice. This change does not prevent power-off/power-on conflicts.
Revision 1.3.2.2 / (download) - annotate - [select for diffs], Sat Apr 21 17:48:17 2001 UTC (11 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.3.2.1: +601 -650
lines
Diff to previous 1.3.2.1 (colored) next main 1.4 (colored)
Sync with HEAD
Revision 1.28.2.1 / (download) - annotate - [select for diffs], Mon Apr 9 01:55:53 2001 UTC (11 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.28: +601 -650
lines
Diff to previous 1.28 (colored)
Catch up with -current.
Revision 1.30 / (download) - annotate - [select for diffs], Wed Mar 28 01:55:55 2001 UTC (11 years, 2 months ago) by enami
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase,
thorpej_scsipi_base
Changes since 1.29: +6 -10
lines
Diff to previous 1.29 (colored)
- Unmap space used to read tuple. - No need to zero clear temporary storage twice.
Revision 1.29 / (download) - annotate - [select for diffs], Wed Mar 28 01:53:14 2001 UTC (11 years, 2 months ago) by enami
Branch: MAIN
Changes since 1.28: +604 -649
lines
Diff to previous 1.28 (colored)
Cosmetic changes; mostly knf.
Revision 1.3.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 11:39:52 2000 UTC (11 years, 6 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.3: +501 -180
lines
Diff to previous 1.3 (colored)
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.28 / (download) - annotate - [select for diffs], Thu Oct 12 12:42:03 2000 UTC (11 years, 7 months ago) by wiz
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.27: +2 -2
lines
Diff to previous 1.27 (colored)
typo in comment (consifuration -> configuration)
Revision 1.27 / (download) - annotate - [select for diffs], Sun Jul 2 06:25:46 2000 UTC (11 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.26: +1 -6
lines
Diff to previous 1.26 (colored)
nuke some final __BROKEN_INDIRECT_CONFIG bits that weren't caught by unifdef last time. (bloody things just won't stay dead!)
Revision 1.25.2.1 / (download) - annotate - [select for diffs], Thu Jun 22 17:06:20 2000 UTC (11 years, 11 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.25: +1 -22
lines
Diff to previous 1.25 (colored) next main 1.26 (colored)
Sync w/ netbsd-1-5-base.
Revision 1.26 / (download) - annotate - [select for diffs], Fri Jun 16 23:41:33 2000 UTC (11 years, 11 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-5-base,
netbsd-1-5-RELEASE,
netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2,
netbsd-1-5
Changes since 1.25: +1 -22
lines
Diff to previous 1.25 (colored)
beat back the undead: __BROKEN_INDIRECT_CONFIG had risen, and was terrorizing innocent hackers...
Revision 1.25 / (download) - annotate - [select for diffs], Mon Apr 17 09:16:38 2000 UTC (12 years, 1 month ago) by joda
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.24: +12 -3
lines
Diff to previous 1.24 (colored)
extract serial funce
Revision 1.24 / (download) - annotate - [select for diffs], Sun Apr 2 19:11:37 2000 UTC (12 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.23: +2 -1
lines
Diff to previous 1.23 (colored)
Add a flag to tell whether a MAC address was actually found in the CIS. XXX This whole piece of code should go away ASAP. We should use a callback as in the PCMCIA code. In fact, we should use the PCMCIA code...
Revision 1.23 / (download) - annotate - [select for diffs], Wed Mar 22 09:35:06 2000 UTC (12 years, 2 months ago) by haya
Branch: MAIN
Changes since 1.22: +6 -18
lines
Diff to previous 1.22 (colored)
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.22 / (download) - annotate - [select for diffs], Tue Mar 7 09:36:52 2000 UTC (12 years, 2 months ago) by haya
Branch: MAIN
Changes since 1.21: +2 -2
lines
Diff to previous 1.21 (colored)
Fix CardBus device number. Though CardBus device number should be 0, the value of bridge's function number was assigned to the device number.
Revision 1.21 / (download) - annotate - [select for diffs], Tue Mar 7 00:30:57 2000 UTC (12 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.20: +7 -5
lines
Diff to previous 1.20 (colored)
Called the power function even for 5V cards. This at least gives the power a chance to stabilize before we frob the card.
Revision 1.20 / (download) - annotate - [select for diffs], Fri Feb 18 18:55:31 2000 UTC (12 years, 3 months ago) by soren
Branch: MAIN
Changes since 1.19: +4 -7
lines
Diff to previous 1.19 (colored)
Remove redundant CIS definitions.
Revision 1.19 / (download) - annotate - [select for diffs], Mon Jan 31 08:49:07 2000 UTC (12 years, 3 months ago) by haya
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.18: +13 -4
lines
Diff to previous 1.18 (colored)
Force power off when a CardBus card is detached. Use tsleep when kernel thread works.
Revision 1.18 / (download) - annotate - [select for diffs], Wed Jan 26 09:04:59 2000 UTC (12 years, 4 months ago) by haya
Branch: MAIN
Changes since 1.17: +43 -3
lines
Diff to previous 1.17 (colored)
Add cardbus detach functionality. Add a function cardbus_detach_card() in cardbus.c and enable detach code in cardslot.c
Revision 1.17 / (download) - annotate - [select for diffs], Thu Jan 13 10:27:31 2000 UTC (12 years, 4 months ago) by joda
Branch: MAIN
Changes since 1.16: +6 -4
lines
Diff to previous 1.16 (colored)
(cardbus_attach_card): zero out ca
Revision 1.16.2.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:34:37 1999 UTC (12 years, 5 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.16: +1 -1
lines
Diff to previous 1.16 (colored) next main 1.17 (colored)
Pull up to last week's -current.
Revision 1.16 / (download) - annotate - [select for diffs], Sat Dec 11 00:29:11 1999 UTC (12 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221
Branch point for: wrstuden-devbsize
Changes since 1.15: +43 -3
lines
Diff to previous 1.15 (colored)
Add cardbus_get_capability(), cloned from pci_get_capability().
Revision 1.15 / (download) - annotate - [select for diffs], Thu Nov 18 16:57:41 1999 UTC (12 years, 6 months ago) by joda
Branch: MAIN
Changes since 1.14: +2 -1
lines
Diff to previous 1.14 (colored)
include dev/cardbus/cardbusdevs.h
Revision 1.14 / (download) - annotate - [select for diffs], Thu Nov 18 15:11:15 1999 UTC (12 years, 6 months ago) by joda
Branch: MAIN
Changes since 1.13: +2 -2
lines
Diff to previous 1.13 (colored)
use CARDBUS_VENDOR_INVALID
Revision 1.13 / (download) - annotate - [select for diffs], Mon Nov 15 06:01:11 1999 UTC (12 years, 6 months ago) by haya
Branch: MAIN
Changes since 1.12: +78 -68
lines
Diff to previous 1.12 (colored)
Fill 0 into CardBus base address registers before a card is configured.
Revision 1.3.4.1 / (download) - annotate - [select for diffs], Mon Nov 15 00:40:16 1999 UTC (12 years, 6 months ago) by fvdl
Branch: fvdl-softdep
Changes since 1.3: +419 -171
lines
Diff to previous 1.3 (colored) next main 1.4 (colored)
Sync with -current
Revision 1.12 / (download) - annotate - [select for diffs], Fri Nov 12 18:18:38 1999 UTC (12 years, 6 months ago) by joda
Branch: MAIN
CVS Tags: fvdl-softdep-base
Changes since 1.11: +1 -3
lines
Diff to previous 1.11 (colored)
(cardbus_attach_card): don't free cc
Revision 1.11 / (download) - annotate - [select for diffs], Tue Nov 9 15:03:59 1999 UTC (12 years, 6 months ago) by joda
Branch: MAIN
Changes since 1.10: +2 -3
lines
Diff to previous 1.10 (colored)
make this compile with CARDBUS_DEBUG
Revision 1.10 / (download) - annotate - [select for diffs], Mon Nov 8 20:19:10 1999 UTC (12 years, 6 months ago) by joda
Branch: MAIN
Changes since 1.9: +149 -50
lines
Diff to previous 1.9 (colored)
Let decode_tuples take function to call for each tuple, and use this to get some vital information from the CIS (some network cards need this to get the mac-address). This should be merged with the related code for PCMCIA cards, but that requires more thought.
Revision 1.9 / (download) - annotate - [select for diffs], Mon Nov 1 09:59:23 1999 UTC (12 years, 6 months ago) by haya
Branch: MAIN
CVS Tags: comdex-fall-1999-base,
comdex-fall-1999
Changes since 1.8: +14 -14
lines
Diff to previous 1.8 (colored)
Change the interface of cardbus_function_enable() and cardbus_function_disable().
Revision 1.8 / (download) - annotate - [select for diffs], Fri Oct 29 12:02:13 1999 UTC (12 years, 6 months ago) by joda
Branch: MAIN
Changes since 1.7: +119 -100
lines
Diff to previous 1.7 (colored)
handle multi function cards
Revision 1.7 / (download) - annotate - [select for diffs], Fri Oct 29 11:30:27 1999 UTC (12 years, 6 months ago) by joda
Branch: MAIN
Changes since 1.6: +164 -29
lines
Diff to previous 1.6 (colored)
add support for reading memory mapped CIS via BAR or EXROM register
Revision 1.6 / (download) - annotate - [select for diffs], Fri Oct 29 07:29:08 1999 UTC (12 years, 7 months ago) by haya
Branch: MAIN
Changes since 1.5: +4 -2
lines
Diff to previous 1.5 (colored)
Remove unnecessary check in cardbusmatch.
Revision 1.5 / (download) - annotate - [select for diffs], Wed Oct 27 14:01:04 1999 UTC (12 years, 7 months ago) by joda
Branch: MAIN
Changes since 1.4: +2 -2
lines
Diff to previous 1.4 (colored)
(cardbus_attach_card): don't mask everything *but* the latency timer
Revision 1.4 / (download) - annotate - [select for diffs], Wed Oct 27 09:29:18 1999 UTC (12 years, 7 months ago) by haya
Branch: MAIN
Changes since 1.3: +4 -8
lines
Diff to previous 1.3 (colored)
Use opt_cardbus.h for cardbus.c and opt_cardslot.h for cardslot.c. Remove unnecessary include from cardbus.c.
Revision 1.3 / (download) - annotate - [select for diffs], Fri Oct 15 10:59:56 1999 UTC (12 years, 7 months ago) by augustss
Branch: MAIN
Branch point for: thorpej_scsipi,
fvdl-softdep
Changes since 1.2: +13 -3
lines
Diff to previous 1.2 (colored)
Comment out some debug settings. Change attach printing so it looks more standard.
Revision 1.2 / (download) - annotate - [select for diffs], Fri Oct 15 06:41:27 1999 UTC (12 years, 7 months ago) by haya
Branch: MAIN
Changes since 1.1: +1 -1
lines
Diff to previous 1.1 (colored)
add NetBSD ID tag
Revision 1.1 / (download) - annotate - [select for diffs], Fri Oct 15 06:07:17 1999 UTC (12 years, 7 months ago) by haya
Branch: 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