Commit Graph

145626 Commits

Author SHA1 Message Date
gdamore c79321a24b Add rule to make athhal_options.h from ${ATH_HAL}.opt_ah.h, so that we
can automatically use the AH_XXX options that the HAL was built, without
requiring additional machine-specific configuration.

A follow up commit will activate this change.
2006-04-05 05:07:38 +00:00
cherry 45a06839c0 Backing out previous commit for more review. 2006-04-05 02:40:57 +00:00
uwe ccf4b50a2c KNF: no parentheses around return value. 2006-04-05 01:13:50 +00:00
uwe a31a2f7d75 ANSI'ify. 2006-04-05 01:05:50 +00:00
uwe 7494d34448 Tell config to generate fs_ffs.h as vfs_bio.c checks for defined(FFS).
Include that header in vfs_bio.c so that bioops are not redefined.
2006-04-05 00:52:16 +00:00
christos c721423ddc Use the standard macros to compute the ioctl length instead of rolling our
own. Thanks to Chuck for noticing.
2006-04-05 00:50:59 +00:00
uwe 54826c03de Define ddb_regs in db_interface.c.
Change its definion in db_machdep.h into a declaration.
2006-04-05 00:38:51 +00:00
uwe aa1af65e56 kernelstack and proc0paddr are defined in arm32_machdep.c
Change local definions into declations.
2006-04-05 00:37:11 +00:00
uwe c29aeed86e Don't define, just declare want_resched here. 2006-04-05 00:15:25 +00:00
uwe 0eaa91ef03 Add dc_stride member to igsfb_devconfig.
Eliminate all mentions of rasops_info from igsfb_ioctl(), we have all
the information in igsfb_devconfig now.  It's semantically correct to
serve that info from there, not from a cached copy in rasops_info.
2006-04-04 23:43:40 +00:00
uwe 771831be53 Use bus_space_vaddr() to get the address of the framebuffer. 2006-04-04 23:00:15 +00:00
uwe fc2595db94 Use designated initializers for wsscreen structs. It takes less space
and is easier to read.  While here, update function name in comment.
2006-04-04 22:36:15 +00:00
uwe 3995a3168e Nuke delay() that sneaked in with one of old revisions. It's not
necessary.

