Commit Graph

64884 Commits

Author SHA1 Message Date
kochi 3c3271accf Cleanup usage of ENABLE_DEBUGGER/ACPI_DEBUGGER/DDB.
By this change, ACPI debugger/disassembler are only
compiled when both DDB and ACPI_DEBUG options are
specified.  This change also reduces the kernel size
a little when ACPI_DEBUG is not specified.
2003-07-03 14:37:34 +00:00
rjs 9c1d55b97c Fix uninitialized variable. 2003-07-03 13:19:30 +00:00
scw b8b2b1d895 Fix resident page accounting for the kernel pmap. 2003-07-03 13:18:42 +00:00
drochner 9897b6dfac maintain statistics counters 2003-07-03 11:36:18 +00:00
drochner 8c4f2074f2 avoid a gcc3 warning about a never-true comparision in the
mstohz() macro
2003-07-03 11:24:13 +00:00
drochner 71bedfd458 Avoid an obscure gcc3 complaint about
"dereferencing type-punned pointer" by a cast to "void *".
I don't completely understand the warning, but it helps.
2003-07-03 11:12:32 +00:00
drochner 29eaa7cc18 "(u_short > 0xffff)" is never true, as gcc3 found out 2003-07-03 10:59:12 +00:00
ragge 3e74a824b6 Make IFQ_MAXLEN possible to set as an config-file option. 2003-07-03 09:24:19 +00:00
ragge 9e2d68cb61 Make it possible to set TCP_INIT_WIN and TCP_INIT_WIN_LOCAL in the config
file as options.
2003-07-03 08:28:16 +00:00
itojun 022df20c75 minor KNF 2003-07-03 05:03:53 +00:00
enami 6ad9178b4e defparam SOMAXKVA. 2003-07-03 01:42:10 +00:00
ragge cb6b5a36c4 Make the fast-search stuff an option. There are still reports on
problem with it.
2003-07-02 21:43:49 +00:00
ragge ef18f28fe4 Make somaxkva modifyable via sysctl (and compile-time) instead of
hardcoding its size.
2003-07-02 20:07:45 +00:00
ragge c6308a0598 Fix previous bug. Thanks to Enami for spotting the (obvious) error, and
to other people with much help with bug reports etc.
While fixing, change some of the code I added last time to make it
cleaner and simpler.
2003-07-02 19:33:20 +00:00
dsl 48046920d6 Fix copyright - it got mangled earlier.
Added a mention of Wolfgang Solfrank - there are probably only comments left
from the much older mbr.S that he contributed.
(Wolfgang pointed out the mangled copyright, but doesn't object to the removal
of the Tools GmbH one.)
2003-07-02 14:35:51 +00:00
yamt 3f84a2d3a1 a comment. 2003-07-02 14:07:16 +00:00
ichiro c2cac1cbd8 add sdram configration register 2003-07-02 14:03:52 +00:00
itojun d8976f36ac typo. found by markus@openbsd 2003-07-02 13:55:13 +00:00
yamt eb4e09d59f use queue.h macros. 2003-07-02 13:43:02 +00:00
yamt 82659031f4 use VFSTOUFS macro. 2003-07-02 13:41:38 +00:00
yamt 102c8a6a74 - add a new functions, lfs_writer_enter/leave, and use them instead of
duplicated code fragments.
- add an assertion.
2003-07-02 13:40:51 +00:00
yamt f3506a9599 drain dirops before aqcuiring seglock. otherwise it might deadlocks.
PR/20676 (Karl Knutsson)
2003-07-02 13:39:03 +00:00
kanaoka 63ffb11606 - Cleanup usage of ACPI_ALLOCATE_BUFFER/AcpiOsFree combination.
Patch from kochi.
2003-07-02 13:18:17 +00:00
kochi 7a37dbe54d cleanup usage of ACPI_ALLOCATE_BUFFER/AcpiOsFree combination 2003-07-02 12:23:25 +00:00
kochi 735150f269 print ACPI CA version 2003-07-02 11:54:43 +00:00
kochi 68dae3c110 Implement AcpiOsDerivePciId 2003-07-02 11:45:08 +00:00
ichiro 38e0b1c5c5 use struct pmap_devmap 2003-07-02 11:02:28 +00:00
ichiro 25096a1afe backout to recent changes w/o lwp changes 2003-07-02 10:40:46 +00:00
simonb c9bc6f3a9a Allow the dmesg command to show the last N bytes of the kernel message
buffer.
2003-07-02 07:05:29 +00:00
oster 1121191d31 Actually toss the comment I said I was tossing in the last commit. 2003-07-01 23:53:48 +00:00
oster 556d051c14 - toss a comment that is no longer relevant.
- alist_mutex is a holdover from the simulator days, and it
wasn't even used back then.  Toss the variable and init/destroy calls.
2003-07-01 23:50:54 +00:00
oster 111c14e12c Minor cleanup. No functional changes. 2003-07-01 23:36:01 +00:00
msaitoh 74b3acef2e - last commit (rev. 1.36) add a entry to keep model number of the PHY in
mii_softc. There are some situations to want to check model number.
- add comment
2003-07-01 22:58:48 +00:00
msaitoh d8a4a08a24 - last commit (rev. 1.32) fixes icsphy_reset()'s problem. ICSphys don't
restart auto negotiation, so it kick.
- add comment in icsphy_reset()
2003-07-01 22:51:13 +00:00
msaitoh 5af1b6934b Add ICS1889 and 1892 2003-07-01 22:46:08 +00:00
oster ead7b02a99 Toss experimental versions of some functions that were already #if 0'ed. 2003-07-01 22:43:59 +00:00
oster 971e957065 UpdateNodeHdrPtr() isn't used anywhere. Turf. 2003-07-01 22:05:39 +00:00
kanaoka 88acff6621 - Remove unneed include file. 2003-07-01 20:24:46 +00:00
drochner f2d5c0b3e3 VERY quick and VERY dirty port of the OpenBSD "txp" driver for
3Com 3C(R)990 cards. No TCP/UDP nor IPSEC offloading for now.
The ifmedia part needs some work, but I only have a 100-FX card;
hopefully someone will clean this up.
2003-07-01 20:08:51 +00:00
manu 0229e10bf3 Added a IOFBSETCOLORCONVERTTABLE method in ioframebuffer driver.
Added sanity check for user provided offsets in messages.
2003-07-01 19:15:47 +00:00
kochi 862f80594c Bugfix from FreeBSD tree:
>Fix a bug in register access.  This should fix warning messages of:
>  ACPI-0340: *** Error: Could not release ACPI Global Lock, AE_BAD_PARAMETER

