Commit Graph

130977 Commits

Author SHA1 Message Date
sekiya
57e4e59495 Rework previous slightly, so that ld is passed the right flags for 64-bit mode. 2004-10-01 06:46:40 +00:00
thorpej
0c85033412 Don't need the lock in the softc anymore. 2004-10-01 05:16:36 +00:00
thorpej
27f0170634 Break out the wedge discovery methods into true modules, and add some
infrastructure that allows new ones to be added.  The discovery methods
are prioritized, and only one can exist at a given priority.

The DKWEDGE_METHOD_GPT option causes GPT support to be included.  GPT is
at priority 0; we prefer GPT above all others.
2004-10-01 05:16:04 +00:00
christos
65c70a171c - Switch -current to M.99.p as posted in tech-kern.
- Update comments to reflect reality.
- Welcome to 2.99.9!
2004-10-01 04:02:10 +00:00
enami
b4a9b4deed Don't touch free'ed object. Fixes l_holdcnt leak reported by Andreas Wrede
on current-users.
2004-10-01 03:39:11 +00:00
yamt
6b8cd53946 nfs_writerpc: fix PHOLD leak on error. 2004-10-01 01:08:01 +00:00
thorpej
b1958acc5a Only really need FCFS here. Noted by yamt@ 2004-09-30 23:20:41 +00:00
cube
000afe4614 Regen. 2004-09-30 21:59:06 +00:00
cube
331512aeeb Add a bunch of devices found on the SuperMicro P4SCi motherboard. 2004-09-30 21:58:26 +00:00
yamt
048b624802 make l_holdcnt assertions more verbose. 2004-09-30 21:32:27 +00:00
briggs
1991e35ca9 PR kern/27088 from Jared Momose. The read function should specify the
length of the command buffer (1) instead of 0.  Otherwise, data will
have an implied offset of 0 and reads at non-0 locations will incorrectly
return the data from 0.  Fix as suggested in the report.
2004-09-30 18:57:39 +00:00
wiz
bf7ca4248b Update bind version and URL. 2004-09-30 10:07:45 +00:00
wiz
f042855102 Bump date for tee_msgbuf; new sentence, new line. 2004-09-30 09:20:52 +00:00
dyoung
195c6d8723 Compile with -DDHAVE_PCAP_LIB_VERSION so that tcpdump will print
the libpcap version for us, instead of 'unknown'.  Thank you for
the problem report, Geoff Wing.
2004-09-30 06:40:19 +00:00
enami
b54d2249c1 Fix indent. 2004-09-30 02:17:53 +00:00
enami
dd01d48860 Don't set AI_NUMERICHOST in matchhost() to resolve given hostname since
it is supposed to be an arbitrary name (i.e. not restricted to numeric
representation).  Tested by Soda with our production server.  PR#27047.
2004-09-30 02:17:14 +00:00
christos
a9703830cd Fix problem in previous commit; we need to create a new sockaddr. 2004-09-30 00:14:05 +00:00
reinoud
22f1132820 Implement ddb setting that allows all ddb output to be teed into the
kernel message buffer/log. Its off by default and can be switched on in the
kernel configuration on build time, be set as a variable in ddb and be set
using sysctl.

This adds the sysctl value
	ddb.tee_msgbuf = 0
by default.

The functionality is especially added and aimed for developers who are not
blessed with a serial console and wish to keep all their ddb output in the
log. Specifying /l as a modifier to some selected commands will also put
the output in the log but not all commands provide one nor has the same
meaning for all commands.

