CVS commit: src/sys/dev/cardbus

2022-09-25 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun Sep 25 17:33:19 UTC 2022 Modified Files: src/sys/dev/cardbus: adv_cardbus.c if_ath_cardbus.c if_athn_cardbus.c if_atw_cardbus.c if_bwi_cardbus.c if_fxp_cardbus.c if_ral_cardbus.c if_rtk_cardbus.c

CVS commit: src/sys/dev/cardbus

2022-09-25 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun Sep 25 17:33:19 UTC 2022 Modified Files: src/sys/dev/cardbus: adv_cardbus.c if_ath_cardbus.c if_athn_cardbus.c if_atw_cardbus.c if_bwi_cardbus.c if_fxp_cardbus.c if_ral_cardbus.c if_rtk_cardbus.c

CVS commit: src/sys/dev/cardbus

2022-03-26 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Mar 26 13:41:16 UTC 2022 Modified Files: src/sys/dev/cardbus: cardbus.c Log Message: When reading CIS tuples from a BAR, do not blindly copy 2k of data (or to the end of the BAR space), but instead follow the tuples and stop

CVS commit: src/sys/dev/cardbus

2022-03-26 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Mar 26 13:41:16 UTC 2022 Modified Files: src/sys/dev/cardbus: cardbus.c Log Message: When reading CIS tuples from a BAR, do not blindly copy 2k of data (or to the end of the BAR space), but instead follow the tuples and stop

CVS commit: src/sys/dev/cardbus

2021-04-16 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Apr 17 01:19:48 UTC 2021 Modified Files: src/sys/dev/cardbus: cardslot.c cardslotvar.h Log Message: convert cardslot event thread from wakeup/tsleep to mutex/condvar. this avoids a strange hang at reboot i am seeing on an old

CVS commit: src/sys/dev/cardbus

2021-04-16 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Apr 17 01:19:48 UTC 2021 Modified Files: src/sys/dev/cardbus: cardslot.c cardslotvar.h Log Message: convert cardslot event thread from wakeup/tsleep to mutex/condvar. this avoids a strange hang at reboot i am seeing on an old

CVS commit: src/sys/dev/cardbus

2020-10-04 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Sun Oct 4 06:15:55 UTC 2020 Modified Files: src/sys/dev/cardbus: cardslot.c Log Message: Ensure event_thread stays in event loop upon creation. To generate a diff of this commit: cvs rdiff -u -r1.56 -r1.57

CVS commit: src/sys/dev/cardbus

2020-10-04 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Sun Oct 4 06:15:55 UTC 2020 Modified Files: src/sys/dev/cardbus: cardslot.c Log Message: Ensure event_thread stays in event loop upon creation. To generate a diff of this commit: cvs rdiff -u -r1.56 -r1.57

CVS commit: src/sys/dev/cardbus

2019-03-05 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Mar 5 08:16:53 UTC 2019 Modified Files: src/sys/dev/cardbus: rbus_ppb.c Log Message: Catch up with MI pci changes to fix compile error. To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47

CVS commit: src/sys/dev/cardbus

2019-03-05 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Mar 5 08:16:53 UTC 2019 Modified Files: src/sys/dev/cardbus: rbus_ppb.c Log Message: Catch up with MI pci changes to fix compile error. To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47

CVS commit: src/sys/dev/cardbus

2018-12-14 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Fri Dec 14 21:49:22 UTC 2018 Modified Files: src/sys/dev/cardbus: files.cardbus Added Files: src/sys/dev/cardbus: if_malo_cardbus.c Log Message: add cardbus attachment for malo(4), from OpenBSD To generate a diff of

CVS commit: src/sys/dev/cardbus

2018-12-14 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Fri Dec 14 21:49:22 UTC 2018 Modified Files: src/sys/dev/cardbus: files.cardbus Added Files: src/sys/dev/cardbus: if_malo_cardbus.c Log Message: add cardbus attachment for malo(4), from OpenBSD To generate a diff of

CVS commit: src/sys/dev/cardbus

