Revision tags: release/7.2.0_cvs, release/7.2.0 |
|
#
9c797940 |
| 13-Apr-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
- Merge from HEAD
|
#
e6d3b1bd |
| 13-Mar-2009 |
Warner Losh <imp@FreeBSD.org> |
Minorly improved debugging. Use the DEVPRINTF macro and report the offset for memory when mapping in the CIS.
|
Revision tags: release/6.4.0_cvs, release/6.4.0 |
|
#
a7de0b74 |
| 17-Nov-2008 |
Warner Losh <imp@FreeBSD.org> |
Overhaul of CIS parsing, next step: keep a cached copy of the CIS, read before we configure the card, so we can implement /dev/cardbus*.cis. Also, do this on a per-child basis, so we now have a diff
Overhaul of CIS parsing, next step: keep a cached copy of the CIS, read before we configure the card, so we can implement /dev/cardbus*.cis. Also, do this on a per-child basis, so we now have a different name than before. I think i'll have to fix that for some legacy tools to keep working.
I can now do a dumpcis on my running atheros card and have it still work!
show more ...
|
#
e371fa45 |
| 15-Nov-2008 |
Warner Losh <imp@FreeBSD.org> |
First step in cleaning up CIS parsing and /dev/cardbus*.cis: remove redundant malloc/free. Add comments about how this should really be done. Fix an overly verbose comment about under 1MB mapping:
First step in cleaning up CIS parsing and /dev/cardbus*.cis: remove redundant malloc/free. Add comments about how this should really be done. Fix an overly verbose comment about under 1MB mapping: go ahead and set the bits, but we ignore them.
show more ...
|
#
89558ee8 |
| 03-Nov-2008 |
Warner Losh <imp@FreeBSD.org> |
Use child (the card) in preference to cbdev (the bridge) when allocating resources to read the CIS. I'm not sure when this changed, but it is totally wrong. Also, add a minor improvement to the deb
Use child (the card) in preference to cbdev (the bridge) when allocating resources to read the CIS. I'm not sure when this changed, but it is totally wrong. Also, add a minor improvement to the debugging.
This should help everybody trying to run dumpcis on atheros wireless card as well.
MFC after: 2 days
show more ...
|
Revision tags: release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0 |
|
#
17ee700b |
| 08-Jun-2007 |
Warner Losh <imp@FreeBSD.org> |
gcc 4.2 thinks that tupleid is uninitialized. Or might be used uninitialized. It gets passed into other routines that initialize it... Cope by initializing.
Submitted by: mjacob
|
#
4b333740 |
| 16-May-2007 |
Warner Losh <imp@FreeBSD.org> |
Change PCIM_CIS_ASI_TUPLE to _CONFIG. Add PCI_MAX_BAR_0 minor style nit. Add PCIM_CIS_CONFIG_MASK
|
Revision tags: release/6.2.0_cvs, release/6.2.0 |
|
#
1acd1e20 |
| 12-Jun-2006 |
Warner Losh <imp@FreeBSD.org> |
Minor cleanup of CIS parsing.
|
#
9dfcc662 |
| 12-Jun-2006 |
Warner Losh <imp@FreeBSD.org> |
Better error message when the CIS is a non-standards conforming '0'.
|
Revision tags: release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0 |
|
#
bee89c73 |
| 03-Jan-2006 |
Warner Losh <imp@FreeBSD.org> |
Use the child to allocate the resource rather than bridge, since we're allocating a resource that's in the card itself.
Remove more now-redundant resource_list_add, and now-redunant code that lives
Use the child to allocate the resource rather than bridge, since we're allocating a resource that's in the card itself.
Remove more now-redundant resource_list_add, and now-redunant code that lives in the pci layer.
# This fixes the atheros card that I have which had its CIS in one of # the BARs. Don't know yet if this fixes the amd64 issues reported.
show more ...
|
#
c732cf3b |
| 03-Jan-2006 |
Warner Losh <imp@FreeBSD.org> |
Minor style(9) hacking, plus use a macro in place of (struct resource *)~0UL (what the heck does that mean?).
|
#
93d9fd11 |
| 31-Dec-2005 |
Tai-hwa Liang <avatar@FreeBSD.org> |
Fixing build bustage.
|
#
f3d3468d |
| 30-Dec-2005 |
Warner Losh <imp@FreeBSD.org> |
The RID2BAR macro returns a number, not a bitmask. Fix this.
Spotted by: ru, jhb
|
#
3cd242d1 |
| 30-Dec-2005 |
Warner Losh <imp@FreeBSD.org> |
Retire BARBIT in favor of new PCI_RID2BAR.
|
#
47147ce7 |
| 29-Dec-2005 |
Warner Losh <imp@FreeBSD.org> |
Implement /dev/cardbus%d.cis, same thing as /dev/pccard%d.cis. There are some rough edges with this still, but it seems to work well enough to commit.
|
Revision tags: release/6.0.0_cvs, release/6.0.0 |
|
#
41ac33a2 |
| 28-Oct-2005 |
Warner Losh <imp@FreeBSD.org> |
Eliminate even more duplication, and move some definitions into pcireg.h
|
#
495036f2 |
| 28-Oct-2005 |
Warner Losh <imp@FreeBSD.org> |
Simplify code a little, prefer PCI?_FOO registers where possible.
|
Revision tags: release/5.4.0_cvs, release/5.4.0 |
|
#
509cfe6f |
| 20-Feb-2005 |
Warner Losh <imp@FreeBSD.org> |
Be more verbose on errors with CIS reading. This should be a noop, but appears to fix the ath problem that had been reported. I don't see how it can, so there's likely some other hidden bug.
|
#
440b5ade |
| 06-Feb-2005 |
Warner Losh <imp@FreeBSD.org> |
Move resource allocation routines from cardbus_cis.c to cardbus.c. They have nothing at all to do with CIS parsing.
Remove some unused funce parsing: nothing used the results.
Use more of pccard_ci
Move resource allocation routines from cardbus_cis.c to cardbus.c. They have nothing at all to do with CIS parsing.
Remove some unused funce parsing: nothing used the results.
Use more of pccard_cis.h's deifnitions for the cardbus specific cis parsing we do. More work is needed in this area.
This reduces the size of the cardbus module by 380 bytes or so...
show more ...
|
Revision tags: release/4.11.0_cvs, release/4.11.0 |
|
#
2dd5c91e |
| 13-Jan-2005 |
Warner Losh <imp@FreeBSD.org> |
Use the standard FreeBSD license
Approved by: imp, jon
|
#
098ca2bd |
| 06-Jan-2005 |
Warner Losh <imp@FreeBSD.org> |
Start each of the license/copyright comments with /*-, minor shuffle of lines
|
Revision tags: release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0 |
|
#
a7c43559 |
| 11-Apr-2004 |
Warner Losh <imp@FreeBSD.org> |
Add note about why we're ignoring the below 1MB bit.
|
#
5f96beb9 |
| 17-Mar-2004 |
Nate Lawson <njl@FreeBSD.org> |
Convert callers to the new bus_alloc_resource_any(9) API.
Submitted by: Mark Santcroos <marks@ripe.net> Reviewed by: imp, dfr, bde
|
Revision tags: release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0 |
|
#
4ea2d18a |
| 07-Oct-2003 |
Warner Losh <imp@FreeBSD.org> |
remove obsolete quirks for cardbus cis. none have proven to be needed.
|
#
a294cdb6 |
| 07-Oct-2003 |
Warner Losh <imp@FreeBSD.org> |
o move the cis tuple definitions into a common file. o minor optimization of cardbus_cis processing. Remove a bunch of generic entries that are handled by generic. o no longer need the card_get_ty
o move the cis tuple definitions into a common file. o minor optimization of cardbus_cis processing. Remove a bunch of generic entries that are handled by generic. o no longer need the card_get_type stuff.
show more ...
|