Commit Graph

44954 Commits

Author SHA1 Message Date
Jeroen Ruigrok van der Werven
14978bfd06 Remove mention of bio in the synopsis, this usage is deprecated. 2000-01-17 08:30:03 +00:00
Jeroen Ruigrok van der Werven
d3f7bb297e Discourage usage of controller in kernel config files. Reflect this
by changing ``controller'' to ``device'' as per GENERIC and LINT.
2000-01-17 08:24:20 +00:00
Jeroen Ruigrok van der Werven
12e4903349 Discourage usage of controller in kernel config files. Reflect this
by changing ``controller'' to ``device'' as per GENERIC and LINT.
2000-01-17 08:08:33 +00:00
Peter Wemm
615407b5a0 Some SB128's (ES1371) have a different PCI vendor id. Vendor == 0x3274
instead of the normal 0x1274.

Tested by:	des
2000-01-17 07:54:00 +00:00
Kris Kennaway
6470ba8b28 Create tempfiles securely.
Reviewed by:	imp
2000-01-17 06:43:41 +00:00
Kirk McKusick
105ef72c55 Better bounding on softdep_flushfiles; other minor tweeks to checks. 2000-01-17 06:35:11 +00:00
Kirk McKusick
107d5039ef Must track multiple uncommitted renames until one ultimately gets
committed to disk or is removed.
2000-01-17 06:28:18 +00:00
Matt Jacob
10b6172afb Do the minor changes needed because of change to ccb_getdev structure.
JKH Trading Stamps applied.

Reviewed by:	gibbs@freebsd.org, ken@freebsd.org
2000-01-17 06:27:37 +00:00
Matt Jacob
ab6eec3ad9 Increase size of the scsi_inquiry_data structure to it's nearly
full size. Define a SHORT_INQUIRY_LENGTH for use during initial
probing (covers the size used previously). Define some SPC-2 related
fields (and define the revision code for SPC-2) which includes some
further SPI-3 defines. Don't go all the way (256 bytes) for the structure-
stop 4 bytes short- because we haven't auditted the source base to find
any u_int8_t potential overflow issues. Add RBC (single byte device)
and OCR (Optical Character Reader) device type codes.

Approved by JKH.

Reviewed by:	gibbs@freebsd.org, ken@freebsd.org
2000-01-17 06:24:35 +00:00
Matt Jacob
9ec5d7cd35 Remove garbage collected tags from their usage in the ccb_getdev
structure. Remove usage of the (now gone) pd_type tag of same.

Add an extra probing state such that if we successfully run an
initial inquiry (36 bytes), rerun another one with a longer data
size as informed by the 'additional length' field in the first
returned inquiry data (making sure not to get bigger than the
actual scsi_inquiry_data structure- which has also been modified-
see separate checkin of scsi_all.h). This allows devices such
as SAF-TE devices (which have identifying marks in offsets 48-53
in inquiry data) to be successfully found without special case
inquiry commands. There are also a lot of other things such as
version codes that are coming in in the SPC2 specification that it
would be useful to get our hands on.

Reviewed by:	gibbs@freebsd.org, ken@freebsd.org
2000-01-17 06:20:08 +00:00
Matt Jacob
826eb7c840 Shift bits for CAM flags so that the top bit isn't set in an enum
(at request of Ken Merry). Garbage collect items out of the ccb_getdev
structure and and a length field so that consumes will know how much
of the inq_data tag is valid. Clean up a few misspellings. Add
a CAM_SEND_STATUS target mode flag.

All of this necessitated a CAM_VERSION bump.

JHK approved.

Reviewed by:	gibbs@freebsd.org, ken@freebsd.org
2000-01-17 06:15:35 +00:00
Warner Losh
0a488c7596 Fix typos and talk about the controller -> device config file
changes.
2000-01-17 06:12:00 +00:00
Matt Jacob
5fd6140dfa Add a CAM_SENT_STATUS for use in target mode. JHK approved.
Reviewed by:	gibbs@freebsd.org, ken@freebsd.org
2000-01-17 06:11:33 +00:00
John Polstra
343ce5855c Fix error message that was too hastily cut&pasted from libradius.
Submitted by:	Alexey Zelkin <phantom@cris.net>
2000-01-17 04:26:09 +00:00
Bill Paul
31ef678830 Add/fix controller miibus0/device miibus0 stuff here too. 2000-01-17 02:27:23 +00:00
Bill Paul
9972499a40 Change 'controller uhci0' and friends in the SYNOPSIS sections to
'device uhci0' and so on.
2000-01-17 02:17:55 +00:00
Søren Schmidt
46a37dbac0 Add support for the Intel 810 chipset (ICH type of chips)
Prober support for the VIA 82C686, I finally got the right datasheet.

Get rid of atapi_wait, merge it into ata_wait.

Avoid a couple of races by using asleep instead of tsleep.

Always use 16bit transfers on ISA systems.