2018-12-14 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Fri Dec 14 21:27:03 UTC 2018 Modified Files: src/sys/dev/cardbus: if_ral_cardbus.c Log Message: fix whitespace To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/dev/cardbus/if_ral_cardbus.c Please note

CVS commit: src/sys/dev/cardbus

2018-12-14 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Fri Dec 14 21:27:03 UTC 2018 Modified Files: src/sys/dev/cardbus: if_ral_cardbus.c Log Message: fix whitespace To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/dev/cardbus/if_ral_cardbus.c Please note

CVS commit: src/sys/dev/cardbus

2018-04-02 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Apr 2 11:02:53 UTC 2018 Modified Files: src/sys/dev/cardbus: ahc_cardbus.c Log Message: Remove extra printf duplicate with MI codes. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37

CVS commit: src/sys/dev/cardbus

2018-04-02 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Apr 2 11:02:53 UTC 2018 Modified Files: src/sys/dev/cardbus: ahc_cardbus.c Log Message: Remove extra printf duplicate with MI codes. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37

CVS commit: src/sys/dev/cardbus

2016-09-24 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Sep 24 23:54:49 UTC 2016 Modified Files: src/sys/dev/cardbus: cardslot.c Log Message: weak alias some pcmcia functions (to an returns error function) so this links when pcmcia isn't in the kernel. PR#7253. To generate a diff

CVS commit: src/sys/dev/cardbus

2016-09-24 Thread matthew green
Module Name:src Committed By: mrg Date: Sat Sep 24 23:54:49 UTC 2016 Modified Files: src/sys/dev/cardbus: cardslot.c Log Message: weak alias some pcmcia functions (to an returns error function) so this links when pcmcia isn't in the kernel. PR#7253. To generate a diff

CVS commit: src/sys/dev/cardbus

2014-10-17 Thread Masao Uebayashi
Module Name:src Committed By: uebayasi Date: Fri Oct 17 20:52:01 UTC 2014 Modified Files: src/sys/dev/cardbus: rbus_ppb.c Log Message: Fix i386 CARDBUS build. To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/sys/dev/cardbus/rbus_ppb.c Please note that

CVS commit: src/sys/dev/cardbus

2014-10-17 Thread Masao Uebayashi
Module Name:src Committed By: uebayasi Date: Fri Oct 17 20:52:01 UTC 2014 Modified Files: src/sys/dev/cardbus: rbus_ppb.c Log Message: Fix i386 CARDBUS build. To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/sys/dev/cardbus/rbus_ppb.c Please note that

CVS commit: src/sys/dev/cardbus

2013-11-21 Thread Jeff Rizzo
Module Name:src Committed By: riz Date: Thu Nov 21 21:17:50 UTC 2013 Modified Files: src/sys/dev/cardbus: if_rtw_cardbus.c Log Message: Expand #ifdef notyet section to encompass the use of the variable declared within. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/cardbus

2013-11-21 Thread Jeff Rizzo
Module Name:src Committed By: riz Date: Thu Nov 21 21:17:50 UTC 2013 Modified Files: src/sys/dev/cardbus: if_rtw_cardbus.c Log Message: Expand #ifdef notyet section to encompass the use of the variable declared within. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/cardbus

2013-10-17 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Oct 17 21:22:28 UTC 2013 Modified Files: src/sys/dev/cardbus: if_rtw_cardbus.c Log Message: move notyet variable into notyet section To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43

CVS commit: src/sys/dev/cardbus

2013-10-17 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Oct 17 21:22:28 UTC 2013 Modified Files: src/sys/dev/cardbus: if_rtw_cardbus.c Log Message: move notyet variable into notyet section To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43

CVS commit: src/sys/dev/cardbus

2012-02-17 Thread Matt Thomas
Module Name:src Committed By: matt Date: Sat Feb 18 00:36:57 UTC 2012 Modified Files: src/sys/dev/cardbus: cardbusvar.h Log Message: Remove uneeded and unused structure. To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56 src/sys/dev/cardbus/cardbusvar.h

