Peter Wemm [Wed, 16 Dec 1998 06:04:29 +0000 (06:04 +0000)]
Old stuff laying around: Don't use a function called getstr(), that has
nasty consequences when the system curses is ncurses as this conflicts
with a ncurses funciton and causes recursion.
Mike Smith [Tue, 15 Dec 1998 14:32:17 +0000 (14:32 +0000)]
Reformat help to improve subtopic display appearance, other minor
cleaning. The 'help' command in the loader should now be usable and
hopefully informative.
Bruce Evans [Tue, 15 Dec 1998 09:16:57 +0000 (09:16 +0000)]
Fixed misformatted error messages. wderror() was broken way back
in rev.1.30 (just before FreeBSD-1.1R) to almost match corresponding
breakage in FreeBSD-1.x's diskerr(). FreeBSD-2.x's diskerr() never
had the breakage.
Justin T. Gibbs [Tue, 15 Dec 1998 08:22:42 +0000 (08:22 +0000)]
Perform a save data pointers operation if a data transfer was performed
in target mode, but we are not completing the command.
Use a template of allowed bus arbitration phases to selectively and
dynamically enable/disable initiator or target (re)selection.
Properly handle timeouts for target role transactions - just go to the
bus free state and report the error to the peripheral driver.
Checkpoint support for the XPT_ABORT_CCB function code. This currently
handles the accept tio and immediate notify ccb types, but does not
handle the continue target I/O or SCSI I/O ccb types. This is enough
to handle dynamic target enable/disable events.
Clean up the SCSI reset code so that we perform at most 1 SCSI bus
reset at initialization, the reset requested by the XPT layer.
Justin T. Gibbs [Tue, 15 Dec 1998 08:15:15 +0000 (08:15 +0000)]
Enable/Disable our lun on open/close. Track resources kept at the controller
level so they can be reclaimed before attempting to disable our lun.
Correctly free descriptors. Add periph locking and spl protection
around open and close.
Warner Losh [Tue, 15 Dec 1998 02:51:54 +0000 (02:51 +0000)]
o Convert length of hccb to integer from the array. Eivind Eklund
pointed this out, but I've not seen a manifestation of this.
o Check against 0x00 as well as 0xff for geometry register, as some clone
cards don't return 0xff. Vadim Mikhailov pointed this out in PR
8743 for his Dell SCSI Array controller working in AHA-1540
emulation mode. Note that this test is likely to go away in the
future in favor of a better one Justin has recommended.
Warner Losh [Tue, 15 Dec 1998 00:24:32 +0000 (00:24 +0000)]
This file contains minimal instructions for the moderately clueful to
update their systems from prior versions of FreeBSD. It is only for
November 18, 1998 and newer systems. If you have an older system, you
are on your own.
I'll update this from time to time, and if it shows signs of bitrot
I'll kill it.
Matthew Dillon [Mon, 14 Dec 1998 21:34:55 +0000 (21:34 +0000)]
Remove hardwired alignment, align to sizeof(long) which should be more
portable (though the hardwired alignment of 16 would also have worked just
fine and perhaps even resulted in better L1 cache operation).
Julian Elischer [Mon, 14 Dec 1998 21:14:11 +0000 (21:14 +0000)]
The OHCI interfaces I have access to map their control regs etc. into
memory address space rather than IO space.. reflect this when looking for the
interface revision register.
If this is not true for them all then we probably need some smarter code.
Brian Somers [Mon, 14 Dec 1998 19:24:30 +0000 (19:24 +0000)]
Rather than interrupting 10 times per second then checking
to see if there's anything to do, schedule the next alarm
based on the next required timeout.
This decreases the load when there are lots of relatively
idle ppp processes.
While I'm in there, handle the possibility that a timeout
makes the timer element go out of scope by grabbing the
enext pointer before executing the timer function.
Bruce Evans [Mon, 14 Dec 1998 16:29:58 +0000 (16:29 +0000)]
Fixed LINT breakage in previous commit. Option FDC_YE enabled a
syntax error. Options FDC_YE and DEVFS together enabled references
to a nonexistent variable and calls of a nonexistent function.
Stephen McKay [Mon, 14 Dec 1998 13:27:48 +0000 (13:27 +0000)]
Restore traditional behaviour by allowing tabs in strings. In deference
to the new age of internationalisation, I used isblank() instead of a
literal '\t'.
Matthew Dillon [Mon, 14 Dec 1998 08:34:55 +0000 (08:34 +0000)]
Fixed problems with kernel config file overrides of sysv semaphore
parameters. Prior to this fix a kernel config override would effect
only some of the kernel files, resulting in panics.
Matthew Dillon [Mon, 14 Dec 1998 05:47:29 +0000 (05:47 +0000)]
pci_device pd_probe function changed from returning char * to returning
const char *. Originally I was going to add casts from const char * to
char * in some of the pci device drivers, but the reality is that the
pci device probes return constant quoted strings.
Matthew Dillon [Mon, 14 Dec 1998 05:37:37 +0000 (05:37 +0000)]
Fix -Wuninitialized warning regarding zero-length var-args ctl element.
( this isn't really an error, but I think it is important to fix the
warning ).
Matthew Dillon [Mon, 14 Dec 1998 05:35:56 +0000 (05:35 +0000)]
author was assuming that nextpaddr declared *inside* the do loop would
survive within the loop. This is not guarenteed by C. I have moved
the nextpaddr declaration to outside the do loop.
Matthew Dillon [Mon, 14 Dec 1998 02:25:32 +0000 (02:25 +0000)]
Reviewed by: freebsd-current
Add bounds checking to netbios NS packet resolving code. This should
prevent natd from crashing on badly formed netbios packets (as might be
heard when the machine is sitting on a cable modem or certain DSL
networks), and also closes potential security holes that might have
exploited the lack of bounds checking in the previous version of the
code.