Commit Graph

151438 Commits

Author SHA1 Message Date
plunky
530c0e96fe Say better what deficiencies there are. 2006-09-24 10:22:17 +00:00
fvdl
fc06b6e99a EPASSTHROUGH from lower layers is returned as ENOTTY to the (system) caller.
Make it so.
2006-09-24 10:20:16 +00:00
plunky
4eabff54a3 utilise auconv_set_converter() to handle the filter setup, so that its
done properly.
2006-09-24 10:19:55 +00:00
plunky
75521932f7 adjust indentation 2006-09-24 10:16:21 +00:00
xtraeme
f375107517 PR bin/27066 by Sergey Svishchev: "eject(1) does not DTRT for floppy drives
(such as one in SPARCstation 5)".

Patch applied, thanks.
2006-09-24 08:42:55 +00:00
xtraeme
3a0cb13b58 In the APM case replace a magic number 0xff with the correct definition:
APM_DEV_ALLUNITS.

Noticed by Sergey Svishchev.
2006-09-24 08:35:00 +00:00
xtraeme
91254d0d23 It's WDCC_SECURITY_FREEZE not WCDD_SECURITY_FREEZE.
Noticed by Sergey Svishchev.
2006-09-24 08:33:30 +00:00
xtraeme
9162ad5359 Typo: WCDD_SECURITY_FREEZE -> WDCC_SECURITY_FREEZE
Noticed by Sergey Svishchev.
2006-09-24 08:32:17 +00:00
manu
62e38c2a6a Restore twa as major 187, this time with the flag so that it does not get
used in kernels that do not include the driver.
2006-09-24 08:23:36 +00:00
xtraeme
63250365b3 PR misc/26923 sent by Kouichirou Hiratsuka "xterm does not support luit".
Patch applied, thanks.
2006-09-24 07:59:59 +00:00
xtraeme
7d945dcf10 Update __NetBSD_Version__ comment... it's 4.99.3. (hi dogcow!) 2006-09-24 07:55:20 +00:00
dogcow
ef869ff8e9 it's now const char *name, not char *name. (hi, wiz!) 2006-09-24 07:27:57 +00:00
wiz
ecef25127f Bump date for previous. 2006-09-24 07:21:43 +00:00
wiz
9db182ac71 Fix typo in usage. 2006-09-24 07:19:57 +00:00
wiz
467caa772b Remove trailing whitespace. 2006-09-24 07:19:16 +00:00
wiz
6ff90ba3e6 Bump date for previous. 2006-09-24 07:18:40 +00:00
wiz
068f7ea823 Mark up some more stuff, remove superfluous .Pp. 2006-09-24 07:17:00 +00:00
dogcow
4921aad517 Hello and welcome to 4.99.03; required due to powerhook_establish args
change.
2006-09-24 06:52:38 +00:00
dogcow
85a1c8c4ca make powerhook_establish use const char*, not char *. This solves lots of
gcc pointer whining. Since there's one LKM that uses this function, though,
it's kernel version bump time.
2006-09-24 06:51:39 +00:00
kardel
182632b893 Reduce hardclock() code path length wrt/ multiply/divide by
re-calculating the th_scale value only when necessary.
As discussed with gdamore@. Tested at (sub-)usec level with
stratum 1 reference.
2006-09-24 06:39:28 +00:00
yamt
c57f7f2cdb yamt-splraiseipl: move pmax and sbmips to the "compile-tested" section. 2006-09-24 06:20:52 +00:00
mrg
27ffbf35e9 add a link to www.NetBSD.org/Gnats/, as suggested in PR#10628. 2006-09-24 06:09:29 +00:00
mrg
2b2c191ef8 be explicit about the need for a subject: header. should handle PR#10628. 2006-09-24 06:06:23 +00:00
dogcow
a3fae2e5b9 blah blah discard pointer qualifier blah. 2006-09-24 06:03:20 +00:00
dogcow
e15e9231e6 opt_ktrace.h doesn't exist when building LKMs. 2006-09-24 05:48:27 +00:00
dogcow
78b90930eb correct dcopyout #define for !KTRACE case. 2006-09-24 05:46:14 +00:00
jmcneill
f135e0d607 Add "name" parameter to powerhook_establish, to aid debugging. No objections
on tech-kern@
2006-09-24 03:53:07 +00:00
jmcneill
3150bfdedd Don't use // for comments. 2006-09-24 03:47:09 +00:00
manu
2a6884acfb Back out the twa device:
- if allocated in the MI range, it breaks the builds for ports that do
  not use it
- if allocated in the MD range, 3ware's tw_cli tool will break because it
  hardcodes the major
