Commit Graph

94098 Commits

Author SHA1 Message Date
uwe
ba371d8f54 Convert to CFATTACH_DECL_NEW and misc related facelift. 2008-04-15 00:21:49 +00:00
uwe
94ad439b55 Handle leaf routines that were interrupted.
Clean up/prettify debug printfs and compile them unconditionally,
but only enable them if db_trace_debug is set.
2008-04-15 00:18:27 +00:00
cegger
1b5ffa90ad - ansify
- use POSIX integers
2008-04-14 21:20:41 +00:00
spz
123ed98aff pretty up if_ex: pmf'ify, device split, and improve printing a bit too.
Reviewed and function-tested on if_ex_cardbus by cube (thanks).
Function-tested on if_ex_pci by myself.
2008-04-14 20:03:13 +00:00
ad
db0173b9a6 SSP: block interrupts when enabling, and move the init to just before
starting secondary processors.
2008-04-14 18:07:51 +00:00
nakayama
a9ca1b36dd Remove sparc64_ipi_sync_tick.
Since we can use counter-timer as timecounter instead of %tick on SMP kernel,
it is not necessary to sync all CPUs %tick registers.
2008-04-14 17:54:07 +00:00
nakayama
bf95a282f1 Reduce use of curcpu() in tickintr_establish. 2008-04-14 17:43:02 +00:00
oster
25c8cdfd32 Print out the status value if a reconstruction read fails.
Don't print out write promotions during reconstruct unless
we are debugging reconstructs.
2008-04-14 17:24:50 +00:00
nakayama
37d841fbb8 Remove sparc64_ipi_sync_tick.
Since we can use counter-timer as timecounter instead of %tick on SMP kernel,
it is not necessary to sync all CPUs %tick registers.
2008-04-14 16:19:18 +00:00
nakayama
3c342df23b Add workaround for BB_ERRATA_1 on writing to TICK_CMPR register in
next_tick().  If writing to TICK_CMPR fails, we lose hardclock interrupt
on secondary CPUs.

About BB_ERRATA_1 from comment in OpenSolaris:

/*
 * Writes to the TICK_COMPARE register sometimes fail on blackbird modules.
 * The failure occurs only when the following instruction decodes to wr or
 * wrpr.  The workaround is to immediately follow writes to TICK_COMPARE
 * with a read, thus stalling the pipe and keeping following instructions
 * from causing data corruption.  Aligning to a quadword will ensure these
 * two instructions are not split due to i$ misses.
 */
