Commit Graph

117151 Commits

Author SHA1 Message Date
wiz
3de6998961 This is a host tool: use {u,}int64_t instead of {u_,}quad_t. 2003-09-09 09:45:47 +00:00
jlam
7297f559c5 Inverted a test by mistake. 2003-09-09 08:22:39 +00:00
itojun
919da6bf44 have COMPAT_16 2003-09-09 07:14:01 +00:00
jlam
f5e8befe51 Replace call to vsystem() with call to fexec() for speed. 2003-09-09 06:43:10 +00:00
mycroft
3ce80fb07e Make similar changes as with cd_mode_{sense,select}(). 2003-09-09 06:32:14 +00:00
tron
ee3ff63574 Remove obsolete file. 2003-09-09 06:21:30 +00:00
mycroft
f733d9708b Remove NOMODESENSE quirks for Iomega drives -- they're totally unneeded. 2003-09-09 03:57:57 +00:00
itojun
5c945215d0 __RCSID police 2003-09-09 03:56:39 +00:00
itojun
35beb40305 have __rpc_getxid.c 2003-09-09 03:56:23 +00:00
mycroft
1c4e2cf723 Delete the NOMODESENSE quirks for Maxtor USB hard drives, as these are no
doubt resolved (and were never actually needed in the first place -- someone
was let out without supervision).
2003-09-09 03:01:27 +00:00
mycroft
67ed54a25b In the test for whether to start the unit, I used the wrong error code.
ENODEV is only returned when we get "medium not present," which we can fail
immediately on.  All other "not ready" cases return EIO.
2003-09-09 02:43:34 +00:00
mycroft
06fca94595 Exorcise PQUIRK_NODOORLOCK. 2003-09-09 02:37:55 +00:00
mycroft
73b4a9d1ee PQUIRK_NODOORLOCK seems to be strictly unnecessary. If the drive doesn't
support it, we'll just get an ILLEGAL REQUEST and ignore it.  Furthermore,
on the PQI Travel Flash at least, it works just fine without.  These seem to
have been added in omnibus changes for particular devices, along with other
"quirks" that are now gone.  Adios, we won't cry for you.
2003-09-09 01:35:47 +00:00
itojun
8b08fa0d3b use niels provos' random sequence number generator to initialize RPC XID. 2003-09-09 00:22:17 +00:00
lukem
16cddad1c8 don't free cmdStart too early, as cmd points somewhere in there and we
may want cmd for error messages.
should fix [bin/22705] from itojun@
2003-09-08 23:54:54 +00:00
mycroft
7365679351 Oops. Fix a typo in cd_mode_select(). 2003-09-08 23:44:29 +00:00
mycroft
ab5fff1eda Fix an error path where we might scsipi_prevent() on a non-removable device. 2003-09-08 23:43:35 +00:00
mycroft
5ad03464f5 There is absolutely no sense in having a PQUIRK_NODOORLOCK entry for a
non-removable device.  Nuke it.
2003-09-08 23:43:05 +00:00
kleink
8d633905ac Bring /* LINTSTUBs */ closer to reality. 2003-09-08 22:37:01 +00:00
jlam
154a25e9c8 Output the name of the pkgdb file from which we are removing entries
instead of just "pkgdb".
2003-09-08 22:19:25 +00:00
jlam
bfb9e5680c Allow the package entries in the pkgdbdir to be either directories or
symlinks to directories.  This gives the user more rope, but lets those
who know what they're doing to do what they want.
2003-09-08 22:11:12 +00:00
itojun
48fc13b7c2 dd icmp6 as alias 2003-09-08 21:02:55 +00:00
itojun
efbe374b9f SKEY and BSDAUTH #ifdef mixup 2003-09-08 21:00:41 +00:00
itojun
c469f0373f initialize 'res' to NULL 2003-09-08 20:54:48 +00:00
mycroft
a599f64320 If maxlun>0, automatically set PQUIRK_FORCELUNS, rather than using quirk
table entries.
2003-09-08 19:57:29 +00:00
mycroft
de88b69b7b Remove UMASS_QUIRK_NO_START_STOP and UMASS_QUIRK_NO_MAX_LUN. 2003-09-08 19:30:59 +00:00
thorpej
baa2d09bad Fix a printf format. 2003-09-08 19:17:29 +00:00
jandberg
b8212f9e26 added myself to developers 2003-09-08 19:00:48 +00:00
thorpej
8faaed2240 Remove unused "skge" defns. 2003-09-08 18:59:48 +00:00
mycroft
648730c4cf Do a START UNIT only if the TEST UNIT READY reports that the device is not
ready.  This avoids gratuitously starting the motor on floppy and CD-ROM
drives, and eliminates the need for the audio playing test in cdopen().

