Commit Graph

74081 Commits

Author SHA1 Message Date
phk
cb257785b2 Introduce NetBSD's mii_phy_match() API and use it in the nsgphy to
get a description printed.
2002-04-29 14:09:10 +00:00
phk
623b9c8449 Convert exphy and ukphy over to the new code.
exphy is done flying blind, ukphy is tested on one card.
2002-04-29 13:35:31 +00:00
phk
f991342a35 Make one generic mii_phy_detach() to replace 19 slightly different ones.
Rename mii_phy_auto_stop() mii_phy_down().

Introduce mii_down(), use it from nge.  Do not indirect it to 19 identical
case's in 19 switchstatements like NetBSD did.
2002-04-29 13:07:38 +00:00
bde
0dd30d20d3 Removed "-fkeep-inline-functions" from CFLAGS, since it now has no effect
except to generate spurious warnings about a system header <sys/param.h>
having some inline functions (the bswap family).  This backs out the main
part of rev.1.5 (which was the only part left).  The problem fixed by
rev.1.5 of the Makefile went away in rev.1.5 of ../common/crtbegin.c
when the references to do_ctors() and do_dtors() in the latter were moved
from inline asm to C code.

This leaves the problem that implementation details cause warnings.

Discussed with:	jdp
2002-04-29 13:07:20 +00:00
benno
7b2f527b76 Commit of stuff that's been sitting in my tree for a while.
Highlights include:
- New low-level trap code from NetBSD.  The high level code still needs a lot
  of work.
- Fixes for some pmap handling in thread switching.
- The kernel will now get to attempting to jump into init in user mode.  There
  are some pmap/trap issues which prevent it from actually getting there though.