2008-04-14 16:14:20 +00:00
ad
acc82f8808 soreceive: dom_externalize/dom_dispose can block. If new messages are
appended while the receiver is blocked, the sockbuf will be corrupted.
Dequeue control messages from the sockbuf and sync its state in one
pass. Only then process the control messages. From FreeBSD.
2008-04-14 15:42:20 +00:00
sborrill
244791d8a2 Fix display of total number of sectors if > 2^32 on 32-bit machines 2008-04-14 14:53:52 +00:00
cegger
7f5c40b741 - use POSIX integer types
- ansify functions
2008-04-14 13:38:03 +00:00
cegger
3e3ad32c16 ansify 2008-04-14 10:54:21 +00:00
yamt
a180b7cf7e trap: ignore T_ASTFLT if KVM86MODE.
revealed by the recent per-cpu runqueue change.
2008-04-14 09:42:50 +00:00
yamt
7bf20daff6 remove unnecessary __MUTEX_PRIVATE. 2008-04-14 09:40:43 +00:00
yamt
e5c1081112 make decay_cpu static. 2008-04-14 09:39:31 +00:00
cegger
d6dfa07dd4 - u_int32_t -> uint32_t
- ansfiy
2008-04-14 05:52:34 +00:00
jmcneill
42ea6765b5 Update ACPICA changelog. 2008-04-14 00:56:37 +00:00
jmcneill
76fcb78d00 Compatibility with ACPICA 20080321; from the release notes:
All Reference Objects returned via the AcpiEvaluateObject interface are now
marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved for
NULL objects - either NULL package elements or unresolved named references.
2008-04-14 00:30:30 +00:00
ad
fa71518fbc Fix comments. 2008-04-14 00:18:43 +00:00
yamt
7ab55e0ff2 sched_print_runqueue: add __printf__ attribute to the 'pr' argument. 2008-04-13 22:54:19 +00:00
yamt
3cd40e9f41 sched_print_runqueue: fix printf formats. 2008-04-13 22:53:31 +00:00
cegger
78ad08323e reduce diff to x86/x86/cpu.c 2008-04-13 22:29:38 +00:00
cegger
29ffadf779 use device accessors and other misc cleanups 2008-04-13 22:23:58 +00:00
cegger
f578477b0b - device_t/softc split
- ansify
2008-04-13 21:59:15 +00:00
dogcow
77c109342d Fix "symtable too small" error by removing smaller-than-default SYMTAB_SPACE. 2008-04-13 19:51:58 +00:00
dogcow
7bcb554c5f Since nobody else has fixed it yet: fix case of GDB && !MULTIPROCESSOR. 2008-04-13 16:22:14 +00:00
matt
e21c02e25f Put RCSIDs in section ".ident" 2008-04-13 15:07:39 +00:00
ad
8d19e50577 Don't allocate or free pv_entry_t with pmap_lock held. Requested by martin@.
Untested.
2008-04-13 15:01:55 +00:00
njoly
0f51b405b0 Fix infinite loop with AGP on Ali M1689 (from PR/38269 and PR/35416),
by disallowing aperture size values below 1MB.
2008-04-13 13:07:31 +00:00
tsutsui
4f55dadd88 Fix another typo. 2008-04-13 12:59:10 +00:00
mlelstv
941dd022e4 fix format strings for DIAGNOSTIC output 2008-04-13 12:22:13 +00:00
tsutsui
e549ff1e61 Add esp(4) at isa. (though I doubt it has ever worked) 2008-04-13 04:59:45 +00:00
tsutsui
78a1d236b6 Split device_t/softc for MI ncr53c9x and some related devices,
with various cleanup.
2008-04-13 04:55:52 +00:00
chris
d23686181e Fix device_t/softc split fallout.
A device_t should never be cast with void*.  This fixes reboot on acorn32.
I also suspect it'll fix a panic mjf was seeing due to corruption of the
alldevs list.
2008-04-13 01:14:26 +00:00
mlelstv
a2f053ec77 add cast to suit format string 2008-04-12 22:52:40 +00:00
mlelstv
0e937de3b0 add missing 'const' qualifiers and fix printf format strings in
debug code.
2008-04-12 22:38:20 +00:00
rmind
8d700f664c Fix shared memory code that it could handle > 4GB addresses correctly.
PR/38109, patch (a little bit modified) from Chris Brand.
2008-04-12 20:49:22 +00:00
cegger
2a02b38790 ansify 2008-04-12 19:49:54 +00:00
ad
d87d01d660 Fix typo. Spotted by kardel@. 2008-04-12 18:22:03 +00:00
ad
a78ad62cfb cache_enter: inline LIST_INSERT_HEAD so that the membar_producer() can be
put in the right spot. The 'next' link in the new entry must become globally
visible before the list head is updated. This could have affected systems
with weak memory ordering like the alpha.
2008-04-12 17:34:26 +00:00
ad
da60beabf5 softint_overlay: bind the stolen LWP to the current CPU while processing,
to prevent it blocking and migrating to another CPU.
2008-04-12 17:17:28 +00:00
ad
b60416c0e2 Move the LW_BOUND flag into the thread-private flag word. It can be tested
by other threads/CPUs but that is only done when the LWP is known to be in a
quiescent state (for example, on a run queue).
2008-04-12 17:16:09 +00:00
ad
06e0894e76 Take the run queue management code from the M2 scheduler, and make it
mandatory. Remove the 4BSD run queue code. Effects:

- Pluggable scheduler is only responsible for co-ordinating timeshared jobs.
- All systems run with per-CPU run queues.
- 4BSD scheduler gets processor sets / affinity.
- 4BSD scheduler gets a significant peformance boost on some workloads.

Discussed on tech-kern@.
2008-04-12 17:02:08 +00:00
jmcneill
16917be1d9 Update to ACPI-CA 20080321. Thanks to George Michaelson for help with testing. 2008-04-12 16:16:06 +00:00
chris
2fb78588e4 Ignore size alignment issues, as we're never going to have a case where
copying a three extra bytes will cause an issue.
2008-04-12 16:10:46 +00:00
cegger
856327cd56 make this build with BRIDGE_IPF and PFIL_HOOKS options 2008-04-12 09:26:45 +00:00
tsutsui
7b00ef7ec5 Split device_t/softc, with misc cosmetics. 2008-04-12 08:35:22 +00:00
tsutsui
11da9127f7 Split device_t/softc. 2008-04-12 08:21:19 +00:00
tsutsui
efec14320d Split device_t/softc for MI mb86960, with misc cosmetics. 2008-04-12 06:37:51 +00:00
tsutsui
7c06c0a3e8 Split device_t/softc for MI mb86960, with misc cosmetics. 2008-04-12 06:27:01 +00:00
thorpej
7ff8d08aae Make IP, TCP, UDP, and ICMP statistics per-CPU. The stats are collated
when the user requests them via sysctl.
2008-04-12 05:58:22 +00:00
tsutsui
bdd6dadf75 Fix a botch (inverted test) in rev 1.4. 2008-04-12 04:33:48 +00:00
cegger
c71642a72c remove extra blank.
before:
nxp0:  reported by CPUID; using exception 16

now:
npx0: reported by CPUID; using exception 16
2008-04-11 20:42:34 +00:00
cegger
09b1b08c50 make this build with FD_DEBUG 2008-04-11 19:16:44 +00:00
njoly
26457ccc1d Under NPTL emulation, do not reparent all members of a thread group,
but only the processes that emulate threads (with LINUX_CLONE_THREAD
set).

This fix a problem for child processes that share address space with
the parent. At exit, the child will die silently, leaving the parent
waiting indefinitely for its end ...
2008-04-11 16:47:50 +00:00
dyoung
9a6b7a1ccd Remove debug printf that snuck in with my commit. 2008-04-11 16:44:45 +00:00
nonaka
9f287f4baf increase bsdimage size. 2008-04-11 16:43:49 +00:00
ad
0701eb1ec7 newdirrem: if the number of deletes in progress is getting too high, start
pushing the syncer before considering rate limiting the deletes. We hold
vnodes locked and it's likely that the syncer will try to lock them while
flushing, leading to the syncer and remover proceeding in lockstep and
making very little forward progress. XXX this is not a solution.
2008-04-11 16:25:38 +00:00
ad
6aa98766aa Regen. 2008-04-11 15:51:38 +00:00
ad
f628a1e814 Only include sys/kauth.h if _KERNEL. 2008-04-11 15:51:25 +00:00
yamt
1d737efc42 fix the order of printf arguments. 2008-04-11 15:47:15 +00:00
christos
9741037836 - use uarea_swapin, rather than duplicating the code.
- use __func__ where appropriate.
2008-04-11 15:31:37 +00:00
ad
3f5f5fa2a4 Maintain a circular queue of cpu_info's. 2008-04-11 15:31:34 +00:00
ad
baba274422 mutex_vector_enter: reduce reads of mtx_owner slightly. 2008-04-11 15:28:34 +00:00
ad
2c81477eca 4.99.59 - struct cpu_data changed (namecache changes) 2008-04-11 15:26:24 +00:00
ad
5c720a3c67 Regen. 2008-04-11 15:25:41 +00:00
ad
1e11b07bfa Restructure the name cache code to eliminate most lock contention
resulting from forward lookups. Discussed on tech-kern@.
2008-04-11 15:25:24 +00:00
ad
1c3c41f771 +evcnt_attach_dynamic 2008-04-11 15:24:48 +00:00
ad
481e4d16cb More stubs. 2008-04-11 15:23:45 +00:00
ad
4598f15028 rwlock changes, discussed on tech-kern:
- Use atomic ops directly, since rwlocks work the same way on all platforms.
- Try to make it a bit more cache efficient, and use branch hints.
- Fix a bug in rw_downgrade() where the turnstile lock was not released.
- Remove a couple of redundant assertions.
- Use atomic_swap instead of atomic_cas where it's safe to do so.
- After acquiring the turnstile lock in rw_vector_enter, check if the
  owner is running again and spin if so.