Therefore, also remove PQUIRK_NOSTARTUNIT.
2003-09-08 18:51:33 +00:00
wiz
25b876c602 Remove hyphen-flags override; was only here for the
switchover phase, default is better.
2003-09-08 18:07:30 +00:00
wiz
a607a10950 Punctuation fix. 2003-09-08 18:06:40 +00:00
wiz
51f064e734 Remove St -isoC9X aliases. 2003-09-08 17:55:22 +00:00
wiz
dca9ccd375 Use St -isoC-9X instead of St -isoC9X, to be in sync with groff. 2003-09-08 17:54:31 +00:00
cl
289a48a2fc free string only after it's no longer used through dirname reference. 2003-09-08 17:50:12 +00:00
petrov
536f8085b8 Support multisegment dmamap sync, adopted from OpenBSD. 2003-09-08 17:23:15 +00:00
wiz
8a4bc21866 Remove St -xns5.2d2.0 -- unused now (inet(3) was only user). 2003-09-08 17:22:18 +00:00
wiz
a2f146d519 Mention RFC 3493; inet_{ntop,pton} are in 1003.1-2001; move XNS5.2 to HISTORY.
Okayed by kleink.
2003-09-08 17:21:31 +00:00
itojun
0676396691 plug possible memory leak. from openbsd 2003-09-08 16:19:40 +00:00
mycroft
2bfde7f903 Attempt to deal with Martin's weirdass Sun drive by setting the mode sense
allocation length a little more precisely -- add the space for the header in
cd_mode_sense().  Also delete the XS_CTL_SILENT, since we really do want to
see errors.

Lastly, add a similar wrapper for mode select, simplifying the callers
slightly.
2003-09-08 16:16:43 +00:00
tron
bab150d798 Regen. 2003-09-08 16:07:15 +00:00
tron
7a0eb6d14e Add quirk for Sandisk SDDR-86. The patch was supplied by Peter Seebach
in PR kern/22720.
2003-09-08 16:06:57 +00:00
itojun
8531990138 forgot to commit; des api change 2003-09-08 15:48:11 +00:00
kent
941d061f07 Correct flag names of AD1980 2003-09-08 13:58:21 +00:00
wiz
38f443bb93 Remove local ENABLE_NLS patches which were added for smaller executable
size -- however, these binaries won't end up on bot floppies, so it's
not necessary, and less diffs to the original are better.
Ok'd by itojun.
2003-09-08 13:33:00 +00:00
wiz
29119d0e3b Reinstate paragraph about -E, sort option descriptions, and bump date for -E addition. 2003-09-08 13:13:08 +00:00
wiz
7554e5998d Some more fixes: sort sections, escape some stuff for HTML output. 2003-09-08 13:02:59 +00:00
wiz
25eb7d566d Improved version of OpenBSD's mdoc'ed version of ed(1) (v1.42). 2003-09-08 12:58:41 +00:00
itojun
0398a95f59 make it possible to use /kern/ipsec{sp,sa} for dumping policy/SA. it will
workaround the issue with socket buffer size in PF_KEY SADB_DUMP.
2003-09-08 12:34:29 +00:00
simonb
47b6d4cbaf Note that umass works with Sony DSC Digital Cameras in general, and not
just one specific model (augments PR doc-bug/22684).
2003-09-08 11:45:23 +00:00