Thanks for jhb@freebsd to find out this problem.
2003-07-01 17:49:57 +00:00
simonb ad51219ae3 Make this work without a populated destdir:
machine and x86 symlinks.
 Include from right places.
 Don't depend on LIBCRT0,etc.

Also for the bootxx programs, keep the ELF object during the build
process.
2003-07-01 13:36:59 +00:00
uwe 66a03d56d3 Correct the macro name for SCP0DT bit.
Addresses port-sh3/22025 by FURUKAWA Masashi.
2003-07-01 11:49:37 +00:00
christos e63f4ac6ba add text for getargs. 2003-06-30 22:20:04 +00:00
dbj f4609c793f remove __MNT_UNUSED2 since it was used by christos for MNT_GETARGS. 2003-06-30 21:22:26 +00:00
thorpej 221d313d7c Allow SOURCES to be overridden. 2003-06-30 17:54:06 +00:00
thorpej 22c08fe417 PCI-X requires that that devices updated their PCIXSR on every
config write with the device number specified in AD[15:11].  If
we don't set this field when issuing a Type 0 cycle, each device
could end of thinking it is at device 0, which can cause a number
of problems.  Doing this unconditionally should be OK when only
PCI devices are present.
2003-06-30 15:27:12 +00:00
thorpej b4031f0a49 Go to splhigh() before doing autoconfiguration. 2003-06-30 15:17:11 +00:00
ragge c04e1a5756 Disable the code I checked in yesterday; reports that samba (!) are crashing
machines with it. Will do some more tests.
2003-06-30 14:51:06 +00:00
simonb 1534c8822e ANSIfy, KNF. 2003-06-30 13:39:36 +00:00
ragge b027f1fffd Set the send queue to max(BGE_TX_RING_CNT - 1, IFQ_MAXLEN); sometimes
IFQ_MAXLEN may be choosen to a larger value than number of descriptors.
Why this setting from the beginning???
2003-06-30 13:20:21 +00:00
martin 273141ddfc Regen (Sony USB Memory Stick Slot (MSC-U03) added) 2003-06-30 12:42:27 +00:00
martin 950ba36af5 Add Sony USB Memory Stick Slot (MSC-U03),
from Katsuhisa ABE in PR 22017.
2003-06-30 12:41:37 +00:00
itojun 7e53aaa8dd better ip_mrouter_detach(). by ono@kame 2003-06-30 10:34:53 +00:00
itojun 2317e81b85 avoid ICMPv6 redirect if the packet filter rewrite dst addr to an address
on the incoming interface.  cedric@openbsd
2003-06-30 08:00:59 +00:00
itojun 38d08be727 do not generate ICMP redirect when packet filter alters ip_dst to an
address that reside on the same link.  Cedric Berger convinced me that
it is necessary.
2003-06-30 07:54:28 +00:00
itojun 842d3bee32 KNF 2003-06-30 03:30:50 +00:00
itojun 1db5330c52 freebsd code somehow crept in 2003-06-30 02:08:28 +00:00
itojun 7ded9690f4 after pfil_run_hooks, need to fix hlen as well 2003-06-30 01:22:51 +00:00
itojun 868bbd9978 fix indent 2003-06-30 01:21:11 +00:00
itojun 725c585956 remove IPv4 hook if IPv6 hook fails (seems to be cut-and-paste error). 2003-06-30 00:15:12 +00:00
fvdl d5aece61d6 Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
2003-06-29 22:28:00 +00:00
bouyer 7a5f4f28d0 Don't use LBA48 if we don't have to (that is, if the request is inside the
first 128GB). Tested by Andreas Johansson.
2003-06-29 19:28:16 +00:00
ragge 679db94879 Add code to remember where in the send queue of mbufs the last packet was
sent from. This change avoid a linear search through all mbufs when using
large TCP windows, and therefore permit high-speed connections on long
distances.