CVS commit: src/sys/dev/cardbus

2012-02-17 Thread Matt Thomas
Module Name:src Committed By: matt Date: Sat Feb 18 00:36:57 UTC 2012 Modified Files: src/sys/dev/cardbus: cardbusvar.h Log Message: Remove uneeded and unused structure. To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56 src/sys/dev/cardbus/cardbusvar.h

CVS commit: src/sys/dev/cardbus

2011-05-24 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Tue May 24 16:37:04 UTC 2011 Modified Files: src/sys/dev/cardbus: cardslot.c Log Message: Kill redundant () To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53 src/sys/dev/cardbus/cardslot.c Please note that diffs are

CVS commit: src/sys/dev/cardbus

2010-07-27 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Tue Jul 27 21:05:04 UTC 2010 Modified Files: src/sys/dev/cardbus: if_rtk_cardbus.c Log Message: No need to store map size locally now. To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45

CVS commit: src/sys/dev/cardbus

2010-07-27 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Tue Jul 27 21:05:04 UTC 2010 Modified Files: src/sys/dev/cardbus: if_rtk_cardbus.c Log Message: No need to store map size locally now. To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45

CVS commit: src/sys/dev/cardbus

2010-06-04 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Jun 4 19:27:12 UTC 2010 Modified Files: src/sys/dev/cardbus: sdhc_cardbus.c Log Message: Collect garbage: sc_rbus_{iot,memt} are not used. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/sys/dev/cardbus

2010-04-19 Thread KIYOHARA Takashi
Module Name:src Committed By: kiyohara Date: Mon Apr 19 07:05:15 UTC 2010 Modified Files: src/sys/dev/cardbus: fwohci_cardbus.c Log Message: Not necessary '\n'. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sys/dev/cardbus/fwohci_cardbus.c Please

CVS commit: src/sys/dev/cardbus

2010-04-19 Thread KIYOHARA Takashi
Module Name:src Committed By: kiyohara Date: Mon Apr 19 07:05:15 UTC 2010 Modified Files: src/sys/dev/cardbus: fwohci_cardbus.c Log Message: Not necessary '\n'. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sys/dev/cardbus/fwohci_cardbus.c Please

CVS commit: src/sys/dev/cardbus

2010-03-31 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Apr 1 05:58:52 UTC 2010 Modified Files: src/sys/dev/cardbus: siisata_cardbus.c Log Message: Cosmetic: join a couple of lines. Stop storing the value of a BAR in a temporary variable with the name 'csr'. To generate a diff

CVS commit: src/sys/dev/cardbus

2010-03-22 Thread David Young
Module Name:src Committed By: dyoung Date: Mon Mar 22 17:23:44 UTC 2010 Modified Files: src/sys/dev/cardbus: if_ex_cardbus.c Log Message: Detach at shutdown. To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53 src/sys/dev/cardbus/if_ex_cardbus.c Please note

CVS commit: src/sys/dev/cardbus

2010-03-18 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Mar 18 20:52:43 UTC 2010 Modified Files: src/sys/dev/cardbus: if_fxp_cardbus.c Log Message: Simplify interrupt (dis)establishment by two source transformations: - cardbus_intr_disestablish(cc, cf, ih); +

CVS commit: src/sys/dev/cardbus

2010-03-18 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Mar 18 20:54:56 UTC 2010 Modified Files: src/sys/dev/cardbus: adv_cardbus.c ahc_cardbus.c com_cardbus.c siisata_cardbus.c uhci_cardbus.c Log Message: This is *always* compiled with #define rbus 1, so get rid of

CVS commit: src/sys/dev/cardbus

2010-03-18 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Mar 19 01:34:46 UTC 2010 Modified Files: src/sys/dev/cardbus: if_ex_cardbus.c Log Message: Use Cardbus_intr_disestablish() instead of cardbus_intr_disestablish(). Get rid of a (short) staircase in ex_cardbus_detach(). To

CVS commit: src/sys/dev/cardbus

