174124 Commits

Author SHA1 Message Date
ad
b5ff001c46 Correction to previous. 2008-10-15 08:25:28 +00:00
ad
c1482a51a0 Cosmetic change to previous. 2008-10-15 08:22:06 +00:00
ad
1ec58d56ef - Rename cpu_lookup_byindex() to cpu_lookup(). The hardware ID isn't of
interest to MI code. No functional change.
- Change /dev/cpu to operate on cpu index, not hardware ID. Now cpuctl
  shouldn't print confused output.
2008-10-15 08:13:17 +00:00
ad
889ba1e151 Don't map cpu index to hardware id. 2008-10-15 08:08:30 +00:00
wrstuden
4fb41e761e Merge wrstuden-revivesa into HEAD. Catch some files that I forgot
to revive on HEAD in previous commit.
2008-10-15 06:52:38 +00:00
wrstuden
fc7511b00e Merge wrstuden-revivesa into HEAD. 2008-10-15 06:51:17 +00:00
pgoyette
6bd90145d1 If we're doing a 2-byte read, return the entire 16-bit result. 2008-10-15 02:21:48 +00:00
cube
8ca6b0963e - Adapt to changes on bsd.x11.mk
- Remove unnecessary targets that handled .man.pre files
- Add transformations for package-specific patterns in man page templates.
2008-10-14 23:37:19 +00:00
cube
988ef44d13 Rework the way manual pages are handled.
- .man.pre files are treated just like .man files.
 - Makefiles are offered the choice of using sed or cpp for the
   transformation.  MKXORG will default to sed, MKX11 to cpp.
 - At least for now, versions of packages are not tracked individually.
2008-10-14 23:33:55 +00:00
macallan
8abf7fc8d9 Some fixes to the TAU support code:
- set the ADC time according to clock speed, not some magic number
- move some mtspr()s which we really only need to do once
- make our envsys_data_t static, this should fix PR 39411
2008-10-14 22:54:22 +00:00
jmcneill
e2728f33e6 ehci_dump_itd and _sitd are unused 2008-10-14 18:32:53 +00:00
mrg
d5ae492949 find the kmodule ldscript in the source tree again.
should fix a build issue reported by jmcneill.
2008-10-14 18:31:42 +00:00
jmcneill
b8aea8193c kern/39727: race condition in ehci isoc abort xfer path
From Jeremy Morse:

  * Serialize access to the ehci intrlist.
  * Change the ehci intrlist to a tailq so xfers are not queued out of order.
  * In ehci_check_itd_intr, don't treat a transfer error as an indication
    that the xfer is no longer active.
2008-10-14 18:12:38 +00:00
matt
02ed53f8f6 Need to be __clz[sd]i2 2008-10-14 17:23:33 +00:00
pooka
2002727b2c Give maximum level of network softinterrupts a symbolic constant
(which happened to get bumbed from 32 to 33 (AF_MAX) now).
2008-10-14 17:15:20 +00:00
matt
c9a118aa75 Add FA526 support (compile tested only) 2008-10-14 16:01:22 +00:00
cegger
9250503c06 do correct octal counting and use CPUID_APM_FLAGS in cpuctl 2008-10-14 15:49:04 +00:00
tsutsui
8e13c684aa If no booted_device is found in find_root(), also check CD-ROM boot
with strategy bootloader does.  This allows one CD system with cd9660
root file system and mfs (like a restorecd for cobalt) using GENERIC.

