Commit Graph

145811 Commits

Author SHA1 Message Date
cube d84fe1a4d1 The manual for open(2) says that -1 indicate a failure, not 0. And I
really don't think testing the behaviour of open(2) is the subject of that
regression test.  Maybe it was a developer regression test?  Do I get a
cookie?
2006-04-12 14:01:52 +00:00
jmmv 9ebb7ae9e0 Convert the code that fetches bootinfo information and stores it into the
kernel from assembler to C and add several comments to make things clearer.
I've been running with these changes for a couple of months without problems.
2006-04-12 13:48:52 +00:00
simonb 5124fb547a Whitespace nit. 2006-04-12 12:42:27 +00:00
simonb 02119658ff Add a NetBSD RCS id. 2006-04-12 12:30:50 +00:00
martti c114fab687 Added ciss(4). Tested by Joseph Dacuma on HP DL-380 G3 with Smart Array 5i. 2006-04-12 03:41:51 +00:00
christos ddceccd3fb Coverity CID 609: Kill dead code! BANG! 2006-04-12 01:17:41 +00:00
christos e445d1fecf Coverity CID 992: Avoid NULL deref. 2006-04-12 01:16:02 +00:00
christos 468df87a27 Coverity CID 2852: Avoid NULL deref. 2006-04-12 01:12:30 +00:00
christos 9ae6310d36 Coverity CID 2851: Check for NULL before freeing. 2006-04-12 01:09:43 +00:00
christos 08172fe2d0 COVERITY CID 1113: Don't use NULL for VOP_READDIR 2006-04-12 01:05:14 +00:00
christos c904bed6a0 Coverity CID 2319: Plug memory leak. 2006-04-12 00:59:56 +00:00
uwe 03ee8a12f3 Fix typo in comment in previous. 2006-04-11 23:45:13 +00:00
scw 41f5e2c5dd Add "goto done;" in the usbd_open_pipe(IN) failure case.
Coverity CID 2854, via Martin Husemann.
2006-04-11 23:08:08 +00:00
scw 6bf84bea06 Apply the correct fix for Coverity CID 2862. 2006-04-11 23:07:22 +00:00
bouyer 2ed85162e6 Centralize all xenbus /kern entries in xenbus_dev.c, and call
xenbus_kernfs_init() for domain0. Now /kern/xen/xenbus is also present
on domain0.
2006-04-11 22:09:09 +00:00
perseant 575f22cf94 Another MP locking fix. 2006-04-11 22:08:00 +00:00
rpaulo 68699904bd Add two new sysctls protected under IPSEC_DEBUG:
net.inet.ipsec.test_replay - When set to 1, IPsec will send packets with
          the same sequence number. This allows to verify if the other side
          has proper replay attacks detection.

  net.inet.ipsec.test_integrity - When set 1, IPsec will send packets with
          corrupted HMAC. This allows to verify if the other side properly
          detects modified packets.

(a message will be printed indicating when these sysctls changed)

By Pawel Jakub Dawidek <pjd@FreeBSD.org>.
Discussed with Christos Zoulas and Jonathan Stone.
2006-04-11 20:21:28 +00:00
uwe 1860560960 Cosmetic. Same object code generated. 2006-04-11 19:07:54 +00:00
tnozaki 68099f2838 1. make fullwidth space as printble(also blank).
suggested by yamt-san.
2. JISX0201 2/1 - 2/5 is not phonogram, change it as punct.
2006-04-11 18:45:03 +00:00
uwe c73fd1d833 Shave off few instructions by replacing mov src, dst; swap.w dst, dst;
with swap.w src, dst in REDUCE.
2006-04-11 18:42:09 +00:00
uwe 412106574d Shave off few instructions by replacing mov #imm, reg; sub reg, dst
with add #-imm, dst
2006-04-11 18:34:39 +00:00
tsutsui 0761a7c180 Free resources if attach fails. 2006-04-11 18:10:27 +00:00
garbled 0bc64c184c set options PCKBCNOTEST so we attach the keyboard controller. 2006-04-11 17:16:24 +00:00
garbled 1de17f11a8 Add an option PCKBCNOTEST and defopt it. On the prep 7043 and 7248
machines, the keyboard controller will not pass this test, but if you
attach anyway, it works fine.  Note that this test is specifically
disabled in ic/pckbc.c, but given that it seems to work fine on other
machines, leave it defaulted to on.
2006-04-11 17:14:44 +00:00
drochner 839b9aa1ab now that assym.h contains everything and its dog we
don't need param.h anymore, it did just cause
"redefined symbol" warnings
2006-04-11 17:14:07 +00:00
xtraeme 0998485b9d make this build again (initiliaze ntmp). 2006-04-11 16:57:47 +00:00
rpaulo 70a6f82fa4 Coverity ID 2311: in auixp_allocate_dma_chain() free dma variable if
we are unable to allocate hardware dma descriptors.
2006-04-11 16:34:57 +00:00
rpaulo 9fb903cf69 Coverity ID 2313: free ``asc'' on error. 2006-04-11 16:19:39 +00:00
macallan 82ce0b1388 A driver for 3Dfx Voodoo3 graphics boards, may or may not work with Voodoo4,
Voodoo5 or Banshee boards.