2010-03-18 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Mar 19 01:44:05 UTC 2010 Modified Files: src/sys/dev/cardbus: cardslot.c Log Message: Remove superfluous cast (device_t to device_t). To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52

CVS commit: src/sys/dev/cardbus

2010-03-18 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Mar 18 20:51:42 UTC 2010 Modified Files: src/sys/dev/cardbus: if_ral_cardbus.c if_re_cardbus.c Log Message: This is *always* compiled with #define rbus 1, so get rid of the conditional compilation. Simplify interrupt

CVS commit: src/sys/dev/cardbus

2010-03-18 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Mar 18 20:52:43 UTC 2010 Modified Files: src/sys/dev/cardbus: if_fxp_cardbus.c Log Message: Simplify interrupt (dis)establishment by two source transformations: - cardbus_intr_disestablish(cc, cf, ih); +

CVS commit: src/sys/dev/cardbus

2010-03-15 Thread David Young
Module Name:src Committed By: dyoung Date: Mon Mar 15 19:43:17 UTC 2010 Modified Files: src/sys/dev/cardbus: cardbusvar.h Log Message: Delete unused members ct_rbus_iot and ct_rbus_memt from struct cardbus_devfunc. To generate a diff of this commit: cvs rdiff -u -r1.51

CVS commit: src/sys/dev/cardbus

2010-03-15 Thread David Young
Module Name:src Committed By: dyoung Date: Mon Mar 15 19:50:50 UTC 2010 Modified Files: src/sys/dev/cardbus: cardbusvar.h Log Message: Delete unused member ct_bar[] from struct cardbus_devfunc. To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54

CVS commit: src/sys/dev/cardbus

2010-03-15 Thread David Young
Module Name:src Committed By: dyoung Date: Mon Mar 15 19:43:17 UTC 2010 Modified Files: src/sys/dev/cardbus: cardbusvar.h Log Message: Delete unused members ct_rbus_iot and ct_rbus_memt from struct cardbus_devfunc. To generate a diff of this commit: cvs rdiff -u -r1.51

CVS commit: src/sys/dev/cardbus

2010-03-10 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Mar 10 21:00:36 UTC 2010 Modified Files: src/sys/dev/cardbus: if_ex_cardbus.c Log Message: This is *always* compiled with #define rbus 1, so get rid of the conditional compilation. Simplify interrupt (dis)establishment by

CVS commit: src/sys/dev/cardbus

2010-03-10 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Mar 10 21:00:36 UTC 2010 Modified Files: src/sys/dev/cardbus: if_ex_cardbus.c Log Message: This is *always* compiled with #define rbus 1, so get rid of the conditional compilation. Simplify interrupt (dis)establishment by

CVS commit: src/sys/dev/cardbus

2010-03-09 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Mar 10 00:21:10 UTC 2010 Modified Files: src/sys/dev/cardbus: ehci_cardbus.c if_tlp_cardbus.c ohci_cardbus.c Log Message: This is *always* compiled with #define rbus 1, so get rid of the conditional compilation. Simplify

CVS commit: src/sys/dev/cardbus

2010-03-09 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Mar 10 00:21:10 UTC 2010 Modified Files: src/sys/dev/cardbus: ehci_cardbus.c if_tlp_cardbus.c ohci_cardbus.c Log Message: This is *always* compiled with #define rbus 1, so get rid of the conditional compilation. Simplify

CVS commit: src/sys/dev/cardbus

2010-03-05 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Mar 5 22:47:03 UTC 2010 Modified Files: src/sys/dev/cardbus: rbus_ppb.c Log Message: Remove dead code (it is commented out). Delete the detach routine, it's obviously not finished. To generate a diff of this commit: cvs

CVS commit: src/sys/dev/cardbus

2010-03-05 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Mar 5 22:47:03 UTC 2010 Modified Files: src/sys/dev/cardbus: rbus_ppb.c Log Message: Remove dead code (it is commented out). Delete the detach routine, it's obviously not finished. To generate a diff of this commit: cvs

CVS commit: src/sys/dev/cardbus

