Add cardbus_get_capability(), cloned from pci_get_capability().
- Don't try to run the chip in big-endian mode.  Not all chips support
  this consistently, and it doesn't always work even when the chip
  supports it.
- Make sure things DMA'd to the chip that the chip interprets are in
  little-endian mode.
Handle the 21143 PMCSR, like we do in the PCI front-end.
Fix chunked support; probably broke after rate limiting was added.
Problem noticed/debugging assisted by giles lean <giles@nemeton.com.au>.

XXX: rate limiting with chunked xfers might not limit correctly (i.e,
the limit may be too high or too low); fixing this is non trivial,
and will probably occur if i ever rototill fetch_url()
xref setsockopt (from freebsd) and hosts.equiv.
- use symbolic names for mode bits
- use _exit() where we should
- fix spelling mistake
- use vasprintf() in pstatus()
all from freebsd.
separate out the main `data pump' loop into two: one that supports
rate limiting and one that doesn't. simplifies the code, and speeds
up the latter case a bit, at the expense of duplicating a few lines...
Recompile to support MobilePro 750 and Mobile Gear II for DoCoMo.
I've took 1 for i.
Make #endif comment consistant with #if expression.
Remove a piece of code introduced in rev 1.36 that I didn't intend to
commit.
Replace unused keys with IGN instead of UNK for NEC MobilePro 750c,
to match usage of other systems.
Also, modify ALT keys to return AltL keysym so debugger key sequence
will work.
implement upper-layer reachability confirmation for IPv6 ND (RFC2461 7.3.1).
fix code to reject "tcp to IPv6 anycast".

sync with recent KAME.
Revert previous - the problem was a hard-coded KN01 dc address, not the
cookie value.
Don't need "extern int physmem" - <sys/systm.h> has this already.
CL* discarding.
Move physmem setting to pmap_bootstrap().
Fix security problem in process_write_regs(), found by Klaus Klein.
CL* discarding.
Detect "Infoserver 1000" also.
Fix printf formats; cast pointer diffs to long, and use %ld.
Need <string.h> for memset prototype.