Tested on a 1 Gigabit connection between Luleå and San Francisco, a distance
of about 15000km.  With TCP windows of just over 20 Mbytes it could keep up
with 950Mbit/s.

After discussions with Matt Thomas and Jason Thorpe.
2003-06-29 18:58:26 +00:00
thorpej d189d63466 Fix problems with the ktrace/lwp changes. 2003-06-29 18:53:52 +00:00
thorpej a06b275edc Undo part of the ktrace/lwp changes. In particular:
* Remove the "lwp *" argument that was added to vget().  Turns out
  that nothing actually used it!
* Remove the "lwp *" arguments that were added to VFS_ROOT(), VFS_VGET(),
  and VFS_FHTOVP(); all they did was pass it to vget() (which, as noted
  above, didn't use it).
* Remove all of the "lwp *" arguments to internal functions that were added
  just to appease the above.
2003-06-29 18:43:21 +00:00
aymeric baf9a7e65c Do not use RELOC() after the MMU is enabled.
Move the two assignments that were made after the MMU is on, before.

From Gunther Nikl on port-amiga@. Thanks!
2003-06-29 18:41:47 +00:00
martin f73e5a517d #ifdef _KERNEL_OPT police 2003-06-29 18:11:14 +00:00
chris e0c81274e0 Another proc->lwp change. 2003-06-29 17:18:48 +00:00
bouyer b55e87ab48 Remove unused WAITTIME definition. Pointed out by Andreas Johansson. 2003-06-29 17:03:47 +00:00
thorpej 9f722af1c9 Adapt to ktrace/lwp changes. 2003-06-29 16:10:48 +00:00
thorpej 38271de3f4 Regen: adapt to linux mmap2 changes. 2003-06-29 16:08:36 +00:00
thorpej 8ab744356a Adapt to linux mmap2 changes. 2003-06-29 16:07:58 +00:00
thorpej f4fff81d3a Adapt to ktrace/lwp changes. 2003-06-29 15:49:49 +00:00
thorpej e3165e7ebd Adapt to ktrace/lwp changes. 2003-06-29 15:27:59 +00:00
simonb b8aadd3696 Only one function is this file wasn't ANSIfied, convert it. 2003-06-29 15:17:40 +00:00
simonb 2bda3187f5 Fix 'struct lwp *' lossage. 2003-06-29 15:14:11 +00:00
thorpej 7da140a1a2 Fix problems with Darren's ktrace/lwp changes. 2003-06-29 15:11:48 +00:00
simonb 168c4e411f Fix 'struct lwp *' lossage. 2003-06-29 15:07:08 +00:00
jdolecek dc63267c8b properly FILE_USE/FILE_UNUSE descriptor in linux_sys_fcntl()
adresses PR kern/21628 by Wolfgang Solfrank
2003-06-29 14:51:28 +00:00
chris 6721e83cfc Fixes to get cats build going following proc to lwp changes. 2003-06-29 14:51:04 +00:00
jdolecek c46b3f8bf7 regen: allocate identifier for BusTek BT-640A adapter 2003-06-29 14:49:15 +00:00
jdolecek 95ab1275a4 allocate identifier for BusTek BT-640A adapter 2003-06-29 14:48:21 +00:00
jdolecek 83872500d3 cosmetic - make sc_supmedia of struct lance_softc const 2003-06-29 14:42:58 +00:00
jdolecek c78fda0bcb fix typo in comment 2003-06-29 14:41:11 +00:00
simonb 7aa3dc6d45 Restore parentheses around return value that were removed with the
previous commit.
2003-06-29 14:09:21 +00:00
martin 69cd0c4a54 struct proc * -> struct lwp * 2003-06-29 13:33:51 +00:00
simonb 9e8290fbee Use the com softc enabled/disable hooks instead of directly frobbing
Au1x00 registers in com_attach_subr().  Suggested by Jason Thorpe and
tested on both console and extra serial ports.
2003-06-29 13:18:24 +00:00
itojun 0778967b85 lwp change lossage 2003-06-29 12:36:35 +00:00
simonb 261417ff31 Fix 'struct lwp *' lossage. 2003-06-29 12:34:55 +00:00
simonb 33187ba9d0 Show current PC in an panic message. 2003-06-29 12:21:32 +00:00
simonb 6939feda9f KNF nit (parentheses around return value). 2003-06-29 12:20:19 +00:00
martin b13abb2046 Fix a few small glitches (struct proc -> struct lwp) 2003-06-29 12:17:21 +00:00
itojun 5dcb6d7469 fix lwp lossage 2003-06-29 12:16:19 +00:00
martin 6b2ac9f5b4 Fix small merge botch in previous. 2003-06-29 12:04:32 +00:00
martin 8908626c9a struct proc -> struct lwp 2003-06-29 12:01:34 +00:00
simonb 130b423e90 Fix a nit in a comment. 2003-06-29 12:00:47 +00:00
simonb a810cb3990 Don't use "extern" with functions. 2003-06-29 11:32:11 +00:00
ichiro b96eb9591c struct proc * -> struct lwp * 2003-06-29 11:20:44 +00:00
simonb d202fabb14 Use "NULL" instead of "(struct foo *)0". 2003-06-29 11:14:17 +00:00
simonb 7e59884122 Fix 'struct lwp *' lossage. 2003-06-29 11:12:33 +00:00
ichiro 904951f445 struct proc * -> struct lwp * 2003-06-29 11:10:35 +00:00
darrenr 257443876f 'struct proc *' -> 'struct lwp *' as required to get GENERIC for macppc built 2003-06-29 11:02:21 +00:00
ichiro 4eee2aed2e struct proc * -> struct lwp *
ixp425_com:
add some status flags
2003-06-29 10:51:29 +00:00
martin 2edcbf6bb2 struct proc * -> struct lwp * 2003-06-29 10:37:45 +00:00
martin c101c976d0 Passing struct lwp * instead of struct proc * to device functions. 2003-06-29 10:29:33 +00:00
martin 84a6dd7e55 Passing struct lwp * instead of struct proc * to device functions,
replace a homegrown check with proper suser() call.
2003-06-29 10:29:17 +00:00
ichiro 64c73d799a missing ')' 2003-06-29 10:13:11 +00:00
martin f62781d485 Intermediate cast to intptr_t when storing a lwp id in a caddr_t variable
for archs where those have different size.
2003-06-29 09:59:59 +00:00
darrenr 28c230cff5 More changes for providing lwpid for ktrace (sparc GENERIC built) 2003-06-29 09:56:29 +00:00
simonb 964da8bfb6 Fix 'struct lwp *' lossage. 2003-06-29 09:56:28 +00:00
darrenr c372874b88 More changes for providing lwpid for ktrace (sparc GENERIC built) 2003-06-29 09:56:28 +00:00
simonb 7d92ae9627 Fix 'struct lwp *' lossage. 2003-06-29 09:56:27 +00:00
darrenr 9dc96360bb More changes for providing lwpid for ktrace (sparc GENERIC built) 2003-06-29 09:56:27 +00:00
simonb 33d036f82c Fix 'struct lwp *' lossage. 2003-06-29 09:56:26 +00:00
darrenr 6147cc4ab2 More changes for providing lwpid for ktrace (sparc GENERIC built) 2003-06-29 09:56:24 +00:00
simonb 0a144cd97c Fix 'struct lwp *' lossage. 2003-06-29 09:42:10 +00:00
simonb fe57fb71a2 Fix more needless 'struct proc *' to 'struct lwp *' fallout. 2003-06-29 09:23:14 +00:00
enami bfbd2cd3ab Add forward declaration of struct lwp instead of struct proc. Sort those
while I'm here.
2003-06-29 05:43:56 +00:00
enami 618a0ff610 Redo previous; struct proc *p is necessary if NSEQUENCER is non zero. 2003-06-29 05:26:25 +00:00
dogcow f842592241 these two got missed in darrenr's proc -> lwp changes 2003-06-29 03:29:14 +00:00
thorpej 927fffff3d Adjust to ktrace/lwp changes. 2003-06-29 02:56:23 +00:00
enami e946a4baa0 Adjust !LKM case for proc * -> lwp * change. 2003-06-29 02:23:19 +00:00
thorpej 3a56e3ea7e Adjust for ktrace/lwp changes. 2003-06-29 02:16:59 +00:00
thorpej 1966c13215 Correct the R-W'ness of GDT_IOCTL_DRVERS and GDT_IOCTL_CTRTYPE.
From Achim Leubner @ ICP.
2003-06-29 01:28:23 +00:00
thorpej 9a1c6df58e Only need to report the PCI product ID in the management ioctls.
From Achim Leubner @ ICP.
2003-06-29 01:20:50 +00:00
bouyer 9a6b838fb4 Correct setup of General Purpose Register for PDC20265 (Ultra/100) and newer.
From Andreas Johansson in private mail.
2003-06-28 23:13:26 +00:00
bouyer ab8781bdb6 Add support for another Intel Pro/100 variant. From Quentin Garnier in
private mail.
2003-06-28 23:04:50 +00:00
bouyer 2eb9add444 Add support for ICH5, from Quentin Garnier in private mail. 2003-06-28 23:04:11 +00:00
bouyer 641fa8dccc Regen: some more Intel devices. 2003-06-28 22:55:43 +00:00
bouyer 0dd331c1a2 Add some intel devices, from Quentin Garnier in private mail. 2003-06-28 22:54:23 +00:00
bouyer 75208caf18 Adapt for struct proc* -> struct lwp* changes. 2003-06-28 22:53:35 +00:00
bouyer 63d28e64a6 Kill unused variable. 2003-06-28 22:52:53 +00:00
darrenr 42091f2362 From OpenBSD 1.33-1.34:
When using bpf(4) in immediate mode, and using kevent(2) to receive
notification of packet arrival, the usermode application isn't notified
until a second packet arrives.

This is because KNOTE() calls filt_bpfread() before bd_slen has been
updated with the newly arrived packet length, so it looks like there
is no data there.

Moving the bpf_wakeup() call for immediate mode to after bd_slen is set
fixes it.

From: wayne@epipe.com.au in pr 3175
2003-06-28 17:33:02 +00:00
darrenr 887069bda8 Revert out an accidental commit. 2003-06-28 15:34:41 +00:00
simonb 02c392e820 Remove an unnecessary local variable (and save a read of the "time"
variable if we don't need to use it).
2003-06-28 15:02:24 +00:00
simonb a357272810 Declare ras_pool in <sys/ras.h> instead of an extern declaration in
the file where it's needed.
2003-06-28 14:52:10 +00:00
simonb d1c5820781 malloc() returns "void *", we don't need to cast the return value. 2003-06-28 14:33:39 +00:00
simonb ccbfec4208 Sprinkle some KNF. 2003-06-28 14:32:02 +00:00
darrenr 960df3c8d1 Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records.  The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V
2003-06-28 14:20:43 +00:00
he da6b84e290 Defflag M060SP and PANICBUTTON, since the corresponding include files are
now referenced from atari_init.c and machdep.c.
The PANICBUTTON implementation appears to be incomplete, compared to
the other ports which have this option implemented.
2003-06-28 14:18:30 +00:00
he eff4d773fd Make sure to "mkdir -p" the destination directories under /usr/mdec. 2003-06-28 14:14:48 +00:00
fvdl 1c961078b9 Mark a CPU as no longer running when it gets a HALT IPI. Avoids other
CPUs getting stuck waiting for it because they sent a TLB shootdown
during shutdown.
2003-06-28 11:33:19 +00:00
pk f22f3adf41 me_alloc()/region_alloc(): return the MMU cookie directly. 2003-06-28 10:17:47 +00:00
pk 338fb7c628 Simplify pmap_extract4_4c(), as suggested by Chuck Silvers in private
communication.
2003-06-28 10:02:13 +00:00
pk 75fe06e6e3 me_free(): it makes no sense to try and update the ref/mod PTE bits here. 2003-06-28 09:51:04 +00:00
he 501a19cbfa Use ${.CURDIR} when referring to source tree include directories. 2003-06-28 09:30:26 +00:00
he 450e795668 Somehow all these tiny Makefiles had their contents replicated.
Pare back down to just one copy.
2003-06-28 09:09:51 +00:00
he 4d99002423 #ifdef _KERNEL_OPT police. 2003-06-28 08:42:41 +00:00
he a81160e601 Defflag M060SP and PANICBUTTON, now that machdep.c includes
the corresponding files.
2003-06-28 08:39:24 +00:00
he 86cc24bba0 #ifdef _KERNEL_OPT police. 2003-06-28 08:31:16 +00:00
he 36f3de8bfd Defflag PANICBUTTON now that machdep.c includes opt_panicbutton.h. 2003-06-28 08:26:45 +00:00
he 870b85989a Defflag PANICBUTTON, now that machdep.h includes opt_panicbutton.h. 2003-06-28 08:22:02 +00:00
he 3686522ed1 Regenerate after adding include of linux_mmap.h. 2003-06-28 07:56:51 +00:00
he c7ace1c552 Need to include linux_mmap.h to get size of struct linux_sys_mmap2_args. 2003-06-28 07:55:08 +00:00
uwe ea10b56931 Trust srt0.S if it has set cputyp to CPU_SUN4M.
It can infer OFW -> sun4m, as only JavaStations have OFW, and it can
detect OFW by the different calling convention.
2003-06-28 01:03:57 +00:00
uwe 5fe7a8a85c Only JavaStations have OFW, so set cpu type to CPU_SUN4M in is_openfirm. 2003-06-28 00:59:09 +00:00
he 0bd3ded5ff Defflag PANICBUTTON, now that machdep.c includes opt_panicbutton.h. 2003-06-27 21:43:03 +00:00
uwe 94e7210074 Drop redundant argument to printf("\n"). Obvious pasto. 2003-06-27 21:27:24 +00:00
pk 9e0e8676f1 Make sure to flush any user register windows when stealing PMEGs in
me_alloc() (and SMEGs in region_alloc()).

Should fix PR#14180.
2003-06-27 16:44:03 +00:00
oki 955ac53d91 Put correct dest ether address on PPPoE server mode. 2003-06-27 16:24:32 +00:00
yamt ff974db6fd if nfs_writerpc() splitted an unstable write into some rpcs and
write verifier was changed, we should restart from the first.
2003-06-27 14:00:55 +00:00
yamt 42be09ca92 indent. 2003-06-27 13:58:36 +00:00
christos d82212c90e Regen 2003-06-27 13:20:00 +00:00
christos df92a9d2a5 PR/21498: URA Hiroshi: Add S3 Savage/IXC 2003-06-27 13:19:36 +00:00
itohy d031823b2b Properly reset PHY on ZNYX boards which are composed of
21143 and Quality Semiconductor QS6611 PHY.

QS6611 requires explicit reset on some hardware configuration.  See
``Using the Intel 21143 with the Quality Semiconductor QS6611 Revision D4''
<http://www.intel.com/design/network/applnots/278239.htm> for details.

Models which should be supported by this change are
	ZX345Q, ZX346Q, ZX348Q,		(non-Q versions use different PHYs)
	ZX414, ZX412, ZX444,
	ZX442, ZX212, ZX214,
	ZX374, ZX372, ZX244,
	ZX424, ZX422.

Tested on ZX346Q.

Some information is from the ZNYX driver source code available from
the ZNYX web site <http://www.znyx.com/>.
2003-06-27 12:25:38 +00:00
drochner 82a0769126 regen 2003-06-27 11:13:02 +00:00
drochner a7eff26572 add some missing 3c990 variants 2003-06-27 11:12:17 +00:00
itojun 2cadb8ca7a split ND6 cache timer management to per-entry. increased accuracy,
no O(N) loop.   sync w/ kame
2003-06-27 08:41:08 +00:00
simonb c674f217bf Use STATIC_LEAF and STATIC_XLEAF for the helper functions; there's no
need to export their symbols.
2003-06-27 08:25:43 +00:00
simonb ecdaf1626b Add STATIC_LEAF and STATIC_XLEAF macros, ala the alpha port. 2003-06-27 08:22:05 +00:00
he 57822a30b2 Conditionalize usage of the COM_HW_HAYESP constant on COM_HAYESP.
Add a dummy type argument to the local (au)comcnattach to match the change
in the prototype of the "real" comcnattach.

Reviewed and tested by simonb.
2003-06-27 07:39:34 +00:00
itojun 26d2e41250 fix mistake in rev 1.30; needed to subtract ip header len 2003-06-26 21:59:42 +00:00
itojun 73ed908c03 fix stats to meet 4.4BSD practice 2003-06-26 21:49:17 +00:00
itojun 08740c2691 fix comment 2003-06-26 21:43:39 +00:00
ichiro 5f17d961c0 regen. 2003-06-26 21:15:12 +00:00
ichiro 2bb26f9cd9 add products
Planex 10/100BaseTX FNW-3800-TX
   kern/20175
Corega FEther II CB-TXD 10/100BaseTX
   kern/21497
2003-06-26 21:14:44 +00:00
aymeric 3d58c2238e include <sys/types.h> so that this file can be included first/alone 2003-06-26 20:47:51 +00:00
aymeric 003fd1df25 . ANSIfy
. include needed headers
. fix a couple of warnings
2003-06-26 20:47:10 +00:00
aymeric 98e0168f0a . ANSIfy
. include the needed headers
. net_mountroot() becomes static
2003-06-26 20:46:31 +00:00
aymeric ee20410a5e ANSIfy 2003-06-26 20:45:29 +00:00
aymeric b0c4d54ee9 . ANSIfy
. include alloc.h
. while there, fix a bug in prom2boot() introduced in rev. 1.11
2003-06-26 20:44:51 +00:00
aymeric e9cabc8553 . ANSIfy
. Fix a missing return
. replace %x by %p to print pointers in OFW_DEBUG printf's
2003-06-26 20:43:48 +00:00
aymeric 110312e089 declare functions from corresponding C file 2003-06-26 20:42:38 +00:00
christos 8924cfdcba abuse the mib instead of abusing the new pointer. Idea from simon burge.
It allows the tcp_sysctl_ident to run by non-super-users. No backwards
compatibility provided.
2003-06-26 17:32:22 +00:00
drochner 9c0e4279cc remove unneeded cpu_feature declaration 2003-06-26 16:48:18 +00:00
drochner 491828ab43 cpu_feature is not set (nor used) by locore since SMP, so move the
definition to C code
2003-06-26 16:47:15 +00:00
drochner 1fa5ee8d10 make cpu_feature unsigned, just like ci_feature_flags 2003-06-26 16:45:19 +00:00
drochner 31f515916f -make cpu_feature unsigned, just like ci_feature_flags
-clean up duplicate declaration of cpu_info_primary
2003-06-26 16:41:32 +00:00
drochner 470de734bd remove redundant "extern" declarations 2003-06-26 16:37:20 +00:00
yamt f2917653ff add appropriate #ifdef's.
pointed by Simon Burge on source-changes
and by some people in private mail.
2003-06-26 13:38:53 +00:00
he f250a35e96 #ifdef _KERNEL_OPT police; identd defines _KERNEL before some includes. 2003-06-26 13:20:55 +00:00
itojun b0f4b20c71 sync packet tag w/openbsd 2003-06-26 09:55:10 +00:00
ichiro 04bd82d36b regen. 2003-06-26 09:20:23 +00:00
ichiro 03f8899b31 add product
Aironet 350 miniPCI Wireless LAN Adapter
2003-06-26 09:19:54 +00:00
tron 706af04c5c Test for symbol "_KERNEL_OPT" instead of "_LKM" as suggested by
Matthew Green.
2003-06-26 08:22:06 +00:00
itojun c077e299a8 expire mrt if mrt_stall goes empty. ono@kame 2003-06-26 07:41:48 +00:00
tron 88613ffb5e Don't include "opt_mbuftrace.h" if "_LKM" is defined. This fixes a build
problem in the "vmware-module3" package.
2003-06-26 06:52:55 +00:00
itojun 3b8a1d1f0c strlcpy 2003-06-26 05:26:45 +00:00
itojun 4f7d642336 cleanup multicast routing stuff on if_detach().
XXX sideeffect to running instance of multicast routing daemon unknown
2003-06-26 03:35:00 +00:00