No objection on port-i386, and no bad side effect on usual harddisk boot
or installation of GENERIC with miniroot module.
2008-10-14 15:48:44 +00:00
tsutsui
9f5daccbf0 Regen autoconf stuff using tools version of autoconf (in src/tools/autoconf),
as per suggestion from apb@ on tech-toolchain.
Tested 'build.sh -U release iso-image' on NetBSD/i386 4.99.73.
2008-10-14 15:23:26 +00:00
bjs
8ff9ca028e Fix handling of lists with a single entry in list_for_each_safe();
this also plugs a memory leak.
2008-10-14 14:55:28 +00:00
cegger
6b341232c5 add cpuid fn 80000007 %edx: AMD Power Management feature flags 2008-10-14 14:33:51 +00:00
ad
e2115ceee7 PR kern/39726 Soekris 5501-60 boot/bootxx 120 second delay
Try enabling A20 using an extended BIOS call before playing around with
the keyboard controller or system config port.
2008-10-14 14:18:11 +00:00
pooka
a44cdde52c M_IOV is used all over the place, so stuff it in with malloc_stdtypes 2008-10-14 14:17:49 +00:00
pooka
fe413fd0f6 +IPL_SOFTNET 2008-10-14 14:09:29 +00:00
ad
82e3c0b1ac Accept filters:
- Remove remaining #ifdef INET.
- Avoid holding locks so we don't need to do KM_NOSLEEP allocations.
- Use a rwlock to protect the accept filter list.
- Make it safe to unload accept filter modules.
- Minor KNF.
2008-10-14 13:45:26 +00:00
ad
978e1181ad Use designated initializers for struct accept_filter. 2008-10-14 13:05:44 +00:00
cegger
9f76b1e7c7 fix output of 3DNOWPREFETCH feature flag 2008-10-14 12:22:29 +00:00
pooka
6fd4c68b67 Add some more trivial emulations. 2008-10-14 10:42:27 +00:00
pooka
a48233737f score some stubs 2008-10-14 10:32:38 +00:00
wiz
34edb0b49f Typo fix and punctuation nit. 2008-10-14 09:29:40 +00:00
ad
a68a7877a5 Correction to previous. 2008-10-14 09:17:23 +00:00
ad
a65f991bb4 Redo kern_resource.c:1.146 by pooka@: change ui_sbsize to a u_long. 2008-10-14 09:16:32 +00:00
apb
4c441fdf08 Use "?=", not "=", to set default values for the TOOL_* variables
added in the previous commit.
2008-10-14 07:24:34 +00:00
matt
01a00ce83a Add a _clzsi2 for armv4 platforms. 2008-10-14 03:16:20 +00:00
pooka
8a7a4b8184 Add a simple example of how to use rump networking facilities.
This just contacts www.NetBSD.org, does GET / and displays the
result.

It either uses the host kernel socket provided PF_INET or the kernel
TCP/IP stack running in userspace (via if_virt and /dev/tap),
depending on the libraries it's linked with.

(not built yet, as I need to commit some more bits from my local
tree for it work)
2008-10-14 00:56:24 +00:00
pooka
65f822a3e5 Make the "something random" ethernet address ETHER_IS_LOCAL
(address assignment probably needs some more work if we want to
support multiple interfaces).

hat tip to Quentin Garnier
2008-10-14 00:50:44 +00:00
mrg
6fa3737bb8 since the Makefile creates stuff in (objdir) ./ldscripts/ and then
later deletes it, move the kmodule ldscript into 'xldscripts' and
deal with it from there.

fixes build issues where src/gnu/usr.bin/binutils/ld/ldscripts went
missing as reported by at least 2 people so far.
2008-10-13 22:36:55 +00:00
pooka
5ca4322cea Add tcp debugging as a build option. 2008-10-13 22:24:06 +00:00
pooka
e6b645ca82 Dear diary: an ethernet address with 0x01 set in the first octet
is an ethernet multicast address.  TCP does not like ethernet
multicast addresses.
2008-10-13 22:05:15 +00:00
cegger
68e6aa3a03 print features4: cpuid fn80000001 %ecx on AMD CPUs. 2008-10-13 21:11:46 +00:00
apb
76b1d72406 Update lists of options (sync with i386/boot(8) man page). 2008-10-13 20:41:21 +00:00
apb
c042908183 Update MI boot(8) man page from i386/boot(8) 2008-10-13 20:40:52 +00:00
apb
055794e083 Update i386/boot(8) man page:
* Explain that the native boot protocol sets flags in boothowto,
  while multiboot passes args as strings.
* Add missing option letters.
* For each option letter, say which flag it sets in boothowto.
* Describe the "load" and "multiboot" commands.
* Xr multiboot(8).
* Some chnges in wording.
2008-10-13 20:40:25 +00:00
pooka
4a2061c973 POOL_INIT -> pool_init 2008-10-13 19:44:21 +00:00
pooka
1c4adfb91b award unlimited sbsize rlimit 2008-10-13 19:41:13 +00:00
cegger
26997ceaa5 Add cpuid 0x80000001 %ecx features flags. Rename CPUID_MASK4 to CPUID_INTEL_MASK4 for consistency with new CPUID_AMD_MASK4 2008-10-13 19:14:53 +00:00
kleink
d0ec02536d tz{code,data}2008h out; tzdata2008h in. 2008-10-13 19:11:49 +00:00
kleink
25b8dd8b9d Import tzdata2008h. 2008-10-13 19:09:14 +00:00
apb
59b0ced7eb Add missing TOOL_* variables to bsd.sys.mk and document them in
bsd.README.  Previously, several of these variables were present in
bsd.own.mk but not in bsd.sys.mk or bsd.README.
2008-10-13 18:24:21 +00:00
apb
bdcb00dc94 Remove references to TOOL_BEBOXELF2PEF and TOOL_BEBOXMKBOOTIMAGE,
which were obsoleted in May 2008.
2008-10-13 18:23:47 +00:00