- Introduce and use rw_onproc() instead of abusing mutex_onproc().
- Change the handoff/release algorithm to reduce the window when a rwlock
  can held, but the owner not on a CPU.
2008-04-11 14:55:51 +00:00
cegger
8a19ab6bca convert to pmf(9)
ok jmcneill
2008-04-11 13:00:47 +00:00
tsutsui
435efaffea If it's a high speed, trim the trigger level down to prevent overflows,
as comment says.  The piece of code was removed in rev 1.230,
but it looks an error on reverting of rev 1.228.
2008-04-11 12:45:08 +00:00
tsutsui
af6fdc4488 Please don't leave a debug option in GENERIC. 2008-04-11 11:55:18 +00:00
jmcneill
3bc833ec73 Revert previous. 2008-04-11 11:24:41 +00:00
rmind
888190d519 Protect selrecord/selnotify calls with crypto_mtx; few misc changes. 2008-04-11 10:28:10 +00:00
dogcow
28e06cc882 fix 64-bit b0rkenness. 2008-04-11 06:25:35 +00:00
he
04446152e8 Put back a %s so that the format matches again. Fixes build for evbppc. 2008-04-11 06:25:25 +00:00
jmcneill
8715af2617 Remove code erroneously copied from i386 ACPI_ACQUIRE_GLOBAL_LOCK. 2008-04-11 02:30:05 +00:00
jmcneill
b66550c825 Remove a nasty hack that slipped in during the ACPICA update that should
never have made it in-tree. How ACPI has ever worked since 4.99.42 is
beyond me.
2008-04-11 02:27:57 +00:00
matt
55d5280da2 On MP systems, make sure to update l->l_cpu with the cpu_info of the current
processor (in case it was running on a different processor before).
2008-04-10 23:29:01 +00:00
dyoung
9fb0fb3f28 Add the redzones above and below the interrupt stack back to the
DIAGNOSTIC kernel.
2008-04-10 23:22:30 +00:00
tls
597ee710c7 Extend crypto.4 interface:
* Asynchronous operation with result retrieval via select/poll
	* Mutliple-request submit/retrieve ioctls
	* Mutliple-session create-destroy ioctls

Revise/rewrite crypto.4 manual page.  It should now be much easier to write
new applications to this API.

Measured performance for trivial requests: 84,000 very short modular math
operations/sec, 120,000 very short md5 hashes per sec (with a hardware
accellerator of moderate performance but very low latency, whose driver
will be contributed at a later date).

Contributed to TNF by Coyote Point Systems, Inc.
2008-04-10 22:48:42 +00:00
cegger
86537ae77c sprintf -> snprintf 2008-04-10 19:49:14 +00:00
cegger
9d57c80079 use aprint_*_dev and device_xname 2008-04-10 19:13:36 +00:00
dyoung
18f5f53751 Add some assertions that will catch any exception to
ro->ro_sa == NULL implies ro->_ro_rt == NULL.
2008-04-10 18:12:02 +00:00
dyoung
2527883e86 s/8/NBBY/ 2008-04-10 18:09:14 +00:00
nonaka
ded7276f3f - zaurus uses MBR
- Added fdisk to ramdisk
- increase ramdisk size
2008-04-10 15:45:29 +00:00
nakayama
3e0d94e5d9 Remove kernel unlock in startlwp which is probably a leftover of
vmlocking2 merge.

