#
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 ...
|
#
5e7c50d0 |
| 06-Oct-2003 |
John Baldwin <jhb@FreeBSD.org> |
Remove prototype for decode_tuple_copy() which was axed in the last revision to fix compile.
|
#
f6e01094 |
| 06-Oct-2003 |
Warner Losh <imp@FreeBSD.org> |
remove the cardbus cis reading code. nobody ever used it and it has locking issues down to the api level.
|
#
e27951b2 |
| 02-Sep-2003 |
John Baldwin <jhb@FreeBSD.org> |
Use PCIR_BAR(x) instead of PCIR_MAPS.
Glanced over by: imp, gibbs Tested by: i386 LINT
|
#
aad970f1 |
| 24-Aug-2003 |
David E. O'Brien <obrien@FreeBSD.org> |
Use __FBSDID(). Also some minor style cleanups.
|
Revision tags: release/5.1.0_cvs, release/5.1.0 |
|
#
b44f8087 |
| 01-Jun-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Don't leak "barlist" allocation on failure.
Found by: FlexeLint
|
#
f9aedaa4 |
| 25-May-2003 |
Warner Losh <imp@FreeBSD.org> |
Ignore the 'must allocate below 1MB' flag for the TPL_BAR_REG. It is set on realtek cards, but they work without it (and don't work with it). The standard seems to imply that this is just a hint an
Ignore the 'must allocate below 1MB' flag for the TPL_BAR_REG. It is set on realtek cards, but they work without it (and don't work with it). The standard seems to imply that this is just a hint anyway, so this should be harmless. It doesn't appear to be set on any other cardbus cards that I have (or have seen).
This should make the rl based CardBus cards work again. I've been running it for about a month now.
Approved by: re@ (jhb)
show more ...
|
#
6d9fcd03 |
| 08-Apr-2003 |
Warner Losh <imp@FreeBSD.org> |
MFp4: when you can't allocate a resource, print a message, don't panic.
|
Revision tags: release/4.8.0_cvs, release/4.8.0 |
|
#
a163d034 |
| 19-Feb-2003 |
Warner Losh <imp@FreeBSD.org> |
Back out M_* changes, per decision of the TRB.
Approved by: trb
|
#
51715fe7 |
| 18-Feb-2003 |
Warner Losh <imp@FreeBSD.org> |
Move the resource handling down into the pci bus as well. Minor CIS resource allocation code cleanup Remove some fairly useless debug writes.
This finishes the work to move as much cardbus code as p
Move the resource handling down into the pci bus as well. Minor CIS resource allocation code cleanup Remove some fairly useless debug writes.
This finishes the work to move as much cardbus code as possible into pci. We wind up removing 800-odd lines from cardbus.c: we go from 1285 to 400 lines.
Reviewed by: mdodd
show more ...
|
#
72d3502e |
| 18-Feb-2003 |
Scott Long <scottl@FreeBSD.org> |
Sanity check the BAR length reported by the CIS with the BAR length that is encoded in the PCI BAR. The latter is more reliable.
This allows the sio/modem function of the Xircom RealPort ethernet+m
Sanity check the BAR length reported by the CIS with the BAR length that is encoded in the PCI BAR. The latter is more reliable.
This allows the sio/modem function of the Xircom RealPort ethernet+modem card to work. Note that there still seem to be issues with sio_pci not releasing resources on detach.
show more ...
|
#
1e962d00 |
| 16-Feb-2003 |
Scott Long <scottl@FreeBSD.org> |
Clean up the CIS BAR parsing code by removing several pointless checks. Don't complain about the Option ROM BAR type since it's perfectly valid.
|
#
22acd92b |
| 12-Feb-2003 |
Warner Losh <imp@FreeBSD.org> |
MF-p4: Kill the slightly bogus #define for DECODE_PROTOTYPE Be less verbose. Hide most (all I hope) of the CIS parsing behind cardbus_debug_cis (which is set with hw.cardbus.debug_cis=1).
This
MF-p4: Kill the slightly bogus #define for DECODE_PROTOTYPE Be less verbose. Hide most (all I hope) of the CIS parsing behind cardbus_debug_cis (which is set with hw.cardbus.debug_cis=1).
This doesn't fix problems with parsing, but should make cardbus less chatty. There appears to be some issues still with the parsing of the CIS, but this won't fix them.
Prompted by: scottl
show more ...
|
#
0cba4097 |
| 12-Feb-2003 |
Warner Losh <imp@FreeBSD.org> |
Whitespace nits.
|
#
66e390fe |
| 27-Jan-2003 |
Warner Losh <imp@FreeBSD.org> |
MFp4: u_int*_t -> uint*_t to conform more closely with C99.
|
#
44956c98 |
| 21-Jan-2003 |
Alfred Perlstein <alfred@FreeBSD.org> |
Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
|
Revision tags: release/5.0.0_cvs, release/5.0.0 |
|
#
fbe9cff1 |
| 27-Nov-2002 |
Warner Losh <imp@FreeBSD.org> |
Implement PCI_IVAR_ETHADDR. Cardbus has the MAC addr in the CIS, sometimes, so return it when requested and it does. Also a little more infrastructure for a few other things.
Submitted by: sam App
Implement PCI_IVAR_ETHADDR. Cardbus has the MAC addr in the CIS, sometimes, so return it when requested and it does. Also a little more infrastructure for a few other things.
Submitted by: sam Approved by: re (blanket for NEWCARD)
show more ...
|
#
01f2fb65 |
| 14-Nov-2002 |
Warner Losh <imp@FreeBSD.org> |
minor correction to comment
|
#
9fb92b64 |
| 13-Nov-2002 |
Scott Long <scottl@FreeBSD.org> |
When parsing the CIS, if a BAR tuple is encountered, enable the corresponding bit in the PCI command register for the device. Otherwise, device drivers that look at this register to see which types
When parsing the CIS, if a BAR tuple is encountered, enable the corresponding bit in the PCI command register for the device. Otherwise, device drivers that look at this register to see which types of BARs are usable will think that none of them are. This allows my Adaptec 1480A cardbus card to finally work.
Reviewed by: imp
show more ...
|
#
1e06ae99 |
| 12-Nov-2002 |
Scott Long <scottl@FreeBSD.org> |
Fix two typos from the previous commit. This code is definitely infectious.
|
#
e6e272b9 |
| 12-Nov-2002 |
Scott Long <scottl@FreeBSD.org> |
Step one of cleaning and fixing cardbus: - Fix some especially bad style in the CIS BAR tuple parsing code. - activate Option ROMS correctly. - de-obfuscate the Option ROM image selection code. -
Step one of cleaning and fixing cardbus: - Fix some especially bad style in the CIS BAR tuple parsing code. - activate Option ROMS correctly. - de-obfuscate the Option ROM image selection code. - Fix mis-interpretation of the PCI spec that prevented Option ROMs whose CIS section wasn't in the first image from working. - Fix mis-interpretation of the PCI spec that prevented CIS's mapped into MEMIO space from working at all. - Reject invalid CIS pointers.
Reviewed by: imp
show more ...
|
#
02ccdce8 |
| 06-Nov-2002 |
John Baldwin <jhb@FreeBSD.org> |
Use the explicit value 0xffffffff instead of assuming that is what ~0UL equals.
Approved by: imp
|
Revision tags: release/4.7.0_cvs |
|
#
214c0b3d |
| 29-Sep-2002 |
Warner Losh <imp@FreeBSD.org> |
Don't leak the bar list for each thing we allocate.
# This code really needs a rewrite
Spotted by the eagle eyes of: phk
|