Commit Graph

146613 Commits

Author SHA1 Message Date
agc 84fba20a22 Use the correct opcode for the WRITE6 SCSI command 2006-04-26 20:29:56 +00:00
garbled 4603665295 Update the hardware support list for powerstack and F30. 2006-04-26 20:25:14 +00:00
garbled 64b69ee83d Support fixes for the Motorola Powerstack E1.
1) The E1 seems to have the int. siop wired to irq 14-level and the internal
   wdc wired to irq 14-edge.  special case and fail the wdc probe on E1's.
2) If we fail to map the NVRAM registers, return, rather than trying to talk
   to them and panic'ing the box.
3) revert my previous "fix" to pnpbus to make irq's default to level.  It
   was wrong, and didn't even fix the powerstack.

With this, we have limited PowerStack E1 support.  The machine cannot
talk to it's IDE controller, and cannot detect it's boot device
automatically, but it does come up and run. Tested with NFS root.
2006-04-26 19:48:01 +00:00
rpaulo 38cd14c3b3 Add work in progress lint files that will be used by port specific
LINT kernel config files (will be added later).
The list is far from complete and there are some missing files, busses and
devices.
2006-04-26 18:36:25 +00:00
pavel f705cb5488 We do not support pfsync, so:
- remove xrefs to pfsync(4)
- remove the no-sync keyword from pf.conf(5)
- add a note to pf(4).

Approved by Peter Postma.
2006-04-26 18:14:19 +00:00
pavel e3b35bceeb The "group" keyword is not supported in NetBSD, so:
- add a CAVEATS section to pf(4) and note it
- in the description in pf.conf(5) say it is unsupported
- remove it from the grammar in pf.conf(5).

Approved by Peter Postma.
2006-04-26 17:55:33 +00:00
rpaulo b93659c243 Make wtintr() prototype static too.
In wtsense(), make msg local variable const.
2006-04-26 17:21:30 +00:00
rpaulo accfad23f5 Put back sys/proc.h for wakeup/tsleep.
Fix more typos.
2006-04-26 17:19:50 +00:00
rpaulo 9f28da272d Make 3rd argument of wtwait() const. 2006-04-26 17:18:41 +00:00
rpaulo be1f3d0d34 Fix an obvious typo. 2006-04-26 17:17:03 +00:00
rpaulo 1595c18c6b ktrace-lwp merge. 2006-04-26 17:15:08 +00:00
rpaulo bf691ec7e3 ANSIfy, statify, KNfy.
(and maybe deadfy some day?)
2006-04-26 17:13:27 +00:00
oster 4fafa4cc7a un-bitrot some of this code (which is not included by default in kernels),
and make it build again.  XXX: Paritylogging bits still won't build.
2006-04-26 17:08:48 +00:00
rpaulo e54bb9fc0c Comment out wl. 2006-04-26 16:19:52 +00:00
rpaulo 6805a4a424 In vga_cnattach(), intialize typestr to NULL. 2006-04-26 16:09:22 +00:00
rpaulo 81cff25ae9 In tgamatch(), ifdef tag test under __alpha__ || arc. 2006-04-26 14:30:27 +00:00
rpaulo 3f247e811d Comment out glxt. 2006-04-26 13:04:02 +00:00
yamt a0e5478237 lwp_suspend: don't forget to decrement p_nrlwps when suspending ourselves.
fix PR/33287 from Gregory McGarry.
2006-04-26 11:44:39 +00:00
blymn f79b447e34 Fix rtc offset calculation for timezones that are not integral hours. 2006-04-26 09:57:01 +00:00
tron 27048c613e Add missing "const" keywords to match declarations in "pcap.h". 2006-04-26 09:24:33 +00:00
gdamore 5c69d23f28 Oops! ddc.c was accidentally getting included in *all* kernel configs.
Added a new define so it can be included without doing the attach dance.
2006-04-26 06:52:09 +00:00
groo cdb6398a72 Credit Alan Perlis for ``give him a lollipop'' programming language quote.
Hat tip: Jerry Leichter.
2006-04-26 00:52:21 +00:00
wrstuden 72a22e2da8 Regen to catch change for 3ware cards. 2006-04-25 23:57:13 +00:00
wrstuden 45d4d97a21 Tweak 3ware 9500 ID, and add 3ware 9550 ID. 2006-04-25 23:55:58 +00:00
gdamore 9f862191dc Add basic DDC (VESA Data Display Channel) driver for use by framebuffers.
Reviewed by jmcneill@ and macallan@.
2006-04-25 21:18:16 +00:00
christos 63b0d1ab71 Coverity CID 2790: Always free tmp buffer, not somethimes. 2006-04-25 19:34:42 +00:00
christos 4d5030b7d4 Coverity CID 2969: Check for negative stack in the 'P' case like we do in
the 0 case.
2006-04-25 19:25:19 +00:00
drochner a781fb5f1e fix some unpaired sigblocks which possibly leave the process with all
signals blocked,
this might some problems with the Gnome GUI which uses RPC to communicate
with "fam" (file access monitor), in particular it might fix PR pkg/22483
by jmmv
2006-04-25 18:54:51 +00:00
drochner 741f357fc1 Build libpcap-0.9.4 from src/dist.
While there are some open issues, particulary wrt support of old
NetBSD-specific interfaces, it is better to get the code some public
testing before NetBSD-4 is branched.
2006-04-25 18:36:44 +00:00
christos 313c1811bf Coverity CID 1774, 1773: Don't leak open file descriptors or leave temp
file turds on error.
2006-04-25 18:02:02 +00:00
dillo d67db6407e HOMEPAGE is not required, noted by wiz. 2006-04-25 13:28:10 +00:00
blymn 434398553a Change DISKSTATS to IOSTATS, document new i/o stats sysctl. 2006-04-25 11:56:25 +00:00
liamjfoy f233f366ee - add liamjfoy 2006-04-25 08:38:41 +00:00
liamjfoy 79f53c18fe - use MAXTTL
ok christos@
2006-04-25 08:29:08 +00:00
wiz 9d6f9cc626 Fix typo.
If you are the only hit on Google,
chances are high that something's wrong :)
2006-04-25 06:24:57 +00:00
dyoung 425bb71b7d Fix a typo in register definitions: looks like somebody copied the
CB_SOCKET_STAT_3VSOCK definition to CB_SOCKET_STAT_XVSOCK and
CB_SOCKET_STAT_YVSOCK definitions without updating the numbers.