Clear up the atapi_read/write functions.
2000-01-17 02:04:19 +00:00
Bruce Evans
87be6e697a Fixed breakage of K&R support in rev.1.26. yyparse() was defined as
`int yyparse(;) ; { ... }' in K&R mode.  Getting rid of the second
unwanted semicolon in this made the ifdef tangle more tangled than
before.  Fixed a backwards comment in the tangle.
2000-01-17 02:04:06 +00:00
Matt Jacob
8d9e6c80ca Do not propagate the ENCI_SVALID bit for overall enclosure status
to userland apps- they get confused.
2000-01-17 02:02:41 +00:00
Bruce Evans
dd079f6ca5 Fixed breakage of K&R support in rev.1.8 of output.c: don't generate
#elif.  Cleaned up rev.1.8 a bit more: generate the #include of
<stdio.h> closer to the code that needs it.
2000-01-17 01:51:29 +00:00
Jordan K. Hubbard
135adb1eda Fix syntax error in previous commit. 2000-01-17 01:44:16 +00:00
Søren Schmidt
b47d790500 Change the buffer size to 16 blocks, some crappy drives have trouble
with bigger chunks of data at a time.
Add filesize to progress printout.

Submitted by: green@FreeBSD.org <Brian Fundakowski Feldman>
2000-01-17 01:43:25 +00:00
Bruce Evans
5f34a652e0 Fixed bitrot in library build order. libmd was not built before
libcrypt and libutil was not built before libpam.

The order here is currently unimportant, but ../Makefile should
descend here to build everything (which currently doesn't work
right) or at least to get the order using `make -V SUBDIR'.
2000-01-17 01:32:39 +00:00
Kris Kennaway
466c0416c8 We no longer care about the VAX and Tahoe compilers :-) 2000-01-17 01:28:00 +00:00
Matt Jacob
6da094e967 Add in SAF-TE handling code and do some minor consistency cleanups. 2000-01-17 00:36:28 +00:00
Bill Paul
20a08a85e4 Remove device name strings from vendor/product lists since we don't use
them (they're read from the device directly). Also do a set_config
command for the ADMtek and CATC drivers.
2000-01-16 22:45:07 +00:00
Kris Kennaway
ec23c255e2 Fix insecure tempfile handling.
Reviewed by:	audit@freebsd.org
2000-01-16 21:19:04 +00:00
Kris Kennaway
0cecd500a4 Don't overflow buffers.
Reviewed by:	audit@freebsd.org
2000-01-16 21:15:50 +00:00
Kris Kennaway
404aa17813 Fix insecure tempfile handling.
Reviewed by:	audit@freebsd.org
2000-01-16 21:11:19 +00:00
Kris Kennaway
16bd17ce2d Fix insecure tempfile handling
Reviewed by:	audit@freebsd.org
2000-01-16 21:08:58 +00:00
Kris Kennaway
e36de8f1b1 The wrong version of the file was committed previously which explains the
problems seen here.
2000-01-16 21:00:06 +00:00
Brian Feldman
701eaeb380 Add the apm -e argument, which will toggle the "enabled" status of APM. 2000-01-16 20:25:57 +00:00
Matt Jacob
31faeddf80 get pd_type from inquiry data itself 2000-01-16 20:15:43 +00:00
Matt Jacob
b1e7821bcb use XPT_GDEV_STATS- XPT_GDEV_TYPE was deprecated a while back 2000-01-16 20:03:34 +00:00
Matt Jacob
be13abf9a0 Fix breakage from last commit- macro was broken. I appreciate the
committer's fixing things for alpha, but I sure wish they could
have compiled on one!
2000-01-16 19:02:29 +00:00
Wilko Bulte
c0927dd219 Removed outdated comment on experimental nature of ata. Added comment to esp 2000-01-16 18:46:21 +00:00
Chris Costello
64304d8c44 Add and document support for handling comments and blank lines
in /etc/sysctl.conf.

Reviewed by:	imp, jkh
2000-01-16 18:12:42 +00:00
Yoshinobu Inoue
42ae04d936 fix kernel panic at rtfree() in INET6 enabled envrionment.
This is probably due to twice rtfree() in in6_pcbdetach(),
  one for inp->in6p_route.ro_rt, and another one for inp->inp_route.ro_rt.
  But these 2 are actually shared in inpcb, so 2nd rtfree() is not necessary.
2000-01-16 18:00:06 +00:00
Poul-Henning Kamp
e3b3872931 Fix !crypto releases once more. 2000-01-16 17:21:28 +00:00
Peter Wemm
8ccd633455 Implement setres[ug]id() and getres[ug]id(). This has been sitting in
my tree for ages (~2 years) waiting for an excuse to commit it.  Now Linux
has implemented it and it seems that Staroffice (when using the
linux_base6.1 port's libc) calls this in the linux emulator and dies in
setup.  The Linux emulator can call these now.
2000-01-16 16:34:26 +00:00
Poul-Henning Kamp
9a9bf0a412 Add missing share/examples/ses directory. 2000-01-16 14:02:51 +00:00
Wilko Bulte
11f780a34a ALPHAHW.TXT described the supported machine types for FreeBSD/alpha
along with their quirks along with generic info on things like SRM,
bootable adapters etc.
2000-01-16 13:18:08 +00:00
Tatsumi Hosokawa
9d18870a6f There's not /etc/pccard_ether_remove on -current. 2000-01-16 13:13:12 +00:00
Tatsumi Hosokawa
2c9d9934fb I've forgotten one hardwired device name in insert/remove line. 2000-01-16 13:11:23 +00:00
Cameron Grant
9bc502089a fix missing \n in sndstat output 2000-01-16 12:52:22 +00:00
Wilko Bulte
d8f1ce3873 Correct comments / point to right LINT file (./LINT does not exist for Alpha) 2000-01-16 12:39:24 +00:00
Cameron Grant
0a12fe07e7 oops, best play format was set to unsigned 16 bit instead of signed 16 bit
stereo.  remenant from testing.
2000-01-16 12:05:07 +00:00
David E. O'Brien
d98b1e1d59 Update this for the recient import. 2000-01-16 10:22:31 +00:00
David E. O'Brien
6986f365d4 Update for 1.0.5a. 2000-01-16 10:21:28 +00:00
David E. O'Brien
ca4d36dde4 Merge rev 1.2 into BC 1.0.5a, which fixes a spelling error. 2000-01-16 10:14:50 +00:00