Commit Graph

130679 Commits

Author SHA1 Message Date
yamt
7ae93615ad a simple regression test for wcrtomb and wctomb. 2004-09-26 03:45:10 +00:00
dyoung
f5fc723f2b Add rtw(4). 2004-09-26 03:03:17 +00:00
dyoung
517a54fd17 Add Cardbus, PCI bus front-ends for RTL8180 802.11b MAC/baseband. 2004-09-26 02:33:36 +00:00
dyoung
3e9bdb9662 Add work-in-progress driver rtw(4) for Realtek RTL8180 MAC/baseband.
Add register definitions for Maxim MAX2820 and Philips SA2400 radio
front-ends.
2004-09-26 02:29:15 +00:00
yamt
d94faebdc7 wctomb isn't supposed to set errno. 2004-09-26 00:51:39 +00:00
soda
89d5b6ffb2 forgot to replace #else with #endif, thanks yamt again. 2004-09-26 00:35:51 +00:00
yamt
6c61c34a27 remove an unneeded #include. 2004-09-26 00:26:14 +00:00
yamt
8eaa138d56 _FUNCNAME(ctype_wcrtomb):
set *nresult on error rather than using stack garbage.
2004-09-26 00:17:15 +00:00
soda
63504487d1 oops, forgot to add "else" 2004-09-25 23:56:44 +00:00
soda
879ba02666 corrent an error in previous commit:
don't corrupt return value on error case, pointed out by yamt
2004-09-25 23:51:31 +00:00
soda
bb8f03e106 correct the return values of wcrtomb(3) and wctomb(3).
These return values should include the length of shift sequence
to restore the initial shift state.
2004-09-25 22:53:46 +00:00
yamt
857913deac include sys/cpu_data.h only if defined(_KERNEL) 2004-09-25 22:08:48 +00:00
wiz
ab90f76ed3 Sync usage with man page (sort, add -O). 2004-09-25 21:48:15 +00:00
wiz
7a57b6bd09 Sort options in SYNOPSIS and in description; use more mdoc macros. 2004-09-25 21:47:53 +00:00
dsl
6e443a613f Change the way crunchgen works when doing 'reachover' builds.
Instead of trying to identify all the .o files that make each target rely
on the targets own Makefile having a program.ro target that will compile
all the objects and link them into a single relocatable.
Rename each program's 'main' to '_crunched_<prog>_stub' instead of compiling
a small piece of C.
The old behaviour can be forced by specifying -O, and is also done if the
config file specifies 'objs' or 'objpaths'.
As well as simplifying the logic, this means you only get a single 'prog.ro
is up to date' message for each program during the build.
2004-09-25 20:43:47 +00:00
dsl
eb23ef8ce9 Use a single awk command (instead of awk and a lot of greps) to generate
the list of symbols to be renamed.
Rename symbols to <symbol>$$from%%<prog> (not _$$hide$$<prog>.cro$$<symbol>)
so that gdb reports the symbol name instead of  "_" (the $$ is treated as a
C++ name mangle and nothing after it is output by default).
2004-09-25 20:21:57 +00:00
dsl
8e4e69acab Whitespace police:
if, for and while are not functions,
put controlled statements of if and while onto separate lines
put function names into column 1
2004-09-25 19:21:07 +00:00
chris
e039c124c4 Remove repeated "in the" 2004-09-25 19:11:02 +00:00
chris
223a229a7a Following a discussion with dsl, revert the last change.
A better fix will be forth coming.
2004-09-25 18:54:36 +00:00
jmmv
774c9e589b Add "Creative Tech NOMAD MuVo TX" to the list of devices know to work. 2004-09-25 18:43:43 +00:00
dsl
ef0ef24324 Remove the always defined RENAME_SYMS and the code that would be
compiled were it defined.
That code is out of date, doesn't work on some archs, and is in the way
of another commit.
2004-09-25 18:32:37 +00:00
chris
c0ffe8e4d5 When reading the disklabel if we fail to find one, return an error.
This should fix PR's 26564 and 26809.

This allows CD installs on cats to work, as a cdxa partition is now
faked, so sysinst can mount it.

This does go against changes made for PR 21408, as it will cause the error
cd0: no disk label
to appear when running disklabel cd0.

