The NetBSD Project

CVS log for src/sys/dev/cardbus/siisata_cardbus.c

[BACK] Up to [cvs.netbsd.org] / src / sys / dev / cardbus

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.15 / (download) - annotate - [select for diffs], Mon Aug 1 11:20:28 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.14: +3 -4 lines
Diff to previous 1.14 (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.11.2.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:53:06 2011 UTC (14 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.11.2.1: +2 -4 lines
Diff to previous 1.11.2.1 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

sync with head

Revision 1.14 / (download) - annotate - [select for diffs], Sat Nov 13 13:51:58 2010 UTC (18 months, 1 week ago) by uebayasi
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, 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.13: +2 -4 lines
Diff to previous 1.13 (colored)

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.

Revision 1.1.4.4 / (download) - annotate - [select for diffs], Wed Aug 11 22:53:20 2010 UTC (21 months, 2 weeks ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.1.4.3: +5 -13 lines
Diff to previous 1.1.4.3 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

sync with head.

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:19 2010 UTC (23 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.11: +5 -13 lines
Diff to previous 1.11 (colored)

sync with head

Revision 1.4.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:10 2010 UTC (2 years ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.4: +45 -43 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Sync with HEAD.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Apr 1 05:58:52 2010 UTC (2 years, 1 month ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1
Changes since 1.12: +5 -9 lines
Diff to previous 1.12 (colored)

Cosmetic: join a couple of lines.  Stop storing the value of a BAR in a
temporary variable with the name 'csr'.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Mar 18 20:54:56 2010 UTC (2 years, 2 months ago) by dyoung
Branch: MAIN
Changes since 1.11: +2 -6 lines
Diff to previous 1.11 (colored)

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.

Revision 1.1.4.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:25 2010 UTC (2 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.1.4.2: +51 -47 lines
Diff to previous 1.1.4.2 (colored) to branchpoint 1.1 (colored)

sync with head

Revision 1.11 / (download) - annotate - [select for diffs], Thu Mar 4 16:40:54 2010 UTC (2 years, 2 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9
Branch point for: rmind-uvmplock
Changes since 1.10: +4 -4 lines
Diff to previous 1.10 (colored)

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@.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Feb 26 00:57:02 2010 UTC (2 years, 2 months ago) by dyoung
Branch: MAIN
Changes since 1.9: +18 -20 lines
Diff to previous 1.9 (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.9 / (download) - annotate - [select for diffs], Thu Feb 25 22:40:16 2010 UTC (2 years, 2 months ago) by dyoung
Branch: MAIN
Changes since 1.8: +24 -13 lines
Diff to previous 1.8 (colored)

Copy values from the cardbus_attach_args and use them instead of values
from the cardbus_softc.

Revision 1.8 / (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.7: +4 -4 lines
Diff to previous 1.7 (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.7 / (download) - annotate - [select for diffs], Thu Feb 25 20:36:31 2010 UTC (2 years, 2 months ago) by dyoung
Branch: MAIN
Changes since 1.6: +5 -3 lines
Diff to previous 1.6 (colored)

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.

Revision 1.6 / (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.5: +2 -3 lines
Diff to previous 1.5 (colored)

Cardbus_free_tag() and cardbus_free_tag() are no-ops, so get rid of them
to simplify the code a bit.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Feb 24 19:52:52 2010 UTC (2 years, 3 months ago) by dyoung
Branch: MAIN
Changes since 1.4: +6 -6 lines
Diff to previous 1.4 (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.

While I'm here, don't make a copy (sc_intrline) of
cardbus_attach_args.ca_intrline unless we use it, later.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Jan 30 16:16:35 2010 UTC (2 years, 3 months ago) by jakllsch
Branch: MAIN
CVS Tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Changes since 1.3: +3 -4 lines
Diff to previous 1.3 (colored)

Sprinkle __KERNEL_RCSID() into siisata(4).
Slightly adjust some comment styling.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Jan 8 19:47:42 2010 UTC (2 years, 4 months ago) by dyoung
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

Expand PMF_FN_* macros.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Oct 19 18:41:12 2009 UTC (2 years, 7 months ago) by bouyer
Branch: MAIN
CVS Tags: matt-premerge-20091211, jym-xensuspend-nbase
Changes since 1.1: +1 -6 lines
Diff to previous 1.1 (colored)

Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen
for the booring work !

Revision 1.1.4.2 / (download) - annotate - [select for diffs], Wed Aug 19 18:47:05 2009 UTC (2 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.1.4.1: +316 -0 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored)

sync with head.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Thu Jul 23 23:31:46 2009 UTC (2 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.1.2.1: +316 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD.

Revision 1.1.4.1, Sun Jul 19 06:28:08 2009 UTC (2 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.1: +0 -316 lines
FILE REMOVED

file siisata_cardbus.c was added on branch yamt-nfs-mp on 2009-08-19 18:47:04 +0000

Revision 1.1.2.1, Sun Jul 19 06:28:08 2009 UTC (2 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.1: +0 -316 lines
FILE REMOVED

file siisata_cardbus.c was added on branch jym-xensuspend on 2009-07-23 23:31:46 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Sun Jul 19 06:28:08 2009 UTC (2 years, 10 months ago) by kiyohara
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, jymxensuspend-base
Branch point for: yamt-nfs-mp, jym-xensuspend

Support siisata@cardbus.
  It tested on amd64 and i386 only.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>