Commit Graph

141924 Commits

Author SHA1 Message Date
uwe be72c76535 Adapt to ktrace-lwp changes.
Call ttyldisc_detach with correct argument.
2005-12-18 23:57:07 +00:00
cube c454f920b9 Having explicit locators is not a sufficient condition to be able to have
children for a pseudo-device.  Depending on an interface attribute is,
though.

Instead of looking at locators, walk the 'attrs' list and look for an
interface attribute (which might have been added just a few lines before
in case there was explicit locators defined).

Fixes PR#32329 by Valeriy E. Ushakov.  Regression test is PSEUDO_PARENT.
2005-12-18 23:43:15 +00:00
uwe 902411e7f8 Use ANSI uintN_t types. 2005-12-18 23:40:03 +00:00
uwe 5e6b9ca4dd Use ANSI uintN_t types. Propagate "static" to function definitions. 2005-12-18 23:38:01 +00:00
uwe 3029fe439a Use explicit "continue" for busy loop bodies in a couple of places I
missed in the previous commit.
2005-12-18 23:32:39 +00:00
uwe a6af1cec86 Use ANSI uintN_t types. Use "void" in definitions of functions
without arguments.  Propagate "static" to function definitions.
Declare local functions static.  Hide acceleration code inside ifdef
HD64461VIDEO_HWACCEL (save more than 1K of text).
2005-12-18 23:20:03 +00:00
uwe 105ff7167f Declare ddb_regs extern in db_machdep.h and provide the defintion in
db_interface.c.
2005-12-18 22:41:50 +00:00
uwe bfbda844db Use ANSI uintN_t types. Use "volatile" without extra __'s.
Use "void" in definitions of functions without arguments.
Propagate "static" do function definitions.
2005-12-18 22:19:56 +00:00
uwe 2d4890dc44 Don't include sys/boot_flag.h only to get sys/reboot.h pulled in,
include the latter directly instead.  Include hd64461*reg.h only under
DEBUG, where they are used.  In hd64461_match use fallthrough.
2005-12-18 22:07:56 +00:00
uwe 952389de29 Use ANSI unitN_t types. Use "void" when defining functions with no args.
Propagate "static" to function definitions.
2005-12-18 21:52:41 +00:00
uwe 2c9f460b01 Multiple-inclusion protection. 2005-12-18 21:47:10 +00:00
uwe b4800dcaa7 Use ANSI unitN_t types. 2005-12-18 21:46:15 +00:00
uwe 51952dd360 Multiple-inclusion protection. Use ANSI uintN_t types. Fix few
whitespace nits.  Add "extern" to function declarations.  Drop LOCORE
protection, this file is not included in any asm sources, it has
nothing interesting for asm sources anyway.
2005-12-18 21:44:27 +00:00
rpaulo 611aa56a92 Add 4 new protocols: rsvp-e2e-ignore, mobility-header, udplite and mpls-in-ip. 2005-12-18 21:39:52 +00:00
uwe 962a056ac8 Drop unnecessary include. Add few blank lines for better readability. 2005-12-18 21:25:55 +00:00
uwe 4ebaf8108c Use ANSI uintN_t types. Functions w/out arguments should have "void"
in their definitions.  Declare local function static.
2005-12-18 21:20:48 +00:00
uwe 7351da46fb Use ANSI unitN_t types. Add 'extern' to extern function declarations.
Shuffle declaration order to make it more clear that raise/resume come
from a different file.
2005-12-18 19:48:43 +00:00
cube 2d66c7ea26 Add a regression test for PR#32329 by uwe@. The bug is not fixed yet,
though.

