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 if_rtw

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 if_rtw

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 r

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 r

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 two

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 two

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 inte

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 inte

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 rd

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 rd

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, sparc*

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 ge

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 ge

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: - i

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: - i

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: Thu Mar 4 22:37:38 UTC 2010 Modified Files: src/sys/dev/cardbus: cardbus.c cardbusvar.h Log Message: Get rid of the #if 1 surrounding #include . This is *always* compiled with #define rbus 1, so get rid of the conditional compil

CVS commit: src/sys/dev/cardbus

2010-03-04 Thread David Young
Module Name:src Committed By: dyoung Date: Thu Mar 4 22:37:38 UTC 2010 Modified Files: src/sys/dev/cardbus: cardbus.c cardbusvar.h Log Message: Get rid of the #if 1 surrounding #include . This is *always* compiled with #define rbus 1, so get rid of the conditional compil

CVS commit: src/sys/dev/cardbus

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

CVS commit: src/sys/dev/cardbus

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

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 compi

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 compi

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

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

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 w

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 w

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 commi

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 commi

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); + Cardbus_

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); + Cardbus_

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); + Cardbus_intr_di

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); + Cardbus_intr_di

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-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 note

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 note

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: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 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 if_fxp_cardbus

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: 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 so

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 so

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 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 src/

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 src/

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 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 th

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 th

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 if_r

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 in

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