Home | History | Annotate | Download | only in cardbus
History log of /src/sys/dev/cardbus/siisata_cardbus.c
RevisionDateAuthorComments
 1.16  25-Sep-2022  thorpej Remove unnecessary include of <sys/malloc.h>.
 1.15  01-Aug-2011  drochner 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
 1.14  13-Nov-2010  uebayasi Don't pull in the whole uvm(9) API to access only PAGE_SIZE and
some other constants. These are provided by sys/param.h now.
 1.13  01-Apr-2010  dyoung Cosmetic: join a couple of lines. Stop storing the value of a BAR in a
temporary variable with the name 'csr'.
 1.12  18-Mar-2010  dyoung This is *always* compiled with #define rbus 1, so get rid of the
conditional compilation.

Simplify interrupt (dis)establishment by two source transformations:

- cardbus_intr_disestablish(cc, cf, ih);
+ Cardbus_intr_disestablish(ct, ih);

- ih = cardbus_intr_establish(cc, cf, ...);
+ ih = Cardbus_intr_establish(ct, ...);

The identical change to a few other CardBus NICs has not caused any
problems, as expected, so I'm going to commit this rather safe change
and get on with the work.

Testers have been enlisted. I will revisit this change if I get any
negative responses.
 1.11  04-Mar-2010  dyoung branches: 1.11.2;
Simplify interrupt (dis)establishment by two source transformations:

- cardbus_intr_disestablish(cc, cf, ih);
+ Cardbus_intr_disestablish(ct, ih);

- ih = cardbus_intr_establish(cc, cf, ...);
+ ih = Cardbus_intr_establish(ct, ...);

Tested by kiyohara@.
 1.10  26-Feb-2010  dyoung 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.
 1.9  25-Feb-2010  dyoung Copy values from the cardbus_attach_args and use them instead of values
from the cardbus_softc.
 1.8  25-Feb-2010  dyoung 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
 1.7  25-Feb-2010  dyoung Don't create the device's PCI tag with Cardbus_make_tag(9), but save and
use the tag found in the cardbus_attach_args. Compile-tested, only.
 1.6  25-Feb-2010  dyoung Cardbus_free_tag() and cardbus_free_tag() are no-ops, so get rid of them
to simplify the code a bit.
 1.5  24-Feb-2010  dyoung 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.

While I'm here, don't make a copy (sc_intrline) of
cardbus_attach_args.ca_intrline unless we use it, later.
 1.4  30-Jan-2010  jakllsch branches: 1.4.2;
Sprinkle __KERNEL_RCSID() into siisata(4).
Slightly adjust some comment styling.
 1.3  08-Jan-2010  dyoung Expand PMF_FN_* macros.
 1.2  19-Oct-2009  bouyer Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen
for the booring work !
 1.1  19-Jul-2009  kiyohara branches: 1.1.2; 1.1.4;
Support siisata@cardbus.
It tested on amd64 and i386 only.
 1.1.4.4  11-Aug-2010  yamt sync with head.
 1.1.4.3  11-Mar-2010  yamt sync with head
 1.1.4.2  19-Aug-2009  yamt sync with head.
 1.1.4.1  19-Jul-2009  yamt file siisata_cardbus.c was added on branch yamt-nfs-mp on 2009-08-19 18:47:04 +0000
 1.1.2.2  23-Jul-2009  jym Sync with HEAD.
 1.1.2.1  19-Jul-2009  jym file siisata_cardbus.c was added on branch jym-xensuspend on 2009-07-23 23:31:46 +0000
 1.4.2.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.11.2.2  05-Mar-2011  rmind sync with head
 1.11.2.1  30-May-2010  rmind sync with head

RSS XML Feed