When we attach as console on netwinder, the timer is not yet attached,
so delay() resorts to a busy loop.  That loop takes BIGNUM seconds(!)
to complete.  That makes you think the machine wedged.
2006-04-04 22:25:23 +00:00
christos 48cf428279 Turn if/then/elif into a switch 2006-04-04 21:35:20 +00:00
christos cda1870a45 Coverity CID 28: Fix resource leak. 2006-04-04 21:29:42 +00:00
christos 99f1624bd3 Coverity CID 97: Remove dead code. 2006-04-04 21:27:42 +00:00
jld 00f39ded1b Change diagnostic assertions to DEBUG-conditionalized printfs.
(Alternately, XEN_CLOCK_DEBUG may be defined to enable just the
checks in this module.)
2006-04-04 21:08:47 +00:00
wiz d2420fdc86 Bump date for previous. 2006-04-04 20:48:21 +00:00
wiz e9821b1244 Sort SEE ALSO; mark up -; end sentence with dot. 2006-04-04 20:45:41 +00:00
wiz 0f177102d6 Whitespace nits. 2006-04-04 20:34:46 +00:00
bouyer 65b5449cc4 Add NetBSD CVS Id. 2006-04-04 20:30:30 +00:00
wiz e4293af91f Sort SEE ALSO, bump date for previous. 2006-04-04 20:26:33 +00:00
wiz 9f0633f5c3 Sort options. Add RCS Id. Adapt a bit for NetBSD; needs more work
(e.g. removing kldloader references)
2006-04-04 20:25:14 +00:00
riz 99cd9e5be7 Correct a couple of typos in comments ("Hook info" -> "Hook into",
"prescision"->"precision")
2006-04-04 19:38:38 +00:00
mrg a9fc8e65cd actually, chuq says that now kcopy(9) should return a real errno in
the failure case (usually what ever uvm_fault() returned.)
2006-04-04 18:50:27 +00:00
mrg d7ac53c209 be explicit about what the return values of kcopy(9) are: zero for success
and non-zero for failure.  (this documents practice - there are -1, EFAULT
and semi-random non-zero values returned.)
2006-04-04 17:33:40 +00:00
christos 5e406be836 Coverity CID 1083: Avoid possible NULL pointer deref. 2006-04-04 17:30:20 +00:00
pavel 929734802b Correct typo in a panic message. 2006-04-04 17:12:57 +00:00
martti cda1799407 IPF 4.1.13 2006-04-04 16:20:21 +00:00
martti 7967220333 Removed BROKEN_TCP_WINDOW_CHECK hack. 2006-04-04 16:19:05 +00:00
martti 10531caa29 Removed file. 2006-04-04 16:18:56 +00:00
martti b52bb48fee Fix compilation problems. 2006-04-04 16:18:27 +00:00
martti 9ea58d54bc Upgraded IPFilter to 4.1.13 2006-04-04 16:17:18 +00:00
martti 983a2072ce Import IPFilter 4.1.13 2006-04-04 16:08:18 +00:00
rpaulo b5d1102290 Add another bit from FreeBSD that I forgot: in tun_output, don't try to send
an AF_INET packet if TUN_IFHEAD is not set.
From FreeBSD and spotted (again) by DEGROOTE Arnaud.
2006-04-04 15:43:23 +00:00
dyoung ca9de39d07 If MKUUCP=no, do not create links for cu and its manual page. 2006-04-04 15:09:50 +00:00
christos afa610222b Coverity CID 1002: Yes, this could really be NULL, so check against it. 2006-04-04 14:24:15 +00:00
christos b33df30820 Coverity CID 1087: Clarify NULL test. 2006-04-04 14:21:55 +00:00
christos e2b3af9d2c Coverity CID 1140: NULL dereference cannot happen, but protect against it. 2006-04-04 14:18:35 +00:00
christos 41a4245aa5 Coverity CID 2413: NULL deref cannot happen, but nevertheless protect against
it.
2006-04-04 14:16:46 +00:00
gdt 1f2387e0e9 list gdt as responsible for coda 2006-04-04 13:30:59 +00:00
gdt 4d48cb3530 Update list of todo items, and note that old items are from 1998 and
thus likely no longer correct.
2006-04-04 13:20:39 +00:00
gdt 73e63e429a Check symlink count and pointer returned from userspace before
dereferencing it.  (I added this during search for the problem fixed by
the earlier readlink buffer allocation fix, and the checks have not
triggered.  Still, it's wrong of the kernel to use pointers from user
space without validation.)
2006-04-04 13:11:08 +00:00
nakayama 616dcaceb9 Add missing "-elf" suffix to ATH_HAL for sparc and sparc64. 2006-04-04 13:00:23 +00:00
rpaulo ca98b087a8 Fix a if-clause botched in a previous revision now that we have TUN_IFHEAD.
Spotted by DEGROOTE Arnaud <degroote@enseirb.fr>.
2006-04-04 11:33:15 +00:00
rpaulo 11a20f0dec Change the number of TUN[GS]IFHEAD to avoid collision with if_pp.
Noticed by Simon Burge.
2006-04-04 11:23:59 +00:00
cherry fb6529c627 Sleeps hard disk just before system shutdown.
Some hardware (eg: Apple iBooks) don't do this automatically
and the harddisk behaves as if the power plug were pulled.

Closes PR: kern/32766
2006-04-04 07:11:45 +00:00
wiz da9647bfba Bump date, so that version in src and pkgsrc have the same
version _and_ the same code.
2006-04-04 06:38:53 +00:00
gdamore daaee9c532 Add support for using the MIPS Atheros HAL.
Atheros WLAN added to default evbmips DBAU1500, DBAU1550, and MTX-1 configs.
Note that AR5312 config will require unique HAL that we don't have yet.
2006-04-04 04:30:28 +00:00
gdamore 75670ddc44 Convert existing ath users to new Makefile, except for amd64, which needs
the rules due to needing to conditionally postprocess the HAL object file.

Macppc needs a a non-ELF HAL (EABI) object, so take care of that by default
in the atheros include file.
2006-04-04 03:13:12 +00:00