This feature could in the future also be implemented as an ddb command but
that could lead to more bloat allthough maybe easier for non developpers to
use when mailing their backtraces from kernel crashes.
2004-09-29 23:54:11 +00:00
christos
1b492809a0 PR/27082: Sean Boudreau: redundant assignment or NULL dereference in
in_pcbconnect()
2004-09-29 21:30:00 +00:00
christos
d790aa42d0 PR/27081: Sean Boudreau: ip_input() bad csum count not incremented on sw csum 2004-09-29 21:28:34 +00:00
christos
7059bc7962 PR/21902: Sean Boudreau: arplookup() incrementing arpstat.as_allocfail
erroneously.
2004-09-29 21:26:52 +00:00
christos
efff5f0097 PR/22849: Sean Boudreau: rtrequest() w/ RTM_DELETE not honouring netmask
as it does w/ RTM_ADD.
2004-09-29 21:19:33 +00:00
yamt
77b63b73b8 g/c NFSMINOFF, which is unused and identical with MRESETDATA. 2004-09-29 11:24:28 +00:00
yamt
81378f8ab8 - mbuf external storage is of (caddr_t), not (caddr_t *).
- remove a needless cast.
2004-09-29 11:22:03 +00:00
wiz
29ac95abc3 Fix a typo, fix an xref, an drop a space at EOL. 2004-09-29 09:20:19 +00:00
soren
8d969498b4 Correct the names of a few system types. 2004-09-29 07:37:02 +00:00
ian
ca1f4aea74 Bring in current sim/ppc sources which fix configury to work with
NetBSD-current, in which statfs() exists but struct statfs does not.
2004-09-29 06:31:36 +00:00
sekiya
d66ecfb68e Allow arguments to as/ld to be specified in the kernel config file. Provide
a mechanism to override ranlib.
2004-09-29 06:03:03 +00:00
sekiya
faa2f31603 Abbreviate identification message to fit in 80 columns. 2004-09-29 05:13:39 +00:00
sekiya
19cf38fa50 Add the 64-bit ip30 bootloader. 2004-09-29 04:59:05 +00:00
sekiya
0603553bbb Compile the 64-bit bootloader. 2004-09-29 04:57:31 +00:00
sekiya
77aa58c5b4 Use 64-bit-clean addition/subtraction opcodes for pointer arithmetic iff
_LP64 is defined.
2004-09-29 04:45:26 +00:00
mrg
7f549a8679 allow the LED blinker to be disabled via do_blink. 2004-09-29 04:45:05 +00:00
sekiya
d12d5dc3e0 Add a table mapping IPxy to ABI and load address. 2004-09-29 04:27:41 +00:00
sekiya
551d2b9aa9 Use ANSI function declarations. 2004-09-29 04:06:51 +00:00
sekiya
6f2cb625f4 Use C-style comments. 2004-09-29 03:21:14 +00:00
sekiya
8c64b0776c Various fixes:
* clean up EISA detection logic,
* really fix config_found_ia() usage (from drochner@),
* sprinkle a bit of KNF.
2004-09-29 03:11:28 +00:00
sekiya
6a4c72d1af Add COMPAT_20 2004-09-29 02:50:42 +00:00
lukem
e775b9e35a Implement NS_FORCEALL, which may be set in defaults[0].flags by a caller of
nsdispatch(3) to indicate that all available database methods for a source
will be invoked.  This is useful for functions such as endgrent(3).
2004-09-29 02:47:32 +00:00
erh
b16570503e Add ./usr/share/sushi/system/dailyconf/script2 2004-09-28 23:41:07 +00:00
reinoud
a64c647b71 Cleanup of main config file:
1) Fix small indenting issues

2) Removal of audio* at ... and midi* at ... entries and replace all them with

audio* at audiobus?
midi*  at minibus?

3) Adding of USB audio/midi and IrDa entries
2004-09-28 23:39:37 +00:00
reinoud
8faf51b906 Note that point 32 (ddb output to msgbuf) is Work In Progress and is about
to be committed after more testing and cleanup/review.
2004-09-28 23:02:58 +00:00
reinoud
7f6b7d1a06 wdc shadow registers need to be initialised later.
Request pullup for 2-0 nessisary?
2004-09-28 22:12:06 +00:00
reinoud
ce5f43b0de Add an item to help developers without serial consoles. 2004-09-28 19:54:27 +00:00
jdolecek
decdc3f95c regen - now using wrapper for shmget(2) 2004-09-28 19:05:58 +00:00
jdolecek
f64366a240 add flag for shmget(2) to specify that later shmat(2) for the shared memory
segment should succeed even if the segment would be marked removed; use this
to implement the Linux-compatible semantics of shmat(2)

this fixes the old Linux VMware3 graphics problem with local display,
and possibly other local Linux X clients using MIT-SHM
2004-09-28 19:05:19 +00:00
bouyer
b31a120195 Add a WD_QUIRK_FORCE_LBA48 quirck, which forces all access to use LBA48.
Use it for ST3200822A, which has a broken firmware and return an error
when accessing sector 0xfffffff with a LBA command.
Patch tested by David Brownlee.
2004-09-28 18:22:33 +00:00
jdolecek
68ee548306 fold shmat1() back into sys_shmat(), the change in rev 1.64 is not sufficient
for Linux-compatible shmat() behaviour - shmat() for the removed shared memory
segment must work from all callers, the shared memory id could be passed e.g.
to native X server via MIT-SHM

temporarily remove the functionality, the Linux-compatible semantics
will be reimplemented differently
2004-09-28 17:26:25 +00:00
wiz
2ea7a74e40 Improvements from Christian "naddy" Weisgerber:
sync with FreeBSD/OpenBSD
- Add a standard option list and make appropriate changes to the
  body of the description.
- Document "-G netgroup".
- Miscellaneous grammar and mdoc fixes.

Some option resorting by yours truly.
2004-09-28 16:37:08 +00:00
christos
d12e6436f9 Don't forget to FIOCLEX the internal copies of stdout,stderr,stddiag when
we invoke a subshell. Otherwise the executed command gets invoked with
17,18,19 open.
2004-09-28 16:07:01 +00:00