Commit Graph

182922 Commits

Author SHA1 Message Date
pooka
2ebc149961 Do a name-based search for the ctty major instead of requiring an
external symbol.
2009-07-31 18:50:58 +00:00
pooka
af1b79236a Instead of reporting some random "files used/free" figures for the
process doing statvfs(!), just report 0.  The code had some kernel
panicking bug after the descriptor code update, the functionality
is more like a bunny rabbit hat than anything useful, and I can't
bother to figure out what the invariants in the new descriptor code
are.

fixes PR kern/41534 and kern/41786
2009-07-31 18:44:58 +00:00
tsutsui
6e74d97975 Read AD_CFG_SWITCH via volatile pointer so that
the default density is detected correctly.
2009-07-31 15:55:10 +00:00
pooka
181bef7d2d convert to parseargs form 2009-07-31 14:58:21 +00:00
pooka
746d1fce34 Shortcircuit -o getargs in userspace. We know the kernel driver
will not return any data and mount(2) fails with EINVAL if data_len
is 0.  This caused lame-o output in mount -vv:
mount_fdesc: fdesc on /failsystem: Invalid argument
2009-07-31 14:56:11 +00:00
dsl
027bacee22 Use a 'register only' str[c]spn() on 64 bit systems. 2009-07-30 21:42:06 +00:00
dsl
f0a25cf095 Stop bcopy.c and bzero.c being compiled 2009-07-30 21:26:36 +00:00
dsl
0d34d14bb9 If SRCS contains any .S files then remove the corresponding .c file from
SRCS and add to LSRCS (for lint).
Change the 'string' Makefiles so that the arch/*/string/Makefile.inc
need only specify the .S files for that architecture and not the .c
files for all the files they don't override.
2009-07-30 20:57:15 +00:00
skrll
19e6624025 typo in comment. 2009-07-30 19:57:07 +00:00
dyoung
59b8f11a8b Fix typo in comment, s/SIOCSIFADDR/SIOCINITIFADDR/. 2009-07-30 17:28:36 +00:00
tsutsui
c3ee8e5613 - use program header rather than section header to find file offset for vmaddr
- make sure that passed vmaddr is in TEXT or DATA section
2009-07-30 15:56:01 +00:00
tsutsui
fcb0df9205 WARNS'fy sources which are left for reference.
src/usr.sbin/mdsetimage has been superseded by src/gnu/usr.sbin/mdsetimage
for toolchain to handle cross build binaries, but these old sources for
local executable binaries still can be used for tools to patch binaries,
like binpatch utility in sys/arch/amiga/stand and sys/arch/atari/stand.
2009-07-30 15:16:37 +00:00
jakllsch
7d100c1859 As explained in kern/41701 there's a missing splx() here. 2009-07-30 14:41:59 +00:00
cegger
bd216fbaba from x86/x86/cpu.c:
- use atomic operations to set flags
- Align struct cpu_info to 64b.
2009-07-30 13:56:57 +00:00
reinoud
7cbe9b45a2 Fix uid/gid check; it was checking if the old values would fit in 32 bits
instead of checking if the new values would.
2009-07-30 12:13:51 +00:00
nisimura
8a349980ce - fix EUMB com console attach case.
- #ifdef out pci_conf_interrupt() for PCI_NETBSD_CONFIGURE option.
Requested and tested by kiyohara.
2009-07-30 05:57:27 +00:00
spz
5ef5d44599 list the partition types addwedge understands, so you don't need to utsl
to find out what strings to use here
fixes PR 37252
2009-07-30 05:54:43 +00:00
macallan
4865392ba6 do as elad suggested and call kauth instead of using INSECURE in pcimmap() 2009-07-30 04:38:24 +00:00
msaitoh
0a482c2c7c Fix the bug that another lock mechanism is used to access Kumeran registers
on i80003 and ICHs.

Fix yet another i80003 ONLY workaround. The code to modifing TIPG register
is only for i80003.

Set the Re-Transmit on Late Collision(RTLC) flag for all devices.

Fix a typo in a printf message.
2009-07-30 03:46:48 +00:00
hubertf
270beabd82 Add "MAC" keyword to the corresponding example. 2009-07-29 21:47:11 +00:00
rmind
cbc808fd9c Reduce the difference between i386 and amd64 trap handler.
No functional changes intended.
2009-07-29 18:47:15 +00:00
rmind
585d607d92 Fix few more l_pflag and LP_OWEUPC confusions. 2009-07-29 17:45:39 +00:00
rmind
52b85c5fb7 Fix KASSERT(1); 2009-07-29 17:16:56 +00:00
rmind
4992872919 T_ASTFLT|T_USER: check for LP_OWEUPC in l_lpflag, not l_flag. Also, flag
unset was on p->p_flag.  Luckily, it did not corrupt the p_flag, because
we don't have LW_ flag matching LP_OWEUPC.
2009-07-29 17:14:38 +00:00
reinoud
dde01096c4 Re-do nilfs_load_super_root() and implement crc checking of read in super root
to check for consistency.

Since a new crc-seed is chosen on each new nilfs formatting, older structures
will fail the crc check.
2009-07-29 17:06:57 +00:00
jakllsch
aadbdc69dd Without UQ_ASSUME_CM_OVER_DATA, the PANTECH UM175 has a
non-working bulk-in endpoint
2009-07-29 16:04:14 +00:00
jakllsch
14641e0bcc Regenerate. 2009-07-29 15:47:26 +00:00
jakllsch
c5b6c26047 Add entries for some Hyundai CuriTel (Audiovox, Pantech) products, from OpenBSD. 2009-07-29 15:45:17 +00:00
cegger
82843fbf43 nuke unused XEN3 option. The XEN option is sufficient now. 2009-07-29 13:37:57 +00:00
reinoud
59cef39273 Add debugging text to indicate a super root has been found while searching for
it.
2009-07-29 13:23:23 +00:00
cegger
c8f9ab7943 NetBSD/Xen no longer supports Xen2 2009-07-29 12:04:14 +00:00
cegger
3518084fc6 remove Xen2 support.
ok bouyer@
2009-07-29 12:02:05 +00:00
mbalmer
071fb1f425 Fix (commented out) gpioow usage. 2009-07-29 11:58:31 +00:00
mbalmer
8bd20bf764 Add commented out entries for gpiosim and gpio at gpiosim. 2009-07-29 11:55:40 +00:00
mbalmer
3c801a163f Add pseudo-device gpiosim, fix gpioow usage. 2009-07-29 11:52:44 +00:00
christos
a24ab0f5cc elide type punned warning 2009-07-28 21:51:30 +00:00
christos
4719892f8f update to 9.6.1-P1 2009-07-28 21:23:47 +00:00
christos
1291d32876 add no version date 2009-07-28 21:18:01 +00:00
christos
723a00ffef merge 9.6.1-P1 2009-07-28 21:17:11 +00:00
christos
8efd920cd3 from ftp.isc.org 2009-07-28 21:10:17 +00:00
roy
f1865d1ad6 Import dhcpcd-5.0.7 2009-07-28 21:05:36 +00:00
cegger
bba07db346 add TWSI registers. from OpenBSD. 2009-07-28 21:03:46 +00:00
roy
1eb42625ea Import dhcpcd-5.0.7
Changes from dhcpcd-5.0.6 include:
* Fix -f path/to/config
* -e, --env var=value for profile specific env vars
* Many issues resolved when running in test mode
* Don't print a (null) string when there is no NAK message
* read ssize_t instead of size_t when checking signals
2009-07-28 20:53:17 +00:00
ahoka
2e4db2573f Add hungarian qwertz keyboard layout. 2009-07-28 18:48:27 +00:00
christos
304c3bd293 fix debugging build. Hi Roy! 2009-07-28 18:38:43 +00:00
dyoung
854940045a Don't require a "vlan" argument with "-vlanif". "ifconfig vlan0
-vlanif" works as one would expect, now.
2009-07-28 18:22:33 +00:00
dyoung
183dffe7f4 Both carp.c and vlan.c expect for a keyword with a KW_T_STR-type
value to put a prop_string_t into the environment, but the keyword
parser put a prop_data_t into the environment, instead.  That broke
the -vlanif and -carpdev keywords and defied developer expectations.
Let's put a prop_string_t into the environment.

Thanks to Arnaud Degroote for reporting the problem.
2009-07-28 18:21:06 +00:00
minskim
3c24e51c76 Remove LKM code from pf. 2009-07-28 18:15:26 +00:00
dyoung
974833df66 Make mdopen() and mdclose() maintain the openmask. md_detach()
depends on the openmask to know whether it should either return
EBUSY because the device is open, or tear the device down.

Alan Barrett reports that this fixes kern/41725, in part: it prevents
the UVM fault, and the kernel detaches /dev/md0a after unmounting
/ on /dev/md0a instead of before.
2009-07-28 17:55:27 +00:00
reinoud
ad5a398ed7 Enhance/fix read support for sparse files.
Extents read in wich there were no mappings at all were defined would error
out and files beginning with a sparse area were erroring out.
2009-07-28 15:31:21 +00:00