'pseudodev' depends on interface attribute 'hook', but doesn't explicitely
declare locators (which is perfectly allowed, and logical).  config(1)
should handle the situation properly.
2005-12-18 19:44:07 +00:00
uwe 24d1ad311b Multiple-inclusion protection. 2005-12-18 19:31:30 +00:00
macallan fa6ce6d775 Add devname: to printf()s
From rivo nurges
2005-12-18 19:21:12 +00:00
uwe fb2feef0c6 Simplify j6x0lcd_contrast_raw. 2005-12-18 19:09:26 +00:00
christos d79d516b65 there is no elf64_read_from. 2005-12-18 19:05:12 +00:00
uwe d5c16305fc Convert few remaining K&R function definitions to ANSI. 2005-12-18 18:59:48 +00:00
dsl a89c49ee25 KNF - remove the K&R function definitions 2005-12-18 17:02:45 +00:00
dsl 5f7cb96ae2 Only update partition 2 when RAW_PART is 3. 2005-12-18 16:48:06 +00:00
sekiya 7b96e4dc23 Regen. 2005-12-18 11:05:25 +00:00
sekiya 2bdc9ac0ab Add device information for Linksys IPN2200. From ndiswrapper list. 2005-12-18 11:04:47 +00:00
sekiya 5f1ddaf57b Use aprint_debug() instead of printf() for obvious debug statement. 2005-12-18 11:04:00 +00:00
yamt a1e02d70cd remove an unused file. 2005-12-18 05:31:08 +00:00
mrg 01a1429f89 add altq. 2005-12-18 03:01:40 +00:00
macallan 8ef937c9e4 return SCSI_CHECK in xs->status instead of xs->xs_status
This fixes a whole bunch of weird errors that plague(d) mesh forever, like
- failure to spin up drives automatically
- occasional bogus 'drive offline' messages
- LONG delays when trying to use a ZIP drive

It will probably expose more problems, we'll see.
2005-12-17 21:48:13 +00:00
christos 267eeacec3 PR/32322: Daniel de Kok: Division by zero in column(1) with certain column
widths.
Cleanup and pass lint.
2005-12-17 18:10:55 +00:00
jdc b4946a5555 Check the PROM stdin path for the string "/usb@0". If we find a match, call
ukbd_cnattach(), so that the USB keyboard will become the console keyboard.
Makes the keyboard work on a Blade 100.
2005-12-17 17:58:02 +00:00
tsutsui f521bf5b9b Adjust a comment for options FFS_NO_SNAPSHOT. 2005-12-17 16:33:30 +00:00
tsutsui c854a6f5b5 Adjust a comment for options FFS_NO_SNAPSHOT. 2005-12-17 16:15:01 +00:00
xtraeme 8810e90b32 Make this build again (ktrace-lwp branch changes). 2005-12-17 13:18:28 +00:00
he 6b908020f2 Actually adapt to ktrace-lwp by converting the last arg to the ioctl()
function from a "struct proc *" to a "struct lwp *".  Makes this build
again.
2005-12-17 10:26:59 +00:00
jmc 7bfb16b32c Fix some places pa's got left in the conversion to vm_page 2005-12-17 05:44:11 +00:00
jmc 058eb3d205 Remove shadow variable caused by lwp fixes 2005-12-17 05:37:17 +00:00
yamt 758ed9461b fix spurious EINVAL at end of partition.
- rather than special-caseing EINVAL,
  simply pick an error at the lowest offset.
- correct uio_resid.
- add some debug code.
2005-12-17 05:26:41 +00:00
christos 04735b5d69 delete extraneous verbiage. 2005-12-16 17:54:36 +00:00
jmc 06b42f5e66 Redo previous rework to generate yacc/lex output again and remove generated
copies from the import as they don't compile clean across all archs.
2005-12-16 16:25:07 +00:00
christos 55f7db0668 PR/32303: Nicolas Joly: Fix -current amd64 kernel compilation failure with
options COMPAT_LINUX
2005-12-16 14:16:14 +00:00
dyoung 5bbf511244 In IBSS mode, track all nodes' change of BSSID, not only the BSS
node's change.  Thanks to Konstantin Kabassanov for pointing out
the problem.
2005-12-16 11:27:33 +00:00
dyoung ac7bff6e7c Cosmetic: normalize whitespace. 2005-12-16 10:04:58 +00:00
christos 630ea70860 use putchar consistently. 2005-12-16 04:20:09 +00:00
christos 60388662fb PR/32312: Arnaud Degroote: apm on hpcarm ( NetBSD-current ) doesn"t compile 2005-12-16 04:02:14 +00:00
christos 75bdcdea65 small cleanups from seebs... 2005-12-15 22:37:37 +00:00
cube c13d97c44b ktrace-lwp merge fallout. 2005-12-15 22:01:17 +00:00
yamt d085790ab8 netcred_lookup: remove a wrong assertion and handle the case properly. 2005-12-15 21:46:31 +00:00