2010-03-04 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Mar 4 16:40:54 UTC 2010 Modified Files: src/sys/dev/cardbus: siisata_cardbus.c Log Message: Simplify interrupt (dis)establishment by two source transformations: - cardbus_intr_disestablish(cc, cf, ih); +

CVS commit: src/sys/dev/cardbus

2010-03-04 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Mar 4 18:31:57 UTC 2010 Modified Files: src/sys/dev/cardbus: rbus_ppb.c Log Message: Delete unfinished and unreachable code: ppb_cardbus_setup(), ppb_cardbus_enable(), ppb_cardbus_disable(). To generate a diff of this

CVS commit: src/sys/dev/cardbus

2010-03-04 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Mar 4 18:31:57 UTC 2010 Modified Files: src/sys/dev/cardbus: rbus_ppb.c Log Message: Delete unfinished and unreachable code: ppb_cardbus_setup(), ppb_cardbus_enable(), ppb_cardbus_disable(). To generate a diff of this

CVS commit: src/sys/dev/cardbus

2010-03-04 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Mar 4 18:49:14 UTC 2010 Modified Files: src/sys/dev/cardbus: rbus_ppb.c Log Message: It turns out that ppb at cardbus was not even in ALL. It has probably not been compiled in a very long time. With some minor changes, it

CVS commit: src/sys/dev/cardbus

2010-03-04 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Mar 4 18:49:14 UTC 2010 Modified Files: src/sys/dev/cardbus: rbus_ppb.c Log Message: It turns out that ppb at cardbus was not even in ALL. It has probably not been compiled in a very long time. With some minor changes, it

Re: CVS commit: src/sys/dev/cardbus

2010-03-04 Thread Jason Thorpe
On Mar 4, 2010, at 10:49 AM, David Young wrote: Use %zu and %zx for printf'ing bus_size_t. These aren't quite right. We should probably define PRIxxx macros for the bus.h scalar types. -- thorpej

Re: CVS commit: src/sys/dev/cardbus

2010-03-04 Thread Matt Thomas
On Mar 4, 2010, at 11:13 AM, Jason Thorpe wrote: On Mar 4, 2010, at 10:49 AM, David Young wrote: Use %zu and %zx for printf'ing bus_size_t. These aren't quite right. We should probably define PRIxxx macros for the bus.h scalar types. For mips, I made bus_space_handle_t intptr_t and

CVS commit: src/sys/dev/cardbus

2010-03-04 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Mar 4 22:33:12 UTC 2010 Modified Files: src/sys/dev/cardbus: if_rtw_cardbus.c Log Message: Remove unnecessary #ifdef INET-enclosed #includes. This is *always* compiled with #define rbus 1, so get rid of the conditional

CVS commit: src/sys/dev/cardbus

2010-03-04 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Mar 4 22:33:12 UTC 2010 Modified Files: src/sys/dev/cardbus: if_rtw_cardbus.c Log Message: Remove unnecessary #ifdef INET-enclosed #includes. This is *always* compiled with #define rbus 1, so get rid of the conditional

CVS commit: src/sys/dev/cardbus

2010-03-04 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Mar 4 22:42:22 UTC 2010 Modified Files: src/sys/dev/cardbus: cardbus_map.c Log Message: This is *always* compiled with #define rbus 1, so get rid of the conditional compilation. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/dev/cardbus

2010-03-04 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Mar 4 22:42:22 UTC 2010 Modified Files: src/sys/dev/cardbus: cardbus_map.c Log Message: This is *always* compiled with #define rbus 1, so get rid of the conditional compilation. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/dev/cardbus

2010-03-04 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Mar 5 00:36:06 UTC 2010 Modified Files: src/sys/dev/cardbus: fwohci_cardbus.c Log Message: This is *always* compiled with #define rbus 1, so get rid of the conditional compilation. Make a few changes of this kind: -

CVS commit: src/sys/dev/cardbus