Obtained from:	NetBSD (parts)
2002-04-29 12:14:31 +00:00
phk
2715240fe7 Move a lot closer to NetBSDs MII support for GigE.
Move fxp and nge drivers over to use the new stuff.
2002-04-29 11:57:30 +00:00
ru
6685a25787 Do not override the `install' target. 2002-04-29 10:28:11 +00:00
benno
5ca178fbce - Add back calls to setfault that were removed when these functions were moved. 2002-04-29 09:28:56 +00:00
dwmalone
2eb82b93ad Add a sysctl which disables the logging of console output.
Approved by:	phk
MFC after:	2 weeks
2002-04-29 09:15:38 +00:00
asmodai
dafd57693b Fix indention which I did wrong in a previous commit.
Submitted by:	bde
2002-04-29 08:18:06 +00:00
peter
c0e3147cc6 Tidy up some loose ends.
i386/ia64/alpha - catch up to sparc64/ppc:
- replace pmap_kernel() with refs to kernel_pmap
- change kernel_pmap pointer to (&kernel_pmap_store)
  (this is a speedup since ld can set these at compile/link time)
all platforms (as suggested by jake):
- gc unused pmap_reference
- gc unused pmap_destroy
- gc unused struct pmap.pm_count
(we never used pm_count - we track address space sharing at the vmspace)
2002-04-29 07:43:16 +00:00
imp
18fb0e27c7 Spell hw.cbb.start_memory the same in the HINT as well as the sysctl.
Noted by: bde
2002-04-29 07:41:58 +00:00
imp
d48e30e7d4 Make sysctl RW 2002-04-29 07:37:09 +00:00
phk
03000f5700 Moving closer to being able to use NetBSD's generic mii_set_media()
function.
2002-04-29 07:18:26 +00:00
imp
9e26840566 Untimeout before calling timeout. I think that I have caught all the cases
where we were scheduling a timeout multiple times, but am not positive.
2002-04-29 06:55:46 +00:00
phk
b8edad4923 Edging ever closer to NetBSD... 2002-04-29 06:48:20 +00:00
obrien
27437e6a2a Barrow something from the `nmap' port to help the ENOCLUE people upgrading
from releng4 and are not able to properly read make(1) output.
2002-04-29 06:35:25 +00:00
jmallett
50116a633c Add something absurd I used one night as an example of CS overcomplication
of things most hackers take for granted.
2002-04-29 06:26:12 +00:00
phk
d6fb98dc45 Move us yet closer to IFM_* definitions in NetBSD. 2002-04-29 05:32:44 +00:00
alc
d61adfe678 Document three synchronization issues in vm_fault(). 2002-04-29 05:23:01 +00:00
jmallett
2c66f4a2cd Add one more here.
Submitted by:	Glen "Going to be a Daddy" Neff
2002-04-29 02:00:53 +00:00
jmallett
9f7f7d8d6e Remove a Kurt Vonnegut quote that appears in fortunes. 2002-04-29 01:44:16 +00:00
jmallett
6a589dc6a3 Spell out the name of Hunter S. Thompson. 2002-04-29 01:38:43 +00:00
jmallett
491ba39875 Sort one, remove some dupes. 2002-04-29 01:22:50 +00:00
jmallett
dc73f6bb73 Add something I found amusing when overheard, and a paraphrasal of it. 2002-04-29 01:05:23 +00:00
dougb
862db1562f Move the Rush Limbaugh fortunes to the offensive file, right after the
Anti-Reagan section. :) Apparently, people find opinions contrary to
their own to be offensive.
2002-04-29 00:41:55 +00:00
dougb
c424758ab6 Sort according to ../tools/do_sort 2002-04-29 00:33:30 +00:00
anholt
bb589e7417 Diff reduction to my experimental code: clean up return code handling.
Approved by:	des
2002-04-29 00:25:10 +00:00
dougb
730253b82f * Add a quote about the differences between human and machine
understanding from Ellen Ullman.
* Add Rush Limbaugh's 35 Undeniable Truths of Life. The ordering
of the entries is due to the ../tools/do_sort script.
2002-04-28 23:34:25 +00:00
dwmalone
4af9569b92 Add a French calendar.
PR:		32265
Submitted by:	Thierry Thomas <thierry@pompo.net>
MFC after:	1 week
2002-04-28 23:22:13 +00:00
alc
50524fd0df Pass the caller's file name and line number to the vm_map locking functions. 2002-04-28 23:12:52 +00:00
cg
edb0df5e22 add a missing \n to an unregister failure message 2002-04-28 22:59:45 +00:00
cg
5aa98887d0 recognise ct5880-e
Submitted by:	SONODA Yoshihide <yshd@na.rim.or.jp>
2002-04-28 22:38:23 +00:00
dougb
8153c8ffd9 * Add $FreeBSD$ to limerick and zippy
* Delete trailing white space in all its forms. In addition to being
bad style in general, it also causes formatting, and other problems
for various third party items (like xscreensaver) which use fortunes
for their own purposes.
2002-04-28 21:59:07 +00:00
jmallett
48130aa318 Kill one version of a limerick here.
Approved by:	The usual suspects on that IRC channel.
2002-04-28 21:16:32 +00:00
jmallett
7a14893b0a Kill some duplicates.
Kill an incorrectly duplicated Einstein limerick (thanks phk!)
2002-04-28 21:03:26 +00:00
phk
e67296b3b0 Follow NetBSD and s/IFM_1000_TX/IFM_1000_T/ 2002-04-28 20:34:20 +00:00
phk
f8c369f7e5 Don't pass three args when one will do just fine, and even prevent
mistakes like the one brgphy.c (now corrected).
2002-04-28 19:25:07 +00:00
des
47669f2ea0 Move drm to the i386-only section. 2002-04-28 19:21:48 +00:00
phk
9f962d9702 Improve an API by about 4 lines per driver. 2002-04-28 19:01:32 +00:00
phk
d3a0fb2abd Use generic MII #defines instead of private ones when the registers
are IEEE defined.

Object file comes out the same.
2002-04-28 18:47:29 +00:00
phk
f2c462ee95 Merge in rev 1.9 from NetBSD. 2002-04-28 18:43:30 +00:00
phk
5549556e4f We don't need the arp kludge any more. 2002-04-28 18:29:44 +00:00
phk
307f787e5a Stylistic sweep through the timecounter code.
Renovate comments.
2002-04-28 18:24:21 +00:00
phk
e866359c06 Don't screw up our uptime with historical dates. 2002-04-28 16:51:36 +00:00
des
e48f76df85 Spell void * as void * rather than caddr_t. This is complicated by the
fact that caddr_t is often misspelled as char *.

Sponsored by:	DARPA, NAI Labs
2002-04-28 15:18:50 +00:00
markm
905d923df1 Minor nit; return(foo) from main rather than exit(foo). 2002-04-28 14:04:24 +00:00
markm
1564a712ca Very minor whitespace nit. 2002-04-28 13:59:42 +00:00
markm
183c01f925 Remove GCC-specific flags. 2002-04-28 13:58:41 +00:00
markm
09b63c5efb Reorder for style. 2002-04-28 13:54:45 +00:00