This may fix PR kern/38375.
2008-04-10 14:28:28 +00:00
yamt
7f11d683b1 - make nfs_receive and nfs_reply static.
- ansify.
2008-04-10 12:32:37 +00:00
agc
e7debae8a8 Fix a minor nit in a comment 2008-04-10 09:31:51 +00:00
he
7a931cc637 Remove a now-spurious & so that this builds again (for cobalt). 2008-04-10 09:05:53 +00:00
dyoung
db4cb7c623 Commit straggler: elansc now attaches to something that provides
the 'pcibus' interface instead of the 'pci' interface.
2008-04-10 06:53:12 +00:00
wiz
e47f3f6ebe Commit fix for the fdfile leak described in PR 38374.
Patch provided by YAMAMOTO Takashi.

Ok ad@
2008-04-09 19:36:59 +00:00
skrll
2bbc32f026 de-__P 2008-04-09 19:18:25 +00:00
skrll
1e4d6af0d6 Correct a comment. 2008-04-09 19:11:35 +00:00
dyoung
5aed0dd299 Attach elansc at mainbus instead of at pci. 2008-04-09 17:35:17 +00:00
dyoung
f1dc500675 Use device_t and accessors. Use cfdata_t and __arraycount().
Miscellaneous cosmetic changes.
2008-04-09 17:32:01 +00:00
dyoung
85481997e1 s/pcimatch/match/ to avoid conflict with a global name. 2008-04-09 17:27:14 +00:00
tsutsui
1a5b627b8f Return a proper value from isabr_iointr() even in error path. 2008-04-09 17:08:22 +00:00
dyoung
82efc281ac Export some PCI autoconf routines for use by elansc(4), for example. 2008-04-09 17:01:53 +00:00
nisimura
e11b7f14dc - fix an indentation error in atawd.c
- use partition 'e' for a disk with no NetBSD slice.
- add Linux ATAG to feature ELF Linux kernel booting. Commented out for now.
- fix errors to retrieve iospace BARs.
2008-04-09 16:26:29 +00:00
tsutsui
14395bf943 Remove leftover stuff moved to dmac3var.h. 2008-04-09 15:43:03 +00:00
tsutsui
8f53f53cd9 Split device_t/softc, with misc cleanup. 2008-04-09 15:40:30 +00:00
nakayama
c43d57923a Remove kernel locks around malloc introduced when I added SMP support. 2008-04-09 15:21:02 +00:00
nakayama
39b07dd47b Reorganize clock assignments on SMP kernel:
- don't use separate statintr on primary CPU.
- invoke clockintr instead of statintr on secondary CPUs.

This change fixes the problem setitimer(2) didn't work on secodary CPUs.
2008-04-09 14:58:23 +00:00
joerg
426688d27e Regen. 2008-04-09 14:15:11 +00:00
joerg
a74db6c2ab Add PCI ID of 3Ware 9650 family. 2008-04-09 14:14:40 +00:00
skd
d51db07a71 Fix small error in device/sc splitup. 2008-04-09 11:32:26 +00:00
cegger
f98b30fb5e Re-add chunk of code that got lost in rev. 1.10. Makes this file build/work again. vi sometimes plays games with me. Spotted by dogcow. 2008-04-09 06:13:26 +00:00
nisimura
2553846738 - bind wd_softc to f->f_devdata.
- allow to have BSDFFS, EXT2FS and DOSFS on disk drive.
- the bootloader name is becoming unappropriate.
2008-04-09 06:07:57 +00:00
dogcow
9bad45d03e deparenthesize 'return (x);' and add missing close-brace. 2008-04-09 05:57:00 +00:00
cegger
c1886a2781 use aprint_*_dev and device_xname 2008-04-09 05:47:19 +00:00
thorpej
04e54b2ef5 - ipflow is not used outside ip_flow.c; move its definition there.
- Make ipflow_reap() private to ip_flow.c, and introduce ipflow_prune()
  for external callers to use (avoids returning an ipflow * that is never
  actually used anyway).
