Commit Graph

168719 Commits

Author SHA1 Message Date
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
sborrill 25ac1dd285 Note that /etc/mtree/special.local can override entries in
/etc/mtree/special not just add new entries.
Explain that check_mtree_follow_symlinks will give reports of links not
being links (notably /etc/localtime)
2008-04-08 14:51:02 +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
lukem a699245e9a The ns_mtab.mdata is passed to the ns_mtab.method as the cbdata argument. 2008-04-07 13:25:42 +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
lukem 7ce7cf535a Improve description of the arguments and return values of
various methods & callbacks.
Improve markup.
2008-04-07 13:20:44 +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
yamt e3372d31c3 RANDOM_MAX: don't rely on integer overflow. 2008-04-07 12:24:52 +00:00
yamt e675673521 bump libssh 2008-04-07 12:22:24 +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
jnemeth 1d2009704e fix another build breaker 2008-04-07 07:37:07 +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
thorpej cca37a84ef Update for ICMP and UDP stats changes. 2008-04-07 05:18:25 +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
christos 2ff8572929 mention openssh 2008-04-06 23:41:22 +00:00
christos 0f04529cc0 bump libssh 2008-04-06 23:40:27 +00:00
christos 7ef0806c7f bump for 5.0 2008-04-06 23:39:48 +00:00
christos c080a17733 update for 5.0 2008-04-06 23:39:35 +00:00
christos 1f7a577d0e re-add removed files. 2008-04-06 23:39:05 +00:00
christos cbdb6c7a40 resolve conflicts. 2008-04-06 23:38:19 +00:00