ken [Mon, 30 Oct 2000 07:03:00 +0000 (07:03 +0000)]
Write support for the cd(4) driver.
This allows writing to DVD-RAM, PD and similar drives that probe as CD
devices. Note that these are randomly writeable devices, not
sequential-only devices like CD-R drives, which are supported by cdrecord.
Add a new flag value for dsopen(), DSO_COMPATLABEL. The cd(4) driver now
uses this flag instead of the DSO_NOLABELS flag. The DSO_NOLABELS always
used a "fake" disklabel for the entire disk, provided by the caller.
With the DSO_COMPATLABEL flag, dsopen() will first search the media for a
label, and if it finds a label, it will use that label. Otherwise it will
use the fake disklabel provided by the caller. This provides backwards
compatibility, since we will still have labels for ISO9660 media.
It also provides new functionality, since you can now have a regular BSD
disklabel on read-only media, or on writeable media (e.g. DVD-RAM).
Bruce and I both think that we should eventually (in a few years) get
away from using disklabels for ISO9660 media, and just use the whole disk
device (/dev/cd0). At that point disklabel handling in the cd(4) driver
could follow the "normal" model, as used in the da(4) driver.
Also, clean up the path in a couple of places in cdregister(). (Thanks to
Nick Hibma for catching that bug.)
steve [Sun, 29 Oct 2000 22:11:39 +0000 (22:11 +0000)]
Add two new classes of problem reports primarily for the Ports Collection:
- update: For submitting non-maintainer updates/changes
- maintainer-update: For submitting maintainer updates/changes
The intent is to make it easier to spot maintainer sactioned or submitted
updates to ports though it might also be useful for userland code that is
maintained by someone that is not a FreeBSD committer.
steve [Sun, 29 Oct 2000 22:05:52 +0000 (22:05 +0000)]
Update to version 3.113. Major changes were to incorporate FreeBSD-
specific changes into the original distribution (although sometimes
with a slightly different approach) and to add two commandline
options to send-pr(1):
-c which allows you to specify an address to CC this
PR to
-s allow the severity to be specified on the commandline
alc [Sun, 29 Oct 2000 21:38:28 +0000 (21:38 +0000)]
_aio_aqueue(): Change kevent registration to use its own struct file pointer.
Otherwise, aio_read() and aio_write() on sockets are broken if a kevent is
registered. (The code after kevent registration for handling sockets assumes
that the struct file pointer "fp" still refers to the socket, not the kqueue.)
ume [Sun, 29 Oct 2000 19:59:05 +0000 (19:59 +0000)]
- ipv6_prefix_* and ipv6_ifconfig_* work for end node
- rtsol should be work for only one interface
- new variable ipv6_defaultrouter is added
- option name of rtadvd in comment are corrected
- ipv6_firewall_enable, ipv6_firewall_type, ipv6_firewall_script,
ipv6_firewall_logging are added to introduce rc.firewall6.
IPv6 firewall rule is just starting point and should be brushed up.
This commit includes PR18621, PR21694, PR22051.
gallatin [Sun, 29 Oct 2000 16:27:40 +0000 (16:27 +0000)]
Unmask cypress ata controllers. This bug was hidden before
the addition of the serverworks isab support because the
cypress case was the last one in the switch
dougb [Sun, 29 Oct 2000 10:19:55 +0000 (10:19 +0000)]
The previous commit had the fascinating side effect of bringing the
openssl version 0.9.5a version of this file into RELENG_5. This is
a good thing, but should be documented.
dougb [Sun, 29 Oct 2000 09:40:22 +0000 (09:40 +0000)]
More changes that don't modify functionality.
* More whitespace
* Change read -p to echo -n/read to help support portability
* Genericize an informational message regarding /.cshrc and /.profile
for the same reason
dougb [Sun, 29 Oct 2000 06:57:59 +0000 (06:57 +0000)]
Finish the job of conditionalizing UUCP by preventing files in /etc/uucp
from being installed, and make rmail conditional on neither of
NO_SENDMAIL and NOUUCP.
non [Sun, 29 Oct 2000 06:47:16 +0000 (06:47 +0000)]
Changed not to use struct isa_device in the argument of scsi_low_activate().
You will not need COMPAT_OLDISA in config file.
This interface may have to change in future.
jdp [Sun, 29 Oct 2000 03:56:49 +0000 (03:56 +0000)]
Fix a bug that shows up when checking out files by date with the
"-D date" command line option. There is code in the original to
handle a special case. If the date search finds revision 1.1 it
is supposed to check whether revision 1.1.1.1 has the same date
stamp, which would indicate that the file was originally brought
in with "cvs import". In that case it is supposed to return the
vendor branch version 1.1.1.1.
However, there is a bug in the code. It actually compares the date
of revision 1.1 for equality with the date given on the command
line -- clearly wrong. This commit fixes the coding bug.
There is an additional bug which is _not_ fixed in this commit.
The date comparison should not be a strict equality test. It should
allow a fudge factor of, say, 2-3 seconds. Old versions of CVS
created the two revisions with two separate invocations of the RCS
"ci" command. We have many old files in the tree in which the
dates of revisions 1.1 and 1.1.1.1 differ by 1 second.
tegge [Sun, 29 Oct 2000 01:19:32 +0000 (01:19 +0000)]
Reduce kernel stack usage by not having large packets on the stack.
Supply correct size parameter to dhcpd.
Replace some magic numbers with macro names.
Handle more than one interface.
msmith [Sat, 28 Oct 2000 23:07:13 +0000 (23:07 +0000)]
Unconditionally turning on the I/O and memory enable bits in the PCI
command register is too aggressive. Revert to the previous behaviour, but
leave the new behaviour available as an undocumented option. It's not
clear what the Right, Right Thing is to do here, but the more conservative
approach is safer.
mjacob [Sat, 28 Oct 2000 22:47:47 +0000 (22:47 +0000)]
Add 3 SCSI-3 bits for Sequential Access Device Congifuration Page.
Add Data Compression Page (SCSI-3). Add some clarifying comments
at the top of the file that say what the syntax is.
jhb [Sat, 28 Oct 2000 22:35:57 +0000 (22:35 +0000)]
Don't ignore VESA modes that have the NON-VGA bit set. All of the SVGA
graphical modes on some systems have this bit set causing our VESA code
to ignore them.
obrien [Sat, 28 Oct 2000 21:26:48 +0000 (21:26 +0000)]
* Bring back the guts of crt{i,n}.S. This allows C++ exceptions to work
when using the egcs and gcc-devel ports, along with GCC built from stock
public FSF sources. With out this change, FreeBSD will be removed from
the list of systems GCC 3.0 must be evaluated on before release. With
the effort some of us put into getting FreeBSD on this list, we should
not turn this effort into a waste, else we might not be worth fighting
for in the future. (note that Alpha and IA-64 versions of crt{i,n}.S
are needed)
* Switch from our own crt{begin,in} to those created from GCC's crtstuff.c.
This will allow us to switch to DWARF2 exceptions in the future, along with
staying in sync with any future GCC requirements.
* Break out our ELF branding bits into a seperate file. Currently this
is now included by our crt1.c files (since this functionality was part of
our native crtbegin.c). Later crtbrand.o will be merged in the creation
of crti.o.
joe [Sat, 28 Oct 2000 16:25:25 +0000 (16:25 +0000)]
When an interface isn't specified use wi0 as the default.
This gets around a segmentation fault that occurs when the interface
isn't specified first before any of the options.
joe [Sat, 28 Oct 2000 16:18:41 +0000 (16:18 +0000)]
When an interface isn't specified use wi0 as the default.
This gets around a segmentation fault that occurs when the interface
isn't specified first before any of the options.
joe [Sat, 28 Oct 2000 14:31:40 +0000 (14:31 +0000)]
Fix a blatant bug when running '/etc/pccard_ether device stop'.
I wasn't dropping the interface correctly, but not noticing because
the interface was going away when the card was ejected.