History log of /openbsd/sys/dev/pcmcia/pcmcia_cis.c (Results 1 – 22 of 22)
Revision Date Author Comments
# 29dd1b42 07-Mar-2021 jsg <jsg@openbsd.org>

ansi


# b27348b2 08-Sep-2017 deraadt <deraadt@openbsd.org>

If you use sys/param.h, you don't need sys/types.h


# df2ac69f 12-Jul-2014 tedu <tedu@openbsd.org>

add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.


# 3200efa1 10-Jul-2013 brad <brad@openbsd.org>

Remove unsigned comparison < 0.

Pointed out by LLVM.

ok fgsch@


# 1ac9a535 04-Sep-2010 miod <miod@openbsd.org>

Off-by-two in the length check for CISTPL_CONFIG tuples.


# bdc49634 04-Sep-2010 miod <miod@openbsd.org>

Use pcmcia_cis_read_1() to read cis data to be checksummed, instead of
trying to roll our inline version of it and fail. Fixes `checksum error'
warnings on all the cards with checksum tuples I could

Use pcmcia_cis_read_1() to read cis data to be checksummed, instead of
trying to roll our inline version of it and fail. Fixes `checksum error'
warnings on all the cards with checksum tuples I could find (admittedly not
many), and probably fixes all of them since this code has never been correct
in the first place.

show more ...


# ba796609 04-Sep-2010 miod <miod@openbsd.org>

Add support for indirect CIS data (CISTPL_INDIRECT tuple).


# 0b149fa0 11-Sep-2007 gilles <gilles@openbsd.org>

KNF

prompted and "much better" by marco@, ok pyr@


# 109be09c 07-Sep-2007 fgsch <fgsch@openbsd.org>

sprinkle some M_ZERO love.


# 7bbf5fc9 01-Aug-2005 fgsch <fgsch@openbsd.org>

CISTPL_CONFIG min length should be 3, not 5. audiovox GPRS works now.
deraadt@ ok.


# 05460420 16-Sep-2004 brad <brad@openbsd.org>

some additional CIS sanity checks.

From NetBSD


# 2ba33ebb 22-Oct-2003 jmc <jmc@openbsd.org>

typos from Tom Cosgrove;


# e41a3487 06-May-2003 henning <henning@openbsd.org>

range check for the CIS table scan
normally, the CIS table is scanned until we hit the end tuple (CISTPL_END). I
have at least one card with an invalid CIS table without end tuple - while
this card i

range check for the CIS table scan
normally, the CIS table is scanned until we hit the end tuple (CISTPL_END). I
have at least one card with an invalid CIS table without end tuple - while
this card is in error, this should not bring us to ddb. thus stop scanning
when we reach PCMCIA_CIS_SIZE

ok millert@

show more ...


# 10412f8d 19-Nov-2002 jason <jason@openbsd.org>

Use queue.h macros instead of using the structure names directly.


# c773fb73 19-Jun-2002 fgsch <fgsch@openbsd.org>

move initialization a bit later.


# c4071fd1 14-Mar-2002 millert <millert@openbsd.org>

First round of __P removal in sys


# 8584d5e3 11-Jan-2002 nordin <nordin@openbsd.org>

Check result from malloc(9) when using M_NOWAIT. fgsch@ ok


# 8e9dce62 06-Jun-2000 fgsch <fgsch@openbsd.org>

* correct some length checkings based on the specs; still a few to fix.
* add 1 to number of memspaces since MS_COUNT it's minus 1.
* print the correct function type in case of IOBUS.
* clean cfe->fl

* correct some length checkings based on the specs; still a few to fix.
* add 1 to number of memspaces since MS_COUNT it's minus 1.
* print the correct function type in case of IOBUS.
* clean cfe->flags if intface is present

show more ...


# ae2d8a60 29-May-2000 fgsch <fgsch@openbsd.org>

OR the values in misc within cftable entry; in iospace, irq and misc
clean the flags before checking for particular capabilities. this is
needed because we use a template that might end messing the f

OR the values in misc within cftable entry; in iospace, irq and misc
clean the flags before checking for particular capabilities. this is
needed because we use a template that might end messing the flags.

show more ...


# bd4ab2b6 16-May-1999 niklas <niklas@openbsd.org>

Treat CIS functions a bit different as Xircom devices order the tuples a
bit backwards


# 709e0656 28-Jan-1999 fgsch <fgsch@openbsd.org>

Add support for:
- 3COM 3CXEM556 (Ethernet/Modem)
- SVEC Combo and Lancard
- Corega PCC-T
Add pcmcia_check_cis_quirks to fix some cards whose CIS flat-out lies.
Add more products to pcmciadevs.
Co

Add support for:
- 3COM 3CXEM556 (Ethernet/Modem)
- SVEC Combo and Lancard
- Corega PCC-T
Add pcmcia_check_cis_quirks to fix some cards whose CIS flat-out lies.
Add more products to pcmciadevs.
Correctly read 1 controller if CL-PD6729.
Remove some unused vars.

show more ...


# 0720f62c 11-Sep-1998 fgsch <fgsch@openbsd.org>

PCMCIA code ported from NetBSD.
Support for aic, ep, pccom and sm.