So far it supports:
- full acceleration in 8bit graphics mode
- video mode switching
- virtual consoles via vcons

So far it hasn't been tested on anything else than macppc and even there it
needs a hack to overload ofb.

TODO:
- test on i386
- don't hardcode video mode
2006-04-11 16:11:07 +00:00
rpaulo 8636f91142 Coverity ID 2443: In sbp_scsipi_detach_sdev() check for sdev and
target being NULL before dereferencing them.
2006-04-11 15:52:07 +00:00
rpaulo f7d1c1a028 Coverity ID 2440: in trm_timeout(), check if srb and xs are NULL
before trying to dereference them.
2006-04-11 15:49:00 +00:00
rpaulo 3fd310011d Coverity ID 2442: check if one can dereference ifp before calling
iwi_stop() in iwi_detach().
2006-04-11 15:42:56 +00:00
peter 8c470c63e5 Change disclaimer: "THE NETBSD FOUNDATION", not "REGENTS". 2006-04-11 15:24:24 +00:00
peter 4ece0d684f Add missing disclaimer. 2006-04-11 15:21:26 +00:00
peter a62a67d37c Implement pmap_devmap on hpcarm to map I/O registers that are used
in early start-up stage. Change the virtual address for UART #3 to
the physical address in the configuration files.
While here, implement the sa11x0_bs_unmap function.

Reviewed by Toru Nishimura (on port-arm).
2006-04-11 15:08:10 +00:00
tnozaki 08db232b12 completely broken, make it works. 2006-04-11 14:24:37 +00:00
jmcneill 43c921268d * VBE functions return a byte, not a word. Ignore the rest of the garbage
in the return register.
* Use 6-bits per colour in paletted mode; it should be available on all
  DACs.
2006-04-11 14:18:01 +00:00
rpaulo ab299cced2 Coverity ID 2859: Don't leak ccb, move the allocation a few lines
lower next to where it'll be used for the first time.
2006-04-11 14:17:09 +00:00
christos 139332cff1 Coverity CID 2860: Free malloced resources on mount error. 2006-04-11 14:12:53 +00:00
christos 888007e5cb Coverity CID 2861: Check for out_data before cancelling. 2006-04-11 14:08:51 +00:00
christos a0ceb940b3 Coverity CID 2862: Don't initialize crc with garbage from the stack. For
now set it to 0.
2006-04-11 14:05:46 +00:00
yamt e65b84bc9e yamt-pdpolicy: new base. 2006-04-11 12:33:36 +00:00
simonb 23b376683a The RTC and PCMCIA don't live at address 0 - restore the -1 address
locator from pre-split aubus.c.  Should only affect autoconfig display.
2006-04-11 11:51:31 +00:00
hubertf 2e3214a0d4 Bump ftp timeout from 10 minutes to 1 hour.
When installing teTeX over a dog slow VPN, this can be necessary.
2006-04-11 10:36:19 +00:00
yamt 4ddfb52ac9 genfs_getpages:
- use "overwrite" variable consistently.
- remove a set-only variable.
no functional changes.
2006-04-11 09:34:58 +00:00
yamt 32d32e7e2a sodopendfree/sodopendfreel: remove unused "so" argument. 2006-04-11 09:32:58 +00:00
yamt 52a31ea140 uvm_pagermapin: nowait allocation for pagedaemon. 2006-04-11 09:29:40 +00:00
yamt c03e4d19d3 add assertions. 2006-04-11 09:28:14 +00:00
perseant 74b70f471b Remove mostly useless BUFPAGES warning message from lfs_{un,}mount. 2006-04-10 23:51:50 +00:00
uwe ae727708e1 Decorate pmap_remove_all() with /* ARGSUSED */ 2006-04-10 23:12:11 +00:00