2010-03-04 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Mar 5 00:54:01 UTC 2010 Modified Files: src/sys/dev/cardbus: if_rtw_cardbus.c Log Message: Simplify this a bit (and reduce differences with if_rtw_pci.c): we don't have to save the base address or write it to the BAR. To

CVS commit: src/sys/dev/cardbus

2010-03-04 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Mar 5 00:54:01 UTC 2010 Modified Files: src/sys/dev/cardbus: if_rtw_cardbus.c Log Message: Simplify this a bit (and reduce differences with if_rtw_pci.c): we don't have to save the base address or write it to the BAR. To

re: CVS commit: src/sys/dev/cardbus

2010-03-04 Thread matthew green
On Mar 4, 2010, at 10:49 AM, David Young wrote: Use %zu and %zx for printf'ing bus_size_t. These aren't quite right. We should probably define PRIxxx macros for the bus.h scalar types. infact, they're quite wrong on IPL32 systems with 64 bit bus addresses. x86 PAE,

CVS commit: src/sys/dev/cardbus

2010-03-02 Thread David Young
Module Name:src Committed By: dyoung Date: Tue Mar 2 20:31:14 UTC 2010 Modified Files: src/sys/dev/cardbus: if_ath_cardbus.c if_atw_cardbus.c Log Message: Simplify interrupt (dis)establishment by two source transformations: - cardbus_intr_disestablish(cc, cf, ih);

CVS commit: src/sys/dev/cardbus

2010-03-02 Thread David Young
Module Name:src Committed By: dyoung Date: Tue Mar 2 20:31:14 UTC 2010 Modified Files: src/sys/dev/cardbus: if_ath_cardbus.c if_atw_cardbus.c Log Message: Simplify interrupt (dis)establishment by two source transformations: - cardbus_intr_disestablish(cc, cf, ih);

CVS commit: src/sys/dev/cardbus

2010-03-02 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Mar 3 00:56:41 UTC 2010 Modified Files: src/sys/dev/cardbus: rbus_ppb.c Log Message: Simplify interrupt (dis)establishment by two source transformations: - cardbus_intr_disestablish(cc, cf, ih); +

CVS commit: src/sys/dev/cardbus

2010-03-02 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Mar 3 00:56:41 UTC 2010 Modified Files: src/sys/dev/cardbus: rbus_ppb.c Log Message: Simplify interrupt (dis)establishment by two source transformations: - cardbus_intr_disestablish(cc, cf, ih); +

CVS commit: src/sys/dev/cardbus

2010-02-25 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Feb 25 20:36:31 UTC 2010 Modified Files: src/sys/dev/cardbus: com_cardbus.c if_fxp_cardbus.c rbus_ppb.c siisata_cardbus.c Log Message: Don't create the device's PCI tag with Cardbus_make_tag(9), but save and use

CVS commit: src/sys/dev/cardbus

2010-02-25 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Feb 25 20:36:31 UTC 2010 Modified Files: src/sys/dev/cardbus: com_cardbus.c if_fxp_cardbus.c rbus_ppb.c siisata_cardbus.c Log Message: Don't create the device's PCI tag with Cardbus_make_tag(9), but save and use

CVS commit: src/sys/dev/cardbus

2010-02-25 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Feb 25 21:18:35 UTC 2010 Modified Files: src/sys/dev/cardbus: cardbus.c cardbusreg.h njata_cardbus.c njs_cardbus.c siisata_cardbus.c Log Message: Phase out some CardBus constants and types. Use the equivalent PCI

CVS commit: src/sys/dev/cardbus

2010-02-25 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Feb 25 21:18:35 UTC 2010 Modified Files: src/sys/dev/cardbus: cardbus.c cardbusreg.h njata_cardbus.c njs_cardbus.c siisata_cardbus.c Log Message: Phase out some CardBus constants and types. Use the equivalent PCI

CVS commit: src/sys/dev/cardbus

2010-02-25 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Feb 25 22:31:51 UTC 2010 Modified Files: src/sys/dev/cardbus: com_cardbus.c if_fxp_cardbus.c Log Message: Don't use the cardbus_softc. Compile-tested, only. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26

