jkh [Thu, 5 Oct 2000 18:02:09 +0000 (18:02 +0000)]
If user selects no distributions at all, assume "User" as
a default. This should prevent people from whacking return at
the Distributions menu and getting nothing selected as a result
(a minimal "standard" system will at least install).
Flagged as big tech support headache by: Chris Shumway <cshumway@osd.bsdi.com>
jhb [Thu, 5 Oct 2000 18:00:56 +0000 (18:00 +0000)]
- Add another PCI Id for a Lucent Win Modem.
- Change the chip description to use mixed-case so it is consistent and
doesn't yell at the user during boot.
wpaul [Thu, 5 Oct 2000 17:36:14 +0000 (17:36 +0000)]
Add support for parsing the media blocks from the SROM on 21143
adapters. This is necessary in order to make this driver work with
the built-in ethernet on the alpha Miata machines. These systems
have a 21143-PC chip on-board and optional daughtercards with either
a 10/100 MII transceiver or a 10baseT/10base2 transceiver. In both
cases, you need to twiddle the GPIO bits on the controller in order
to turn the transceivers on, and you have to read the media info
from the SROM in order to find out what bits to twiddle.
bde [Thu, 5 Oct 2000 11:58:22 +0000 (11:58 +0000)]
Forward-declare struct mbuf so that this file is less self-insufficient
-- don't depend on garbage in <sys/mount.h>. mbufs aren't actually
used here either. They should have been completely removed from filesystem
interfaces when they were removed from the interfaces to convert between
file handles and vnodes.
gibbs [Thu, 5 Oct 2000 04:24:14 +0000 (04:24 +0000)]
Convert the driver to use a single DMA for fetching new commands instead
of two (one to access the circular input fifo, the other to get the SCB).
This costs us a command slot so the driver can now only queue 254
simultaneous commands.
Have the kernel driver honor critical sections in sequencer code.
When prefetching S/G segments only pull a cacheline's worth but
never less than two elements. This reduces the impact of the
prefetch on the main data transfer when compared to the 128
byte fetches the driver used to do.
Add "bootverbose" logging for transfer negotiations.
Correct a bug in ahc_set_syncrate() that would prevent an update
of the sync parameters if only the ppr_options had changed.
Correct locking for calls to ahc_free_scb(). ahc_free_scb() is no
longer protected internally to simplify ports to other platforms.
Make sure we unfreeze our SIMQ if a resource shortage has occurred
and an SCB is been freed.
ahc_pci.c:
Turn on cacheline streaming for all controllers that support it.
kris [Thu, 5 Oct 2000 02:49:49 +0000 (02:49 +0000)]
* Buffer-safe string function cleanup. There are a couple of strcpy()
and strcat()s which would be more difficult to fix, but I think they're
safe anyway.
* Don't crash at runtime by overflowing a buffer with constant data in
print-icmp.c on a long hostname.
* Don't overflow a static buffer by trying to decode an AFS ACL into a buffer
which is way too small for it.
bmah [Wed, 4 Oct 2000 20:41:32 +0000 (20:41 +0000)]
New info for ata(4) driver: Tagged queueing via ATA_ENABLE_TAGS,
support for ServerWorks ROSB4 ATA33, CMD 648 ATA66 and CMD 649 ATA100,
and Cyrix 5530.
dfr [Wed, 4 Oct 2000 17:53:03 +0000 (17:53 +0000)]
Next round of fixes to the ia64 code. This includes simulated clock and
disk drivers along with a load of fixes to context switching, fork
handling and a load of other stuff I can't remember now. This takes us as
far as start_init() before it dies. I guess now I will have to finish off
the VM system and syscall handling :-).
sos [Wed, 4 Oct 2000 08:28:37 +0000 (08:28 +0000)]
Fix the MASTERDEV breakage the caused the PIIX controllers to get
missed in the probe. This might break the CMD chips again, more
testing is needed on that, but we need the mainstream chips to
work again ...
rwatson [Wed, 4 Oct 2000 04:44:51 +0000 (04:44 +0000)]
o Add call to ufs_extattr_uepm_destroy() in ffs_unmount() so as to clean
up lock on extattrs.
o Get for free a comment indicating where auto-starting of extended
attributes will eventually occur, as it was in my commit tree also.
No implementation change here, only a comment.
rwatson [Wed, 4 Oct 2000 04:41:33 +0000 (04:41 +0000)]
o Correct use of lockdestroy() by adding a new ufs_extattr_uepm_destroy()
call, which should be the last thing down to a per-mount extattr
management structure, after ufs_extattr_stop() on the file system.
This currently has the effect only of destroying the per-mount lock
on extended attributes, and clearing appropriate flags.
o Remove inappropriate invocation in ufs_extattr_vnode_inactive().
jasone [Wed, 4 Oct 2000 01:29:17 +0000 (01:29 +0000)]
Convert lockmgr locks from using simple locks to using mutexes.
Add lockdestroy() and appropriate invocations, which corresponds to
lockinit() and must be called to clean up after a lockmgr lock is no
longer needed.
brian [Tue, 3 Oct 2000 20:41:00 +0000 (20:41 +0000)]
o Load netgraph.ko, ng_ether.ko and ng_pppoe.ko as required (I'm sure this
used not to be necessary).
o Allow ``-n ngdebug'' to specify something to pass to NgSetDebug()
and redirect NgSetDebug() output to syslog(8) in daemon() mode.
o Xref ng_ether(8) and NgSetDebug(4).
o Correct the type of the response passed to NgRecvData.
wpaul [Tue, 3 Oct 2000 18:11:36 +0000 (18:11 +0000)]
Add support for the AMD Am79c976 PCnet/PRO controller chip. For now
this just involves adding the chip ID to the supported list: the PCnet/PRO
is compatible with the PCnet/FAST+ and friends and should "just work"
with this driver.
Also try to handle mbuf allocation failures in the receive handler
more gracefully.
Added the missing ntohs() conversion when matching IP packet with
the IP_FW_IF_IPID rule. (We have recently decided to keep the
ip_id field in network byte order inside the kernel, see revision
1.140 of src/sys/netinet/ip_input.c).
I did not like to have the conversion happen in userland, and I
think that the similar conversions for fw_tcp(seq|ack|win) should
be moved out of userland (src/sbin/ipfw/ipfw.c) into the kernel.
peter [Tue, 3 Oct 2000 09:23:49 +0000 (09:23 +0000)]
Move the ata/atapi files to the common area. They were the same on all
platforms.
While here, work around a strange quirk in config(8) that I do not yet
understand. Rearrange which atapi* files have 'optional' vs. 'count'
so that you can have atapifd without atapicd. The only difference should
be that this works instead of having a link error because atapi-all.o got
left out of the kernel.
dfr [Tue, 3 Oct 2000 08:03:03 +0000 (08:03 +0000)]
Clear pcb_schednest in cpu_fork() for the child process. This is
is necessary since the child's call stack only includes one recursive
hold of sched_lock.
bmilekic [Tue, 3 Oct 2000 02:23:35 +0000 (02:23 +0000)]
Fix a problem with MCHTYPE macro's use of atomic().
Basically, the reason most people haven't seen this is
most likely related to the low usage of MCHTYPE.
Pointed out and suggested a fix by: Boris Popov (bp) - thanks!
jkh [Tue, 3 Oct 2000 00:08:15 +0000 (00:08 +0000)]
Turn fingerd OFF by default. Comparative essentials like telnetd
are bad enough, but finger is hardly a critical system service and
it's traditionally been vulnerable to a variety of attacks; anybody
remember RTFM and his worm?
rnordier [Mon, 2 Oct 2000 17:30:22 +0000 (17:30 +0000)]
Go back to occupying just a single sector, reverting r1.17 - r1.20.
Taking over the sector following the MBR causes problems on some
machines, and the actual gains are fairly small in terms of how
the space is presently used.
Since we need a number of further features (eg. handling extended
partitions) that can't be readily accommodated in the basic boot0
design anyway, rather choose to implement the additional stuff
separately and concentrate on compatibility rather than features
here.
nyan [Mon, 2 Oct 2000 14:27:20 +0000 (14:27 +0000)]
Added NEC PC-9801-83, 84, PC-9801-103, 104, PC-9801N-25 and PC-9801N-J02R
support which use National Semiconductor DP8393X (SONIC) as ethernet
controller. Currently, this driver is used on only PC-98.
iwasaki [Mon, 2 Oct 2000 08:58:50 +0000 (08:58 +0000)]
Fix StallOp implementaion. I've noticed that StallOp corresponds to
OsdSleepUsec(), SleepOp corresponds to OsdSleep() by reading ACPICA
source code.
- Add OsdSleepUsec() which uses DELAY() simply.
- Change unit of acpi_sleep() argument; microseconds to milliseconds.
peter [Mon, 2 Oct 2000 08:48:49 +0000 (08:48 +0000)]
Change "building the standard ${LIB} library" to "building the static
${LIB} library". "standard" tends to imply the one that is normally
used... but by default it is not the case - the .so would be the
"standard" library. Therefore, change this to 'static'. Another option
might be "conventional ${LIB} library".
peter [Mon, 2 Oct 2000 08:31:20 +0000 (08:31 +0000)]
Really fix the struct callout collision. AMD does not need to
#include <sys/mbuf.h>. (which #include's <machine/mutex.h> and then
<sys/proc.h> and then <sys/callout.h>, leading to the collision).
<sys/mbuf.h> is really one of those 'no user servicable parts inside'
things.