Commit Graph

143203 Commits

Author SHA1 Message Date
dsl
67d47e0290 Change sys/arch/xxx/include/bswap.h to #include machine/byte_swap.h then
sys/bswap.h in order to pick up the MD inline routines and the constant
folding definitions in the right order.
Code can include either sys/bswap.h or machine/bswap.h with the same effect.
2006-01-31 07:49:18 +00:00
kochi
053cdb7697 acpi(4): Import ACPI-CA 20060113 2006-01-31 05:49:04 +00:00
gdamore
067008df2a paddr_t should be 64-bits wide to accomodate full R4K 36-bit phys address.
(Alchemy needs it for various system peripherials located above 4GB.)
2006-01-30 23:57:51 +00:00
dsl
c88ae1f9ee Move all the stuff that detects bswapxx(constant) into the MI sys/bswap.h
Put the minimum to define the required inline assembler or C into the MD files.
NB: there may be some fallout from this!
2006-01-30 22:46:35 +00:00
dsl
2723c11bd9 Move the definitions of ntohl() and friends into sys/endian.h where they
are defined in terms of bswap32() and bswap16().
This makes the definition be in the same place for all systems regardless
of creed^Wendianness.
2006-01-30 21:52:38 +00:00
dsl
16ca1f6da7 Fix the detection of the bootstrap magic number when run on big-endian systems.
Correct another typo.
2006-01-30 21:15:37 +00:00
wiz
bdab2fd2b9 Fix a typo, comment out an xref that to ega(4), which does not exist,
and add a .Pp for better readability. From Nicolas Joly in PR 32668.
2006-01-30 17:25:39 +00:00
yamt
7fcddedf0b revert uvm_fault.c 1.104 for now. see PR/28372, PR/32665. 2006-01-30 11:50:17 +00:00
junyoung
ed1116428c ANSI & KNF. 2006-01-30 04:25:44 +00:00
rpaulo
17c8f9e65d PR 32666: /etc/security may cause tapes to rewind. By Duncan McEwan. 2006-01-29 23:17:24 +00:00
wiz
cc07c6e988 Use default option order (AaBbCc...). 2006-01-29 22:11:10 +00:00
dsl
6f0f9f8763 Make almost everything #include <sys/bswap.h> instead of <machine/bswap.h>
The bswap.h and endian.h files are all rather incestuous, but I want to
get the constant folding stuff into one place - sys/bswap.h
2006-01-29 21:42:40 +00:00
christos
f49dbe00ee - use sizeof() instead of the buffer size.
- check write return.
- use MAXPATHLEN instead of BUFSIZ for a path buffer.
2006-01-29 18:55:46 +00:00
kleink
c5926dd03f Make this consistent with <sys/filedesc.h>; fixes PR kern/32506 from
Ola Eriksson.
2006-01-29 18:08:54 +00:00
christos
85d0017934 Initialize loop master to -1 so that we don't accidentally close fd 0; should
fix smb's problem.
2006-01-29 17:52:38 +00:00
rpaulo
8d8283f575 Gah, I got them wrong again. Thanks Klaus. 2006-01-29 16:12:57 +00:00
apb
37bd5c7de8 mkisofs is in pkgsrc/sysutils/cdrtools now, not pkgsrc/sysutils/cdrecord.
Reported by Jukka Salmi.
2006-01-29 14:03:59 +00:00
dsl
c28e0ae4af Byteswap the constant MBR_{BS_}MAGIC throughout, should genetate better code.
Except that non all architectures have that optimisation :-(
2006-01-29 12:55:16 +00:00
augustss
f1d35de4d5 Use correct return values when polling. 2006-01-29 11:35:11 +00:00
augustss
42d1b78d2c Add more cardbus USB controllers. 2006-01-29 11:32:01 +00:00
jdolecek
8ce024013a fix VLAN_ATTACHED() macro, it was always true due to condition bug
Fixes PR kern/32645 by Pavel Cahyna
2006-01-29 09:57:59 +00:00
jdolecek
0a5be6a731 add cast to compile with AAC_DPRINTF 2006-01-29 09:48:09 +00:00
kochi
9e72fe1e5e adapt for ACPI-CA 20060113 2006-01-29 03:12:22 +00:00
kochi
5d63813b95 Merge ACPI-CA 20060113 2006-01-29 03:11:26 +00:00
kochi
86bf0f2eb2 Merge ACPI-CA 20060113 (new files)
CVg: Committing in .CPI-CA 20060113'
2006-01-29 03:10:55 +00:00
rpaulo
ff8e3c8c68 More ktrace-lwp that I got wrong in the first try.
Thanks to Gregory McGarry for pointing this out.
2006-01-29 03:09:19 +00:00
kochi
2564e681ae Merge ACPI-CA 20060113 2006-01-29 03:05:46 +00:00
kochi
13bafec3c5 Import the INTEL ACPI-CA 20060113 2006-01-29 03:02:40 +00:00
rpaulo
df794dc9ee Update copyright date. 2006-01-29 02:37:18 +00:00
rpaulo
c55faf8987 More ktrace-lwp. 2006-01-29 02:26:27 +00:00
dsl
79bd2ddb02 Update/rewrite to match reality and in a muchmore succinct format. 2006-01-29 00:04:26 +00:00
kleink
2269235d63 Add support for the AMD8111 RNG; from Nicolas Joly in PR kern/32284. 2006-01-28 23:31:24 +00:00
apb
c5a4ad0143 Explicitly include ${.OBJDIR} in the definition of CDROM.dir
and CDROM.pathlist.  This probably makes no difference,
but is less confusing.
2006-01-28 21:37:11 +00:00
apb
21078fc390 * Add an "iso-image" target in the top level Makefile,
which invokes make iso-image in the etc directory.
* Add an "iso-image" action in build.sh, which
  invokes make iso-image.
* Document the above in doc/BUILDING.mdoc.
* Re-generate BUILDING.

Approved by christos
2006-01-28 21:34:07 +00:00
dsl
db0d69832d Improve disk portability between systems.
- Always look for labels in the first two sectors
- Update all existing labels, but only write new labels to netbsd mbr
  partitions, and the first/second sector of disks that don't have an mbr.
Moving disks between systems still sucks bigtime!
- raw patition is either c or d, if d then c is reserved
- max partitions might be 8 or 16, nothing in the label gives the maximum
- endianness
2006-01-28 19:57:07 +00:00
apb
d6b37f8359 No space in "function()", "command;" or "$(command)".
Requested by christos.
2006-01-28 19:01:23 +00:00
apb
13da902879 During an "update" build, if previous versions of a syspkg were already
registered, or if previous versions of the syspkg .tgz file already
existed, then delete them.  Previously, this was a fatal error.

Approved by christos
2006-01-28 18:42:23 +00:00
jdc
80f7b97e43 Wscons terminals only have 8 colours and don't need an NC entry.
Fixes PR misc/32135 by Pavel Cahyna.
2006-01-28 17:38:14 +00:00
jschauma
98cb705797 TMTOWTDI there's more than one way to do it 2006-01-28 16:19:19 +00:00
darrenr
5987976cc1 if db_onpanic is -1, do not invoke any ddb functions at all when handling
a panic.  This allows ddb's behaviour on a panic to be controlled via
sysctl rather than just compiling it in/out.
2006-01-28 14:37:31 +00:00
kleink
39963806e0 Since NULL isn't necessarily available, change CMSG_*() to use the
integer constant expression directly instead.

Fixes a problem in the build of rxvt-unicode-7.2, as reported by
Thomas Klausner.
2006-01-28 13:20:18 +00:00
tsutsui
438f912c45 Fix botch on ANSIfy. 2006-01-28 12:00:56 +00:00
bouyer
8e24dbfd8a Note DDB_COMMANDONENTER option. 2006-01-28 11:54:48 +00:00
dsl
286b8b3f54 Use ${OBJCOPY} -[xX] ${.TARGET} instead of getting the file written to
${.TARGET}.tmp and running ${LD} -[xX] ...
I don't believe there are any architectures where objcopy can't delete local
symbols.
2006-01-28 11:10:18 +00:00
darrenr
04ceeecf05 another documentation update for ddb.onpanic. this time, rewrite it to
refer to options(4) rather than add a new description of what its values
can be.
2006-01-28 08:38:10 +00:00
darrenr
434c8e8a28 document newly introduced behaviour for ddb.onpanic=2 2006-01-28 08:23:28 +00:00
darrenr
76f9e99eec Introduce a new style of behaviour for ddb_onpanic == 2.
When set to 0 or 1, behaviour is normal (today)
When set to 2, kernel will display a stack trace and then enter ddb.
2006-01-28 07:23:37 +00:00
rpaulo
e4a54dec0a Reflect reality (ktrace-lwp). 2006-01-28 01:49:58 +00:00
uwe
2894b52ffd Add relevant #include's to get prototypes. 2006-01-28 01:23:16 +00:00
gdamore
75b115aca3 Note that the Au1550 is now a supported CPU. 2006-01-27 23:27:49 +00:00