Commit Graph

19 Commits

Author SHA1 Message Date
haya
8130f0ec5d Add a cis decoding function which decodes some CISTPL_FUNCE tuples for
disk and network functions.
2000-10-17 10:13:46 +00:00
jun
ceafcbd834 apply Kenji Aoyama <aoyama@nk.mcu.or.jp>'s patch
on port-hpcmips-ja@jp.netbsd.org Mon, 10 Jul 2000 21:21:47 +0900

FIX:
  Can't read CIS tuple chain:some TDK CF Flash memory card.
2000-07-14 08:02:12 +00:00
enami
91026fe7f2 Cosmetic changes. 2000-02-21 03:26:41 +00:00
chopps
d8595b9af3 map common memory 8 bit for cis scan when following longlinks. 2000-02-10 09:01:52 +00:00
chopps
b5064330de The cfe is initialized to the default entry, when a table entry value
is present don't OR in the flags with the defaults, replace them.
2000-01-25 06:36:17 +00:00
enami
b7868a436d Don't overwrite cfe->flags. 2000-01-20 08:47:59 +00:00
cgd
d447117750 Some additional sanity checks to keep this code from bursting into
flame if presented with bad CIS data (e.g. because of a memory space
conflict):
* more sanity checking on LONGLINK_MFC CIS tuples (exact length check, sanity
  check on size vs. size of array we allocated for them), to avoid various
  missteps which could cause this code to complete trash the kernel stack.
* clear the entire contents of the state structure before processing, so
  things like uninitted pointers will actually have a known value!
* be more careful with CISTPL_CFTABLE_ENTRY: check to see that the current
  state's default_entry isn't NULL before dereferencing it.
2000-01-14 23:09:53 +00:00
enami
8567277ae0 Print range of all iospaces or all memspaces if their length aren't zero. 1999-11-07 07:44:21 +00:00
bad
54b747eb16 In pcmcia_pars_cis_tuple(): in the PCMCIA_TPCE_FS_MEMSPACE_TABLE case
there is one more memspace in the table then the PCMCIA_TPCE_MS_COUNT
mask produces.
1999-07-11 00:34:37 +00:00
bad
c95ed3d2e5 In pcmcia_print_cis(): When printing io and mem spaces don't append trailing
0s if length or hostaddr are zero, instead DTRT.
1999-07-11 00:26:29 +00:00
marc
9ada0bf40f check for end of tuple while reading cfe data 1998-12-29 09:03:15 +00:00
msaitoh
7734e0ef29 fix version string (from PC Card Standard, April 1998 (Release 6.1)) 1998-08-22 23:41:48 +00:00
nathanw
a461703d7f Use PCMCIA_FUNCTION definitions.
Initialize function ID in new pcmcia_function structures to
PCMCIA_FUNCTION_UNSPEC, not PCMCIA_FUNCTION_MULTIFUNCTION (0).
1998-08-13 15:03:06 +00:00
christos
e3bc291504 Add a devlist2h.awk so that we don't sprinkle the same constants over
each device driver file and use it.
1998-07-19 17:28:15 +00:00
marc
d663cd1216 better MFC parsing (for 3c56[23]D), and make sure the pf is zeroed out before using it (for adaptec 1460b) 1998-07-01 07:13:41 +00:00
msaitoh
34b0df807a add some information from "PC Card standard March 1997" 1998-05-29 16:21:28 +00:00
christos
83449d8960 - fix pcmcia_scan_cis to return:
-1 error
	 0 desired tuple not found
	 1 desired tuple found
1998-03-09 21:54:13 +00:00
enami
4e304b8dd7 Make manufacturer' and product' 32bit wide so that they can contain
both 16bit id values found in card CIS and special value to indicate
that no value found in CIS.  Use that special value for the card that
doesn't have id values.  Test that value in ne2000_match().
1997-10-19 14:00:32 +00:00
thorpej
c66b8643d1 Pull marc-pcmcia branch down from trunk. 1997-10-16 23:27:16 +00:00