Really readdisklabel's API should be updated to allow better error returns,
such that the driver can choose to fake the label, if readdisklabel didn't
find one.
2004-09-25 18:24:55 +00:00
thorpej
aae3f1ca07 Add wedges support to the MSCP disk driver. 2004-09-25 16:44:30 +00:00
chris
47ccffe876 Fix compile if DKWEDGE_AUTODISCOVER isn't defined.
(only tested with GENERIC cats kernel)
2004-09-25 16:42:15 +00:00
thorpej
ecb2cb3112 Add support for wedges to the RL01/RL02 disk driver.
XXX Can't do autodiscovery here, since we can't do I/O in rlattach().
2004-09-25 16:27:38 +00:00
thorpej
dbb3225d5b Can't actually auto-discover wedges here yet, because ed drives are
not attached with interrupts enabled, meaning we can't do the required
I/O.  Add a comment to this effect.
2004-09-25 16:13:42 +00:00
tsutsui
10aeb7cff9 I'll handle spc(4) SCSI. 2004-09-25 12:50:26 +00:00
tsutsui
590f5e8609 Update port-maintainers. 2004-09-25 12:47:52 +00:00
wiz
76b7f3faf9 Improve formatting. 2004-09-25 12:44:25 +00:00
tsutsui
2e988c7c99 - spc is now MI.
- Remove obsolete hp300 devices.
2004-09-25 12:31:19 +00:00
lukem
7184648d82 Try nsdispatch "getgrouplist" before iterating the getgrent() list.
Implement a dns (hesiod) backend which tries a grplist hesiod lookup.
Convert back to using getgrent() similar to rev 1.15, instead of
using the private _getgrent_user() from getgrent.c.
2004-09-25 12:27:35 +00:00
he
48936f8f33 Add another set of braces in initialization to track factoring out
of MI cpu_data.
2004-09-25 12:24:53 +00:00
tsutsui
036acd9295 Use ANSI function decls. 2004-09-25 11:58:19 +00:00
yamt
7c63ceab48 don't expose cpu_info and friends to userland. 2004-09-25 11:08:47 +00:00
tsutsui
a5c60861e8 Sprinkle DELAY(1)'s in several busy loops to avoid excessive bus access.
Inspired by OpenBSD.
2004-09-25 10:47:29 +00:00
tsutsui
30e4125256 On manual xfer via TEMP register, set PCTL_BFINT_ENAB and check
bus free by INTS register. spc_intr() also checks the INTS_DISCON bit.
2004-09-25 10:36:15 +00:00
tsutsui
45d871e0fb In spc_intr(), return 0 if the interrupt is not for spc(4). 2004-09-25 10:32:15 +00:00
tsutsui
dc28263470 Use manual xfer via TEMP register in status phase even on x68k.
Some devices do not transfer data with proper way on status phase
and it causes bus error in spc_datain_pio() which uses auto xfer
via DREG register on weird x68k hardware.
2004-09-25 10:15:36 +00:00
tsutsui
ae6239f109 Use ANSI function decls. 2004-09-25 09:46:17 +00:00
heas
afe3b1d559 Add TWE_OP_PROBE, which probes (and attaches) a port/drive. It's argument
is bytes 9 & 10 of the twe_cmd where the bit set corresponds to the port to
probe + 1 (ie: port 0 == 0x1).
2004-09-25 08:27:47 +00:00
christos
f42653853a Put back issetugid() check for hostaliases.
XXX: this is suboptimal, It would be better if we propelry checked
for access.
2004-09-25 05:33:01 +00:00
thorpej
281037afd6 Add support for wedges to the OpenFirmware disk driver. 2004-09-25 05:21:03 +00:00
thorpej
2a671cfd0e Add support for wedges to the MCA ESDI disk driver. 2004-09-25 04:47:02 +00:00
thorpej
46cfcf0eb8 Add support for wedges to the logical disk driver. 2004-09-25 04:28:08 +00:00
yamt
49fe2034a3 uvm_map_printit:
- print wired_count if available.
- fix a printf format.
2004-09-25 04:19:38 +00:00
thorpej
72b84bf041 Add support for wedges to the SCSI disk driver. 2004-09-25 04:11:23 +00:00
snj
b7fd6fcc52 Bump date for last. 2004-09-25 04:00:49 +00:00
thorpej
cc79c7aeb0 Add support for wedges to the ATA disk driver. 2004-09-25 03:34:02 +00:00
thorpej
ef92b0de59 Try the DIOCGWEDGEINFO ioctl first. If that succeeds (i.e. the block
device is a wedge), use the partition type string from the dkwedge_info
structure to get the file system type.
2004-09-25 03:32:52 +00:00
thorpej
0e37eeed2c Add commands to create, delete, and query the configuration of wedges. 2004-09-25 03:31:35 +00:00