Commit Graph

147445 Commits

Author SHA1 Message Date
gdamore
473eede9de Add flash device support. 2006-05-25 03:19:43 +00:00
christos
e4dddba9c6 typo s/fp/fpw/ 2006-05-25 03:17:43 +00:00
gdamore
0a959690d5 Add RBLE bit to flash enable. 2006-05-25 03:17:36 +00:00
christos
862f4856b8 typo s/fp/fpw/ 2006-05-25 03:17:26 +00:00
gdamore
1f55482fd5 Add major number for flash device. 2006-05-25 03:16:29 +00:00
christos
cc17521d3c Coverity CID 2959: Check before deref dammit. 2006-05-25 03:03:39 +00:00
christos
785022eb47 Coverity CID 2984: Static array overrun. 2006-05-25 03:02:25 +00:00
christos
df7031b876 Add missing semicolon. 2006-05-25 02:53:10 +00:00
christos
57ff0c4946 remove dup && 2006-05-25 02:50:50 +00:00
christos
fdb8821322 Coverity CID 1455: Make sure that we don't overrun the array. 2006-05-25 02:48:09 +00:00
rpaulo
024ed52e7d Add missing #endif. 2006-05-25 02:40:58 +00:00
lukem
2b2a207b2a security.conf(5) check_devices_ignore_paths 2006-05-25 02:39:53 +00:00
lukem
6d23caf285 Implement check_devices_ignore_paths, which is a list of paths to
avoid traversing during check_devices.
2006-05-25 02:38:10 +00:00
christos
a43996b8ca Coverity CID 783: Add an assertion for a NULL deref. 2006-05-25 02:37:38 +00:00
rpaulo
4264348cac Beautify. 2006-05-25 02:35:50 +00:00
christos
79fc501cb4 Coverity CID 2294: Fix memory leak.
While here remove some bogus casts.
2006-05-25 02:35:32 +00:00
christos
1716cd4ef4 Coverity CID 1070: Check for NULL deref that cannot happen. 2006-05-25 02:33:16 +00:00
rpaulo
3a387eb457 Time to remove __P(). 2006-05-25 02:32:56 +00:00
christos
25b83d98a5 Coverity CID 3653: Fix memory leak. 2006-05-25 02:31:38 +00:00
rpaulo
d5c00ee8c6 Now it uses the RFC 3542 API. 2006-05-25 02:21:59 +00:00
garbled
c9e13db63a Implement partial support for the RS6K PCI Bridge found on 7025-F40
models.  This code was made possible by assistance from Cory Bajus.

Add code that asks the PCI bridge what it's config base address is, and
use that when wiring up an indirect bridge type.
Move prep's user segment register to 10, because the 7025's PCI config
address is at 11, where the user segment used to be.
Add a battable entry for 0xbf800000 for machines with RS6K bridges.

There is still probably work left to be done before a 7025-F40 is fully
supported.
2006-05-25 02:11:13 +00:00
christos
830feeb9f3 use memcpy instead of bcopy. 2006-05-25 02:10:53 +00:00
christos
f5e466e11a Coverity CID 2537: Avoid double free, and random free. how did this work? 2006-05-25 02:05:40 +00:00
christos
e86e72d9a8 Coverity CID 3194: Avoid NULL deref. 2006-05-25 02:01:40 +00:00
christos
180ca89a2b Coverity CID 3195: ifdef out dead code. 2006-05-25 01:58:39 +00:00
christos
e30bfd160d Coverity CID 3396: Fix file pointer leak. 2006-05-25 01:51:21 +00:00
christos
fb0d335338 Coverity CID 3377: Fix memory leak on error. 2006-05-25 01:49:30 +00:00
christos
d8050237b6 Coverity CID 1188: Don't check for NULL just to log and then die
de-referencing; return instead.
2006-05-25 01:44:28 +00:00
christos
4aafa6340a Coverity CID 1189, 1190: Don't check for NULL just to log and then die
de-referencing; return instead.
2006-05-25 01:43:58 +00:00
christos
6388d5cc98 Coverity CID 1191, 1192: Don't check for NULL allocation, just to log it
and then die dereferencing. Return instead.
2006-05-25 01:41:13 +00:00
christos
43c323928f Coverity CID 2718: Avoid using free'd memory. 2006-05-25 01:38:41 +00:00
wrstuden
d6dd729f42 Add $NetBSD: ids, which work better than $netbsd: ones. 2006-05-25 01:37:08 +00:00
christos
76c4e27a2a Coveriy CID 797: Avoid NULL deref. 2006-05-25 01:22:53 +00:00
christos
c94cfed796 Coverity CID 2282: Fix memory leak. 2006-05-25 01:20:21 +00:00
christos
64274c3774 Coverity CID 754: Fix erroneous check. How could this ever work? 2006-05-25 01:18:59 +00:00
christos
c0dd54b15c Coverity CID 3214: Check getrawpartition return code. 2006-05-25 00:42:23 +00:00
christos
dc46554fdb Document that this can fail. 2006-05-25 00:41:24 +00:00
christos
2046b10b5b Coverity CID 601: Remove unused code. 2006-05-25 00:37:03 +00:00
christos
75aa3e0d4e Coverity CID 3308: Free the head of the group list, not the tail. 2006-05-25 00:33:24 +00:00
christos
bd00756294 Coverity CID 2524: Return error instead of trying to allocate random bytes
from the stack.
2006-05-25 00:27:56 +00:00
christos
323f38bde6 Coverity CID 2751: Avoid NULL deref. 2006-05-25 00:25:00 +00:00
christos
ddd7ee439d Coverity CID 830: Avoid NULL deref. 2006-05-25 00:21:52 +00:00
wrstuden
b949192d0f Style changes from simonb at wasabisystems dot com:
Use config_stdsubmatch() instead of our own submatch function.
  Use "__inline" in header files and "inline" in .c files.
  Make some local function static.
2006-05-25 00:21:45 +00:00
christos
ede17ba69d Coverity CID 3322: Fix memory leak. 2006-05-25 00:19:27 +00:00
christos
dabaab767f Coverity CID 1463: Change code to unconfuse coverity. 2006-05-25 00:16:48 +00:00
christos
4eb1ef0701 PR/3205: Remove dead code. 2006-05-25 00:12:31 +00:00
christos
2a8477a7f9 Coverity CID 1860: Plug memory leak. 2006-05-25 00:07:59 +00:00
christos
aa0a3ef501 Sprinkle static and use err/errx/warn instead of fprintf/perror 2006-05-25 00:05:45 +00:00
christos
d62ef54061 Coverity CID 1442: Update the table, and use the table size instead of
hard-coded constant; fixes static buffer overflow.
2006-05-24 23:51:39 +00:00
christos
4f8217f507 Coverity CID 796: Add an extra test to pacify coverity. 2006-05-24 23:44:34 +00:00