Commit Graph

225 Commits

Author SHA1 Message Date
elad 2867b68bc3 integrate kauth. 2006-05-14 21:42:26 +00:00
skrll a9f4c28a3d Fix a bunch of cast lvalues. 2006-05-10 06:24:02 +00:00
kiyohara c8693c641b Back out for 1.94 from 1.93. 2006-05-03 00:37:44 +00:00
kiyohara 8e6f9eeb0a Fix memory leak. 2006-04-30 14:18:40 +00:00
kiyohara b6f53afe55 Use An appropriate flag in macro fw_bus_dma_*. 2006-04-30 14:14:06 +00:00
kiyohara f4eda9f835 use fw_bus_dmamap_create(). 2006-04-30 14:03:11 +00:00
kiyohara a187d57e17 Indented. 2006-04-30 13:54:18 +00:00
kiyohara 413954f079 Remove sync-ope for descritor of DMA, because its descriptor set
BUS_DMA_COHERENT flag.
2006-04-30 13:49:32 +00:00
kiyohara 4968634056 Do microtime() before return. 2006-04-30 13:25:04 +00:00
kiyohara dd76308798 Coordination of macro fw_bus_dma_tag_create(). 2006-04-30 13:15:01 +00:00
kiyohara 3575b136a0 Remove `;'. 2006-04-30 12:47:32 +00:00
kiyohara 12730f6820 No parentheses are needed around the return value. 2006-04-30 12:28:21 +00:00
kiyohara 2b88be7cb6 Indented. 2006-04-30 12:11:58 +00:00
christos fc1743863a Coverity CID 1120: Avoid NULL deref. 2006-04-14 21:47:04 +00:00
christos b374745c63 Coverity CID 1121: Avoid NULL deref. 2006-04-14 21:44:18 +00:00
christos a67bc54699 Coverity CID 727: Comment out dead code. 2006-04-14 21:42:37 +00:00
christos 919b776cba Coverity CID 2696: Don't use SLIST_FOREACH when freeing elements. 2006-04-14 21:39:50 +00:00
christos 7a83393454 Coverity CID 1118: Protect NULL deref. 2006-04-14 21:22:26 +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
thorpej 39cd836ee1 Use device_unit(). 2006-03-28 17:38:24 +00:00
yamt 73998aa4b5 fw_bus_probe_thread: change wmesg from "-" to "fwprobe". 2006-03-21 23:29:04 +00:00
wiz 5d1e8b2745 Fix some typos. 2006-02-25 02:28:55 +00:00
perry fbae48b901 Change "inline" back to "__inline" in .h files -- C99 is still too
new, and some apps compile things in C89 mode. C89 keywords stay.

As per core@.
2006-02-16 20:17:12 +00:00
perry 93124077ae Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete. 2005-12-24 20:27:29 +00:00
thorpej 5047c6db68 No longer need our own device_t typedef. 2005-12-20 04:31:28 +00:00
christos 95e1ffb156 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
christos 3b9c87155a Merge the 3 copies of m_getcl() so that fast ipsec compiles again together
with net80211. XXX: We don't really have an m_getcl(), we just emulate it.
2005-12-04 19:15:21 +00:00
kiyohara 79d0fb55e5 Remove '#if defined(cobalt)'. 2005-08-29 17:20:31 +00:00
drochner 49a3609892 kill some more simple submatch() functions, use config_stdsubmatch() 2005-08-26 11:20:33 +00:00
drochner fa3cb84d62 replace the "locdesc_t" structure carrying the number of locators
explicitely by a plain integer array
the length in now known to all relevant parties, so this avoids
duplication of information, and we can allocate that thing in
drivers without hacks
2005-08-25 18:35:38 +00:00
kiyohara 262bf10a6d Since fwip_unicast_input_recycle() is called from interrupt context, one
can't sleep there.
2005-07-23 16:55:13 +00:00
drochner e7bf69a733 minor cleanup: some "const", global namespace sanity and fix a maclo name 2005-07-20 15:11:57 +00:00
kiyohara c1a84a4d12 ieee1394 import from FreeBSD. 2005-07-11 15:29:05 +00:00
fair 3f11934dfb Change the name of a shadowed variable in FW_DEBUG code to make this
compile again.
2005-06-08 18:33:15 +00:00
christos eb3c841970 fix handling of volatile and remove bogus casts. 2005-05-31 00:46:46 +00:00
christos 7cdea212c0 No 0x in front of %p... 2005-05-22 15:54:45 +00:00
christos 24ae046714 move an assignment up. 2005-03-26 04:37:04 +00:00
perry f31bd063e9 nuke trailing whitespace 2005-02-27 00:26:58 +00:00
thorpej df9803ce96 Part 1 of a cleanup pass over the SCSI subsystem. The aim is to name
everything "scsi_*", since we really are talking about the SCSI command
set, ATAPI transport not withstanding.  Improve the names of many structures,
and prepend "SCSI_" onto all SCSI command opcodes.  Place items described
by the SCSI Primary Commands document into scsi_spc.h.
2005-02-21 00:29:06 +00:00
perry 18db93c7f6 de-__P 2005-02-04 02:10:35 +00:00
drochner 96b589fc18 a round of autoconf cleanup:
-convert submatch() style functions (passed to config_search() or
 config_found_sm()) to the locator passing variants
-pass interface attributes in some cases
-make submatch() functions look uniformly as far as possible
-avoid macros which just hide cfdata members, and reduce dependencies
 on "locators.h"
2004-09-13 12:55:47 +00:00
mycroft 1fd9249360 Attempt to fix sbp2_free() so that it doesn't core dump. As noted in PR 21099,
but fixed differently.
2004-06-29 11:10:29 +00:00
christos a0d397a023 return an error on invalid mode. 2004-05-13 17:34:48 +00:00
lukem 388ed266e4 rework messages so that 'fw0: maximum receive packet (2) is too small' error
doesn't appear corrupted.
2004-04-30 01:31:43 +00:00
enami 6c4e6273df xs->timeout is in milliseconds so convert it to tick before passing
it to callout_reset().
2004-02-13 21:22:13 +00:00
keihan b8702f530b netbsd.org -> NetBSD.org
This was the last commit of this kind to src/sys, which is now totally
"NetBSD.org clean".  Thanks for the patiance, and sorry for all the commits.
2003-12-04 13:57:30 +00:00
fvdl 5602142448 Fix unitialized var warning, add a comment to indicate that it's use
is suspect.
2003-10-26 21:03:34 +00:00
christos 5220c0436c Fix unitialized variable warnings. 2003-10-26 19:10:42 +00:00
mjl 088da88a56 Typos in comments. From OpenBSD. 2003-10-22 09:02:49 +00:00
enami e7533e9811 Don't limit xfer size to SBP2_MAXPHYS. Its not transfer size limit
but just a threshold how to describe transfer.
2003-10-18 12:47:28 +00:00