CVS commit: src/sys/dev/cardbus

2010-02-25 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Feb 25 22:31:51 UTC 2010 Modified Files: src/sys/dev/cardbus: com_cardbus.c if_fxp_cardbus.c Log Message: Don't use the cardbus_softc. Compile-tested, only. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26

CVS commit: src/sys/dev/cardbus

2010-02-25 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Feb 25 22:40:16 UTC 2010 Modified Files: src/sys/dev/cardbus: siisata_cardbus.c Log Message: Copy values from the cardbus_attach_args and use them instead of values from the cardbus_softc. To generate a diff of this commit:

CVS commit: src/sys/dev/cardbus

2010-02-25 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Feb 25 22:40:16 UTC 2010 Modified Files: src/sys/dev/cardbus: siisata_cardbus.c Log Message: Copy values from the cardbus_attach_args and use them instead of values from the cardbus_softc. To generate a diff of this commit:

CVS commit: src/sys/dev/cardbus

2010-02-25 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Feb 25 23:01:48 UTC 2010 Modified Files: src/sys/dev/cardbus: if_rtw_cardbus.c Log Message: Use PCI_ constants instead of CARDBUS_ constants. Use Cardbus_conf_*() functions instead of cardbus_conf_*() functions to simplify

CVS commit: src/sys/dev/cardbus

2010-02-25 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Feb 26 00:01:27 UTC 2010 Modified Files: src/sys/dev/cardbus: adv_cardbus.c ahc_cardbus.c if_ex_cardbus.c if_re_cardbus.c if_rtk_cardbus.c if_tlp_cardbus.c Log Message: sc_csr is read written from the PCI Command

CVS commit: src/sys/dev/cardbus

2010-02-25 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Feb 26 00:01:27 UTC 2010 Modified Files: src/sys/dev/cardbus: adv_cardbus.c ahc_cardbus.c if_ex_cardbus.c if_re_cardbus.c if_rtk_cardbus.c if_tlp_cardbus.c Log Message: sc_csr is read written from the PCI Command

CVS commit: src/sys/dev/cardbus

2010-02-25 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Feb 26 00:57:02 UTC 2010 Modified Files: src/sys/dev/cardbus: adv_cardbus.c ahc_cardbus.c cardbus.c cardbus_map.c cardbusreg.h com_cardbus.c ehci_cardbus.c fwohci_cardbus.c if_ex_cardbus.c

CVS commit: src/sys/dev/cardbus

2010-02-25 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Feb 26 01:12:56 UTC 2010 Modified Files: src/sys/dev/cardbus: cardbus.c cardbusvar.h if_rtw_cardbus.c Log Message: Introduce Cardbus_intr_establish(cardbus_devfunc_t, ...) and Cardbus_intr_disestablish(cardbus_devfunc_t, ...)

CVS commit: src/sys/dev/cardbus

2010-02-25 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Feb 26 01:12:56 UTC 2010 Modified Files: src/sys/dev/cardbus: cardbus.c cardbusvar.h if_rtw_cardbus.c Log Message: Introduce Cardbus_intr_establish(cardbus_devfunc_t, ...) and Cardbus_intr_disestablish(cardbus_devfunc_t, ...)

CVS commit: src/sys/dev/cardbus

2010-02-25 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Feb 26 01:15:08 UTC 2010 Modified Files: src/sys/dev/cardbus: cardbusvar.h Log Message: Cosmetic: join a line. To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49 src/sys/dev/cardbus/cardbusvar.h Please note that

CVS commit: src/sys/dev/cardbus

2010-02-25 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Feb 26 01:15:08 UTC 2010 Modified Files: src/sys/dev/cardbus: cardbusvar.h Log Message: Cosmetic: join a line. To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49 src/sys/dev/cardbus/cardbusvar.h Please note that

CVS commit: src/sys/dev/cardbus

2010-02-25 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Feb 26 01:16:09 UTC 2010 Modified Files: src/sys/dev/cardbus: cardbusvar.h Log Message: Cosmetic: re-wrap some line. To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50 src/sys/dev/cardbus/cardbusvar.h Please