It doesn't look like CB_SOCKET_STAT_XVSOCK and CB_SOCKET_STAT_YVSOCK
are used anywhere, so this will not make any functional difference.
2006-04-25 04:22:15 +00:00
simonb 15f26a44dc Fix some comment tyops. 2006-04-25 03:56:16 +00:00
snj d97db3840b s/allready/already/ 2006-04-25 02:19:31 +00:00
rtr fda8fb7c07 list -> lists 2006-04-25 01:45:17 +00:00
wiz 7f1b30bfd9 Sort. 2006-04-24 22:04:12 +00:00
wiz 61152e3f56 Document more explicitly that -c takes an optional file argument. 2006-04-24 22:00:43 +00:00
agc 000a68021a + Some minor formatting cleanup in the header files.
+ Properly pad the names with spaces (with thanks to Bill Studenmund)
+ Use the official T10 vendor name, "NetBSD".
+ Minor cleanup in the INQUIRY command
+ Rather than just punting on the REPORT LUNs SCSI command, emulate it
properly.  This change makes the target work with the Solaris initiator:

	AVAILABLE DISK SELECTIONS:
	       0. c1d0 <DEFAULT cyl 29728 alt 2 hd 64 sec 63>
		  /pci@0,0/pci-ide@1f,1/ide@0/cmdk@0,0
	       1. c2t5d0 <DEFAULT cyl 97 alt 2 hd 64 sec 32>
		  /iscsi/disk@0000iqn.1994-04.org.netbsd.iscsi-target%3Atarget00001,0
	Specify disk (enter its number): 1
2006-04-24 21:59:03 +00:00
wiz 20862d8c44 Bump date for previous. 2006-04-24 21:54:37 +00:00
wiz 7827f466ab Mark up functions with .Fn; new sentence, new line. 2006-04-24 21:53:48 +00:00
jld 97297f3775 Make ccdioctl work without a process context; fixes xbdback-on-ccd.
Run by tech-kern on 2006-04-24; with approval and advice from wrstuden@.
2006-04-24 21:35:57 +00:00
dsl f62f858cc2 Coverty CID 1643: free(ino_buf) on error return.
(There is only 1 call to print_inodes(), so it doesn't really matter...)
2006-04-24 21:20:44 +00:00
dsl 666b712c4d Coverty CID 1693: free() buffer used reading fs info.
(I think this leaks 1 buffer per LFS segment being dumped!)
2006-04-24 21:14:59 +00:00
hubertf 0b4add3077 Allow reading the checksum list from stdin if no file is given with -c.
This allows verifying the checksums e.g. after downloading a NetBSD
release:
		cat BSDSUM CKSUM MD5 SHA512 SYSVSUM | cksum -c
2006-04-24 21:07:43 +00:00
liamjfoy 14a07a0706 - add a missing ;
- use 'size' instead of 'nsize', makes more sense

ok christos@
2006-04-24 20:46:23 +00:00
jld 8293fbeb02 \*[Am] for an ampersand, not *[Am]. 2006-04-24 20:27:34 +00:00