Commit Graph

129708 Commits

Author SHA1 Message Date
mycroft ea155978ee Use the correct data port, for compatibility with old cards. Without this,
some of my CE2 cards are unable to transfer data successfully; they send
bogus packets and every received packet is all 0s.
"Special."
2004-08-08 06:22:50 +00:00
mycroft d643fea8d1 Set xidebug to 0 by default. 2004-08-08 05:56:50 +00:00
mycroft 2d5fe6edb4 Split "xi" into a "xirc" frontend (similar to mhzc; it attaches two child
devices) and a "xi" backend.

My CE2 and CEM2 cards are now probed correctly.  However, there are still
some problems with one model of the CE2, and the CEM2 doesn't seem to get
any modem interrupts.

While I'm at it, fix several bugs:

* The tuple scan for the MAC address was broken in multiple ways.
* xi_intr() did not deal well with a shared interrupt.
* We were setting the wrong page number to look at the receive status.  (How
  did this work???)
* Remove the xi_full_reset() from xi_reset().  Move the parts of
  xi_full_reset() needed to undo the effect of xi_stop() into xi_init().  This
  allows a stop/init pair to DTRT, and much quicker, as used by various
  ioctl()s.
* Set the TRS register before reading the TSO register, as the Linux driver
  does.  While I'm at it, fix the name.
* Fix numerous problems with xi_set_address().  "Where do I begin?"  There's a
  chance that multicast works now, but I haven't tested it.
* Explicitly clear the MSR register, and also force SELECT_MII to 0 if we
  didn't find any PHYs.
* Clean up some cruft that appears to be bogus.

Probably needs more work, but it's a start.
2004-08-08 05:56:08 +00:00
mycroft 961619ae0e pcmcia_socket_{enable,disable}() weren't used. Reimplement them as public
functions taking a pcmcia* device structure.

XXX This is a method of last resort for dealing with stupid/insane cards that
we need to probe harder before we can choose a config entry.  It should not be
used by most drivers.
2004-08-08 05:33:04 +00:00
briggs fae6b577a8 Recognize the VIA Nehemiah by name.
Probe the VIA cache.
Add to, don't step on, feature flags when looking at extended feature
    flags in VIA's 0x800000001 CPUID response.
2004-08-08 05:21:01 +00:00
briggs bd2376263b VIA C3 cache info. 2004-08-08 05:16:16 +00:00
kent 824fd59f6d correct the mask value for CMI9739 2004-08-08 03:52:19 +00:00
kent 6f7bcb397d recognize CMI9739 codec. 2004-08-08 03:50:56 +00:00
christos fe9cbbdccb cleanup some lint
remove unused variables
XXX: fs.h macros are not portable in ansi.
2004-08-08 02:51:19 +00:00
christos ad04e20d5f warns = 3 2004-08-08 02:50:46 +00:00
christos 7abcefad61 - fix broken superblock finding code was wrong.
- ansify, KNF
- if the filesystem was not modified, don't ask the user to fsck.
2004-08-08 00:55:06 +00:00
chs cdbff23301 add a boot.8 manpage for hp700. from openbsd. 2004-08-07 22:05:08 +00:00
chs 7732d6db9d handle T_CONDITION traps (by sending SIGFPE).
fix T_EXCEPTION code to handle the other FP major opcodes.
2004-08-07 21:47:05 +00:00
chs 44c95f81ec turn on -O2 for hppa. 2004-08-07 21:43:18 +00:00
chs 2129a366ed turn on lint and profiling for hppa. 2004-08-07 21:42:52 +00:00
chs 43d9a77774 remove the alignment attribute from the typedef of __cpu_simple_lock_t
since it doesn't have any affect and lint chokes on it.
2004-08-07 21:42:10 +00:00
chs 1974de97c5 stub out the ldcw stuff for now, since gcc -O2 chokes on it. 2004-08-07 21:41:44 +00:00
chs 2e5e9111d9 clean up some register naming. 2004-08-07 21:41:18 +00:00
chs 5dd3057b5c replace some spinlock/tsleep code with a lockmgr lock. 2004-08-07 21:40:47 +00:00
chs 272b73cf0a use CALL() instead of "bl" in a few more places. 2004-08-07 21:40:05 +00:00
chs ddc1ca7bcb map the data segment with PROT_EXEC since the PLT lives there. 2004-08-07 21:33:04 +00:00
provos e128f30ca9 support for bufferevents; fix signal race; faster timeout insertion;
update man page and regression tests - this is a sync to libevent 0.9
2004-08-07 21:09:47 +00:00
mycroft c5b0509d65 Clear the "card type" bit when powering up the socket, to make it more robust
for memory cards.
2004-08-07 20:11:39 +00:00
mycroft ef638869ae Copy a bug fix from spc. If the target transferred too much, we would return
a bogus residual count.
2004-08-07 20:05:25 +00:00
mycroft 0553444712 Fix a printf() format for Alpha. 2004-08-07 20:04:44 +00:00
mycroft 6742fd43f4 Add Alpha to the list of platforms that use bus_space (for nca@pcmcia). 2004-08-07 20:01:48 +00:00
mycroft 665e1f0611 Attempt to support the 688 as well. It looks vaguely right from inspecting
esl.
2004-08-07 19:32:56 +00:00
kent 9e25bf4c82 AD1888 support.
PR kern/25949
2004-08-07 17:37:31 +00:00
mycroft 5e289bdf22 Don't pass in a MAC address -- yet. 2004-08-07 17:27:30 +00:00
mycroft 9918238ca5 Regen. 2004-08-07 17:18:20 +00:00
mycroft 7e01821c61 Clean up the Lucent (and clone) entries a bit.
Add the Hermes II (doesn't work yet, but it's harmless).
2004-08-07 17:18:09 +00:00
mycroft 900254667d Don't pass a MAC address to wi_attach() -- yet. 2004-08-07 17:13:27 +00:00
mycroft 1afe1f83af Be much more robust with RID values during attach:
* If the device returns a length too short to even contain the RID number,
  flag it as not supported and return EOPNOTSUPP, rather than returning a
  length of -2 and trying to use the value anyway.