CVS commit: src/sys/dev/cardbus

2010-02-25 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Feb 26 01:16:09 UTC 2010 Modified Files: src/sys/dev/cardbus: cardbusvar.h Log Message: Cosmetic: re-wrap some line. To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50 src/sys/dev/cardbus/cardbusvar.h Please

CVS commit: src/sys/dev/cardbus

2010-02-24 Thread David Young
Module Name:src Committed By: dyoung Date: Wed Feb 24 19:52:52 UTC 2010 Modified Files: src/sys/dev/cardbus: adv_cardbus.c ahc_cardbus.c cardbus_exrom.c cardbus_map.c com_cardbus.c ehci_cardbus.c fwohci_cardbus.c if_ath_cardbus.c if_ex_cardbus.c

CVS commit: src/sys/dev/cardbus

2010-01-18 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Jan 18 18:52:35 UTC 2010 Modified Files: src/sys/dev/cardbus: if_ath_cardbus.c if_atw_cardbus.c if_fxp_cardbus.c if_ral_cardbus.c if_rtk_cardbus.c if_rtw_cardbus.c if_tlp_cardbus.c Log Message: Remove conditional

CVS commit: src/sys/dev/cardbus

2010-01-18 Thread Antti Kantee
Module Name:src Committed By: pooka Date: Mon Jan 18 18:52:35 UTC 2010 Modified Files: src/sys/dev/cardbus: if_ath_cardbus.c if_atw_cardbus.c if_fxp_cardbus.c if_ral_cardbus.c if_rtk_cardbus.c if_rtw_cardbus.c if_tlp_cardbus.c Log Message: Remove conditional

CVS commit: src/sys/dev/cardbus

2010-01-08 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Jan 8 19:47:42 UTC 2010 Modified Files: src/sys/dev/cardbus: cardbus.c ehci_cardbus.c if_ath_cardbus.c if_atw_cardbus.c if_rtw_cardbus.c siisata_cardbus.c Log Message: Expand PMF_FN_* macros. To generate a diff

CVS commit: src/sys/dev/cardbus

2010-01-08 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Jan 8 19:47:42 UTC 2010 Modified Files: src/sys/dev/cardbus: cardbus.c ehci_cardbus.c if_ath_cardbus.c if_atw_cardbus.c if_rtw_cardbus.c siisata_cardbus.c Log Message: Expand PMF_FN_* macros. To generate a diff

CVS commit: src/sys/dev/cardbus

2009-11-12 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Nov 12 20:30:29 UTC 2009 Modified Files: src/sys/dev/cardbus: com_cardbus.c Log Message: Don't use com_activate(), it's going away. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23

CVS commit: src/sys/dev/cardbus

2009-09-05 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Sat Sep 5 14:50:10 UTC 2009 Modified Files: src/sys/dev/cardbus: if_ath_cardbus.c if_fxp_cardbus.c if_rtk_cardbus.c if_rtw_cardbus.c Log Message: Invert logic around nested pmf(9) registrations for readability. To

CVS commit: src/sys/dev/cardbus

2009-05-12 Thread Christoph Egger
Module Name:src Committed By: cegger Date: Tue May 12 12:11:17 UTC 2009 Modified Files: src/sys/dev/cardbus: adv_cardbus.c cardbus.c cardslot.c ehci_cardbus.c fwohci_cardbus.c if_ath_cardbus.c if_fxp_cardbus.c if_ral_cardbus.c if_rtw_cardbus.c

CVS commit: src/sys/dev/cardbus

2009-05-12 Thread Christoph Egger
Module Name:src Committed By: cegger Date: Tue May 12 14:17:31 UTC 2009 Modified Files: src/sys/dev/cardbus: adv_cardbus.c cardslot.c if_fxp_cardbus.c if_ral_cardbus.c njata_cardbus.c njs_cardbus.c rbus_ppb.c Log Message: struct device * - device_t, no