2008-04-09 05:14:20 +00:00
thorpej
0cfa6e7487 Make the percpu API a little more friendly:
- percpu_getptr() is now called percpu_getref() and implicitly disables
  preemption (via crit_enter()) when it is called.
- Added percpu_putref() which implicitly reenables preemption (via
  crit_exit()).
2008-04-09 05:11:20 +00:00
nisimura
1e77327a1b - abandon to maintain disksubr.c in favour of kern/subr_disk_mbr.c. 2008-04-09 01:56:19 +00:00
nisimura
6d7713a9a1 - use a hardwired value for ISA/PCI iospace until the right solution
to find.
- use const [] construct for register location lookup.
2008-04-09 01:08:39 +00:00
nisimura
8ec93217ac - typo in MBR offset.
- redo the previous change in main.c and wm.c
2008-04-09 00:20:35 +00:00
nisimura
7c716f683a - note a comment about a discovery of viaide BAR read value weirdness.
- have RAID and SATA PCI storage subclass.
- cosmetics around NIC drivers.
2008-04-08 23:59:03 +00:00
thorpej
3f466bce48 Change IPv6 stats from a structure to an array of uint64_t's.
Note: This is ABI-compatible with the old ip6stat structure; old netstat
binaries will continue to work properly.
2008-04-08 23:37:43 +00:00
cegger
1ef783cb7b use aprint_*_dev and device_xname 2008-04-08 20:40:42 +00:00
dyoung
2c7f43b53e Attach elansc(4) at mainbus(4) instead of at pci(4). Attach pci(4)
at elansc(4).  Take advantage of a suspend/resume cycle to reconfigure
the SC520's PCI host-bridge bus for higher performance.  Update
the manual pages and the NET4501 kernel.
2008-04-08 20:30:16 +00:00
njoly
112605d50a Cleanup unneeded LINUX_NPTL ifdef/endif. 2008-04-08 20:25:00 +00:00
cegger
cf417aad7e use aprint_*_dev and device_xname 2008-04-08 20:08:49 +00:00
thorpej
aa8724ff7b Change ICMP6 stats from a structure to an array of uint64_t's.
Note: This is ABI-compatible with the old icmp6stat structure; old netstat
binaries will continue to work properly.
2008-04-08 15:04:35 +00:00
cegger
7088512994 use aprint_*_dev and device_xname 2008-04-08 12:07:25 +00:00
pooka
01c429027f Workaround gcc -Wunitialized bug for -Osomething compilations.
PR lib/38385, Matthew Mondor
2008-04-08 08:25:49 +00:00
cegger
1b044f414a use aprint_*_dev and device_xname 2008-04-08 07:35:35 +00:00
cegger
50fb102fe3 use aprint_*_dev and device_xname 2008-04-08 06:12:21 +00:00
garbled
9792283735 SMP support for ofppc. (finally) Much thanks to Matt Thomas for help in
figuring out all the crazy nuances of getting this working, and to
Michael Lorenz for testing/fixing my changes on macppc.  Tested with a
quad-proc 7044-270.
Summary of changes:

