Commit Graph

180114 Commits

Author SHA1 Message Date
msaitoh 2449d3efc1 Oooops. Back out some of previous my commit. 2009-04-19 11:17:46 +00:00
msaitoh 4d9e9f6912 Some fixes and enhancements:
Both if_bge* and brgphy.[ch]:
    Check the parent's MAC and use the quirk code for the bug like OpenBSD and
    FreeBSD. Some bugs can't identify the PHY ID. For example, 5704 Ax has the
    ADC bug, but 5704 A3 and 5704 B0 have the same PHY ID and revision. Add
    BGE_PHY_CRC_BUG, BGE_PHY_ADC_BUG, BGE_PHY_5704_A0_BUG, BGE_PHY_JITTER_BUG,
    BGE_PHY_ADJUST_TRIM and BGE_PHY_BER_BUG for this flag. Some of the DSP
    patches are newly taken from OpenBSD and FreeBSD.

  if_bge*:
    Remove duplicated BGE_CHIPID_BCM5714_A0 entry in the known CHIPID table.
    Fix obsolete comments.

  brgphy.[ch]:
    Add some PHY IDs.

TODO:
  Add more three quirk code into bge and brgphy (the brgphy side's are
  currently #if0'ed).
  Add support for bnx into brgphy (currently #if0'ed)
2009-04-19 11:10:36 +00:00
msaitoh 559b0165b6 Add mii_mpd_rev to keep MII PHY revision. 2009-04-19 10:47:48 +00:00
msaitoh ed6e698500 regen 2009-04-19 10:25:48 +00:00
msaitoh a57ebfe2e5 Add some boradcom's PHYs.
Sort.
2009-04-19 10:25:25 +00:00
mrg 8cf404da0f add a NetBSD_DISABLED_* target for config.h.in. 2009-04-19 10:22:10 +00:00
mrg fc2793ab5b add some code to cope with dev.db's that have 32 bit time_t's in them.
shouldn't be relevant very much as dev.db should be re-created at boot,
but it helped me at least twice so far...
2009-04-19 10:19:26 +00:00
lukem 193dbe5711 fix -Wshadow 2009-04-19 08:53:37 +00:00
ad 8625673e64 Add SPCF_NOINTR to indicate that the CPU has been shielded from hardware
interrupts (as SPCF_OFFLINE is to unbound LWPs).
2009-04-19 08:45:09 +00:00
lukem 9a5b6d41c6 fix -Wshadow 2009-04-19 08:40:48 +00:00
ad a8bd3c39aa Add rw_obj_*() functions to mirror the existing mutex functions.
Proposed on tech-kern quite some time ago.
2009-04-19 08:36:04 +00:00
lukem 0350114585 Fix WARNS=4 issues (-Wshadow -Wsign-compare) 2009-04-19 07:54:08 +00:00
lukem 96bb91fe3c Fix WARNS=4 issues (-Wextra -Wshadow) 2009-04-19 07:49:07 +00:00
lukem 6bc6e73b91 Fix -Wsign-compare issues 2009-04-19 06:09:42 +00:00
lukem d3d3aa621a Fix WARNS=4 issues (-Wshadow -Wcast-qual -Wsign-compare) 2009-04-19 06:06:39 +00:00
lukem 9797780352 Fix -Wsign-compare issue 2009-04-19 04:01:06 +00:00
tsutsui 0ec9ab77d8 Remove number parameters from pseudo-device loop and ipfilter. 2009-04-19 03:06:22 +00:00
tnozaki 41a9bd5969 fix reliability issue.
if wcwidth(3) return -1, nvi may crash by memory fault.
2009-04-19 02:28:19 +00:00
lukem c7dd380491 Fix -Wsign-compare issues 2009-04-19 02:25:48 +00:00
lukem 228475234f Fix WARNS=4 issues (-Wextra -Wsign-compare) 2009-04-19 01:53:17 +00:00
lukem 6363aba79d Fix WARNS=4 (-Wcast-qual -Wextra) 2009-04-19 01:52:09 +00:00
lukem 975b87b4f5 Fix -Wcast-qual and -Wshadow issues 2009-04-19 00:56:32 +00:00
lukem 802fa86c68 Fix -Wcast-qual issue 2009-04-19 00:44:49 +00:00
lukem dfb301f79f Fix WARNS=4 issues (-Wshadow -Wcast-qual) 2009-04-19 00:26:18 +00:00
mrg 0ac2280bae note bozhttpd update 2009-04-18 21:22:37 +00:00
mrg bbbdac0a6f merge bozohttpd 20090418. remove a couple of minor do-nothing local
changes that don't need to cause conflicts.
2009-04-18 21:22:03 +00:00
mrg 5de1fbc2cb import bozohttpd 20090418. changes include:
o  avoid dying in daemon mode for some uncommon, but recoverable, errors
o  close leaking file descriptors for CGI and daemon mode
o  handle poll errors properly
o  don't try to handle more than one request per process yet

this covers PR#38489 and PR#40079, as well some some issues reported
privately.
2009-04-18 21:09:40 +00:00
tsutsui 1239650e67 - remove a cast against malloc
- (type *)0 -> NULL
- misc KNF
2009-04-18 17:56:24 +00:00
pooka 6bbcb27434 If running in multithreaded mode, create sched_sync thread. 2009-04-18 16:33:37 +00:00
tsutsui 0d20c5ab69 Resurrect accidentally removed libiscsi, which is not provided by ISC. 2009-04-18 16:31:30 +00:00
pooka c3582bac59 * actually do syncer list add/remove instead of just pretending to
play VI_ONWORKLST games
* honor PGO_LOCKED in getpages wrt. to interlock (no, we don't have
  a fault routine, so we don't need to seriously honor it)
2009-04-18 16:30:58 +00:00
tsutsui d7aded87fa bcopy -> memmove (where possibly overwrapped) 2009-04-18 16:20:43 +00:00
pooka 89e8e735e6 null putpages has to unlock interlock instead of just returning success 2009-04-18 15:41:36 +00:00
pooka 6d1ff74c7a Move genfs_null_putpages() from genfs_io.c to genfs_vnops.c -- it does
not really do i/o.
2009-04-18 15:40:33 +00:00
tsutsui 3684ba252b Use memcmp(9) and memcpy(9) directly rather than via
local BCMP() and BCOPY() macro.
2009-04-18 15:20:06 +00:00
tsutsui d24f7d6156 Revert bcopy -> memcpy change inside #ifdef BCOPY_FASTER block. 2009-04-18 15:04:26 +00:00
tsutsui d779b85d3e Remove extra whitespace added by a stupid tool.
XXX: more in src/sys/arch
2009-04-18 14:58:02 +00:00
wiz 86340eaa2b Remove outdated example. From Todd Kover in PR 41238. 2009-04-18 14:55:50 +00:00
lukem 1638ad2757 Fix WARNS=4 issues (-Wextra -Wsign-compare) 2009-04-18 14:06:58 +00:00
lukem e4e2f3f32e Fix -Wextra issue 2009-04-18 14:02:42 +00:00
lukem 899b971d2c Fix -Wsign-compare issue 2009-04-18 14:01:37 +00:00
lukem 6c07b7244e Fix -Wshadow 2009-04-18 13:57:44 +00:00
lukem ca5cba9384 remove unnecessary comments 2009-04-18 13:55:11 +00:00
lukem c2fdfea89a Fix -Wcast-qual and -Wsign-compare issues 2009-04-18 13:53:59 +00:00
lukem 46a41907e1 Fix WARNS=4 issues (-Wcast-qual -Wsign-compare).
XXX: could improve parsing of -v option and store "cutoff" as a uint64_t.
2009-04-18 13:37:04 +00:00
christos 6757e2669a delete old bind 2009-04-18 13:06:47 +00:00
lukem e3823f584e Fix -Wsign-compare issue 2009-04-18 13:05:54 +00:00
lukem 0466bbb6dd Fix -Wshadow and -Wcast-qual issues 2009-04-18 13:02:36 +00:00
christos bda2b43696 remove old bind. 2009-04-18 13:02:27 +00:00
christos 2eded15942 delete old bind 2009-04-18 13:01:19 +00:00