* Check the returned lengths to see if we actually got anything.
* If we get no rate list, fail the attach, so we don't just blow up later.
Allow the frontend to pass in a MAC address.
2004-08-07 17:12:44 +00:00
kent 1c7464b5ca recognize ALC655/658/850 2004-08-07 16:59:54 +00:00
soren 3dce04c6cd - Don't attempt to clear the CELV bit by setting it high like the
FIFOE/BCIS/LVBCI bits; it's is cleared automatically by the hardware.
- Separate AUICH_DEBUG out from AUDIO_DEBUG and make it possible to debug
  interrupt handling separately.
- A little KNF.
2004-08-07 16:12:57 +00:00
rearnsha f506c2b14b Bah! Fix tyop CORE_UNKOWN_HANDLER -> CORE_UNKNOWN_HANDLER 2004-08-07 12:20:20 +00:00
rearnsha eb40e03a12 Use SYSTEM_COPROC. 2004-08-07 12:07:08 +00:00
rearnsha 2d02f2af34 Add SYSTEM_COPROC (cp15). 2004-08-07 12:05:54 +00:00
rearnsha 548ccf50bd Use FPA_COPROC instead of a manifest constant. 2004-08-07 12:04:05 +00:00
rearnsha 3de3493771 FP_COPROC* ->FPA_COPROC* 2004-08-07 12:02:36 +00:00
rearnsha 9264ede43d Changing the interrupt mask is a scheduling barrier. 2004-08-07 11:47:58 +00:00
rearnsha b0a3a4309a Don't overload the unknown instruction handling for the core onto CP0.
Instead, add a seventeenth 'co-processor' specifically for the core.
Add support for ARMv5 unknown instructions in the 'NV' space.
2004-08-07 11:45:41 +00:00
rearnsha 951ec8627f Don't use vector_page before it's been initialized. 2004-08-07 11:20:53 +00:00
rearnsha da975d6d89 Fix pasto error in comment. 2004-08-07 11:13:09 +00:00
rearnsha 5b0328df32 Add barriers to prevent scheduling of critical code outside of the
SPL-protected region.
2004-08-07 11:08:58 +00:00
rearnsha 0163f96e43 Add fixed configs for fxp0 and sd0 booting. 2004-08-07 11:00:06 +00:00
rearnsha 0e811ff437 Support probing the compact PCI bus. 2004-08-07 10:54:54 +00:00
rearnsha 7c8434c371 Set CPUFLAGS not COPTS 2004-08-07 10:47:19 +00:00
wiz 2e4c394a79 Quote a minus for PostScript output and fix a typo. 2004-08-07 10:03:29 +00:00
jdolecek d533adf95b just use system dup2(2) 2004-08-07 08:58:19 +00:00