Bumped CPU_MAXNUM to 16 on ofppc.
Added md_* routines to ofppc/cpu.c, to sync the timebase, and awaken the CPUs.
Fixed a bug in the test for a 64bit bridge cpu early in locore.S
Added code to set the interrupt priority for all CPUs with an openpic.
Change rtas to probe before cpus, to allow use of the rtas freeze/thaw
timebase code routines.
Fix CPU_INFO_FOREACH macro to iterate through detected cpus, not CPU_MAXNUM.
Change most uses of ci_cpuid to ci_index, to deal with CPUs that do not allow
writing to SPR_PIR.  Don't write SPR_PIR unless the secondary cpu identifies
itself as 0.
Change the hatchstack/interrupt stack allocations to allocate a 8192byte
interrupt stack, and a 4096 byte hatch stack, align them to 16 bytes, and
allocate them no lower than 0x10000.  Allocate them separately to prevent the
hatch stack corrupting the interrupt stack later on.
If the CPU is a 64bit cpu, copy SPR_ASR in cpu_hatch()
Set the idle stack to ci->ci_data.cpu_idlelwp->l_addr->u_pcb.pcb_sp.
Add OF_start_cpu().  Add a routine to ofwoea_initppc to spin up secondary
procs early, and place them into a spinloop waiting for the hatch routines
to be ready.
Modify the ipi routines to deal with openpics that reverse byte order on read
from an ipi register. (such as on the 7044)
Change the rtas setup to allocate the rtas physical base address above
the kernel, to avoid mucking up the hatch/interrupt stacks.
2008-04-08 02:33:03 +00:00
thorpej
f5c68c0b9f Change TCP stats from a structure to an array of uint64_t's.
Note: This is ABI-compatible with the old tcpstat structure; old netstat
binaries will continue to work properly.
2008-04-08 01:03:58 +00:00
cegger
27b03461ec use aprint_*_dev and device_xname and get rid of isp_name 2008-04-07 19:26:44 +00:00
cegger
0f2aceb852 use device_xname() and get rid of isp_name 2008-04-07 19:21:55 +00:00
nisimura
a6da47bdf3 - Synology DS407 is a MPC8349E product.
- quick comparison between 8349E-mITXE eval and DS407.
2008-04-07 16:36:50 +00:00
nisimura
03449cb522 - accomodation for the case when TICK_PER_SEC is other than 100MHz. 2008-04-07 15:46:25 +00:00
nisimura
60c7b05675 - honour CONSPEED to determine EMUB console UDMB/UDLB register values.
- remove stray lines from siisata.c
2008-04-07 15:20:19 +00:00
nisimura
b06d491b48 - refer to how to use 57600bps console on the 2nd EUMB serial case. 2008-04-07 14:55:24 +00:00
nisimura
7aad948b25 - assign console on at 0x4600 for GENERIC.NAS configuration. 2008-04-07 14:40:46 +00:00
nakayama
3722b88cd3 Remove redundant #ifdef. KASSERT implies option DIAGNOSTIC. 2008-04-07 14:18:11 +00:00
tsutsui
a109378b55 Split device_t/softc, as following parents in sys/dev/sun. 2008-04-07 13:31:15 +00:00
nisimura
ac96fb2beb - add siisata.c in Makefile.
- use DEVTOV() to highlight vtophys() issue.
- VIA NICs do not stretch less than 60 octet frames.
2008-04-07 13:25:31 +00:00
nisimura
a904272206 - add siisata.c which should cover SiI 3112, 3512 and 3114.
- include IDE/SATA definitions in globals.h.
2008-04-07 12:33:57 +00:00
nisimura
bc0567728b add PCIIDE functionality which should cover cmdide, iteide, viaide and
slide.  Still not in working order.
2008-04-07 11:13:14 +00:00
jmcneill
75aae009fe Cosmetic aprintification fix, as noted by Thomas Klausner on current-users 2008-04-07 10:16:59 +00:00
thorpej
88d65e9212 Change IP stats from a structure to an array of uint64_t's.
Note: This is ABI-compatible with the old ipstat structure; old netstat
binaries will continue to work properly.
2008-04-07 06:31:27 +00:00
dyoung
c2b5bd57df Defer write-protecting the kernel text until after interrupts are
enabled.  This is a grotty hack that lets a MULTIPROCESSOR kernel
patch the kernel with x86_patch() without trapping to the debugger.
2008-04-07 03:59:46 +00:00
dyoung
3dfe96300d Complete device_t/softc split. 2008-04-07 03:57:51 +00:00
nisimura
a0f6082331 - add MII bitbang op modelled after sip.c 2008-04-07 02:02:39 +00:00
xtraeme
cc926059e9 Make this build again after thorpej's changes to udpstat. 2008-04-06 23:36:43 +00:00