2006-09-24 03:46:30 +00:00
jmcneill
4c8d1c711c Don't use // for comments. 2006-09-24 03:42:41 +00:00
jmcneill
f6db1b6893 Use /* ... */ for comment instead of // ... 2006-09-24 03:40:49 +00:00
jmcneill
200c3c464e Formatting fixups, remove commented out code that should not have been here,
and remove a few unnecessary XXX comments.
2006-09-24 03:39:51 +00:00
jmcneill
1128d28091 Nuke checks for SMALL_KERNEL define; this is not a NetBSD option. 2006-09-24 03:33:30 +00:00
tsutsui
cc4c993be9 Note sh3 timecounter. 2006-09-24 02:22:58 +00:00
tsutsui
6e2567f666 Call mips3_init_tc() in cpu_initclocks(9) so that arc port can actually use
timecounter with mips3_cp0_counter.
2006-09-24 02:20:48 +00:00
uwe
d2af0aadf3 Handle -b/-u after default display device is added, otherwise
change_state() is called while ds_list is still empty (unless a
display device was specificed with -f).

This makes -b/-u actually work.
2006-09-24 01:57:03 +00:00
jmcneill
a6a54c10d8 PR# 4305: [dM] boggle uses very incomplete wordlist. 2006-09-24 01:38:57 +00:00
tsutsui
6e4dd0bf16 Sync PMAP_PREFER(9) usage with -current implemetation. 2006-09-24 01:34:19 +00:00
tsutsui
430cb190a2 Allow shared PV mappings in pmap_enter(9) even on SH4 if VAs of shared pages
have the same virtual cache indexes (i.e. they won't cause virtual cache
aliases). Also prepare PMAP_PREFER(9) for SH4 to avoid some possible virtual
cache aliases.
More stuff should be added in pmap_enter(9), but at least this changes
should fix some existing problems. See discussion on port-sh3 ML for details.

OK'ed by uwe and chs, and closes PR port-sh3/34243.
2006-09-24 00:43:44 +00:00
tsutsui
84b4bcfd71 Add timecounter support for SH3 ports. From gdamore on port-sh3,
with several minor fixes by me.

Previously sh3 ports use two timers (TMU1 and TMU2) as oneshot timer
to cause real hardware interrupts by softintr(9), but now softintr(9)
uses only TMU1 and TMU2 is configured as freerunning counter for
timecounter(9).

Tested on my dreamcast.
2006-09-24 00:34:23 +00:00
elad
9cd65b7c28 PR/34220: Tyler Spivey: feature request: --max-depth for du
Thanks to Matt Fleming for porting the -d feature from FreeBSD!
2006-09-23 23:20:20 +00:00
pooka
4df78a97d5 print the L flag for routes with llinfo. makes you not wonder why
non-llinfo routes are being printed for route show -llinfo
2006-09-23 23:01:01 +00:00
dyoung
c565b00740 Replace the arp -n -a / arp -n -d rigamarole for cleaning the ARP
table with 'route -n flush -inet -llinfo -host', which is not only
more concise, but it doesn't require /usr/ to be mounted.  This
lets us close bin/11079.
2006-09-23 22:54:43 +00:00
aymeric
a4a3d448f2 fix adosfs_readdir() so that we can list directories on AmigaOS filesystems.
. get rid of struct adirent which didn't match struct dirent anymore
. fix cookies, move all the code handling them to the end of the function

Includes many minor changes to the code of this function.
2006-09-23 22:47:11 +00:00
dyoung
6333e1495e Let us qualify 'route flush' and 'route show' commands with -llinfo
and -host flags, which is useful for displaying/flushing ARP entries:

# route -n show -inet -llinfo -host
Routing table

Internet:
Destination        Gateway            Flags
169.254.1.119      link#1             UH
169.254.230.110    00:02:6f:21:e6:6e  UH
# route -n flush -inet -llinfo -host
169.254.1.119                             done
169.254.230.110      0.2.6f.21.e6.6e      done
169.254.237.70                            done
# route -n show -inet -llinfo -host
Routing table
#

This will help me address bin/11079, "dhclient may require arp and sed".

Extract common code from flushroutes() and show(), creating
parse_show_opts().

While I'm here, make small cosmetic changes to flushroutes().
2006-09-23 22:41:25 +00:00
snj
9f4b947629 Add lpa[0-2]. 2006-09-23 22:31:48 +00:00
elad
e42f031453 PR/30107: Bob Kemp: calendar reports non-matching days.
Applied patch, and also apply patch from Johan Veenhuizen to fix bug
introduced later on -- thanks for the patches!
2006-09-23 22:25:19 +00:00
manu
a2d5fc8a9e Add twa device 2006-09-23 22:24:51 +00:00
manu
e057d5fcd9 Tweak the twa(4) driver so that 3ware command line utility works with it.
This includes:
- fixing various structure definitions so that the ioctl parameter match
- adding a hw.twa*.driver_version sysctl
- do not refuse multiple device openings, as the management tool will do it.
  I'm not sure we are safe. FreeBSD allows multiple openings, and use the
  open flag only when an attempt to detach the device is done.
2006-09-23 22:16:35 +00:00
manu
63ac93df54 Add sysctl tracing to emulations.
While we are there, fix a bug in FreeBSD sysctl emulation: use copyin for
moving data to the kernel
2006-09-23 22:11:59 +00:00