Matt Jacob
a70ac9fd83
per bde (who is right about this) that an inlined fucntion with const
...
char * strings being returned defined in a header file included several
places but only used in one module, is, uh, silly.
1998-09-17 23:20:29 +00:00
Matt Jacob
7ac6b5a314
Cleanliness. Don't leave defined a const char array that's only used
...
if target mode is defined (which it isn't, yet).
1998-09-17 22:53:35 +00:00
Justin T. Gibbs
761fe626ea
Really correct ncr_freeze_devq now. We scan backwards from the current
...
insertion point into the start queue looking for entries to remove and
mark them with the 'skip' address, recording the entry furthest from the
insertion point that needs to be removed. We then go through a second
loop starting at the furthest entry to be removed and compress the start
queue. The old algorithm started at (old insert point + 1) and wrapped
through the whole queue which would end up moving the start position in
the queue out from under the nose of the scrip processor.
1998-09-17 22:29:02 +00:00
Mike Smith
4e138a28a0
Add support for glibc consumers using the new ld-linux.so.2 linker.
...
I can't say this was the most inspired fix, but it matches the design OK.
1998-09-17 22:08:34 +00:00
Nicolas Souchu
f7d09fba58
vpo comments updated for cam, nlpt suggested instead of lpt
1998-09-17 21:54:17 +00:00
Matt Jacob
4873663cf8
A major amount of cleaning up:
...
+ Change some messages about CCB memory allocation
+ Turn a failure to DMA map all of a transaction due to lack of
ISP queue entries into a requeue operation (instead of the
case where it had been treated the same as a DMA too big
operation).
+ put back splsoftvm around bus_dmamap_load calls.
+ cleanup (and fix a glaring bug) in the and of the dma setup
routine. Also, the dma setup routines either return CMD_QUEUED
(for success) or CMD_COMPLETE (for failure) or CMD_EAGAIN
(for requeuing for resource shortage reasons).
1998-09-17 21:11:21 +00:00
Matt Jacob
0c1b701510
Clean up a comment. Make the default debugging level contingent upon CAMDEBUG.
1998-09-17 21:06:38 +00:00
Matt Jacob
c6904df981
Remove commented out and no longer pertinent EAGAIN message. Redo CMD_COMPLETE
...
logic for returns from inner layer (just make sure that a CAM_REQ_INPROG
doesn't get xpt_done'd).
1998-09-17 21:05:40 +00:00
Matt Jacob
42b7427595
ISP_DMASETUP now returns a value to be possibly punted to outer layers.
...
Turn request queue overflow messages into debug messages. Ensure on
isp_restarts that we nullify the xflist array.
1998-09-17 21:03:45 +00:00
Matt Jacob
4d65e73e67
Roll revision, clean up a comment.
1998-09-17 21:02:18 +00:00
Søren Schmidt
d74e86d9e3
Fix the sreensavers so the work again with the new syscons & friends.
...
Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
1998-09-17 19:40:30 +00:00
Robert Nordier
131bc817a0
Correct description of get_diskinfo result.
1998-09-17 18:43:18 +00:00
Bill Fenner
52b65dbe85
Fix the bind security fix introduced in rev 1.38 to work with multicast:
...
- Don't bother checking for conflicting sockets if we're binding to a
multicast address.
- Don't return an error if we're binding to INADDR_ANY, the conflicting
socket is bound to INADDR_ANY, and the conflicting socket has SO_REUSEPORT
set.
PR: kern/7713
1998-09-17 18:42:16 +00:00
KATO Takenori
7ef16b04e6
Sync with sys/i386/i386/userconfig.c revision 1.109.
1998-09-17 13:14:14 +00:00
Jordan K. Hubbard
36607a387c
MF22: Robert Swindells' patch for correct probing of more AMD cards.
...
Merged by: Max Khon <fjoe@iclub.nsu.ru>
1998-09-17 13:09:16 +00:00
Doug Rabson
9604f809cd
Merge with the latest i386 syscons.
1998-09-17 09:38:36 +00:00
Doug Rabson
888aeaaa72
Fix printf format errors.
1998-09-17 09:35:31 +00:00
Poul-Henning Kamp
d80044954c
Two patches from the HARP people:
...
Various Makefile related fixes.
-Wformat fixes.
Submitted by: Mike Spengler <mks@networkcs.com>
1998-09-17 09:35:02 +00:00
Justin T. Gibbs
4e77534e05
dpt.h has moved back to sys/dev/dpt. The dpt ioctl interface will be
...
properly separated out from what is currently a header file filled with
lots of data mostly of interest to the kernel driver, and
placed in the proper location at that time.
1998-09-17 03:58:58 +00:00
Mike Smith
c009fe307d
Mark the syscons and pcvt drivers as being allowed to conflict, so that
...
well-meaning but uneducated users don't exterminate the psm driver in
their zeal to achieve zero conflicts.
1998-09-17 03:15:30 +00:00
Justin T. Gibbs
c2921d36a9
Use %p with (void *) casts to print pointers with printf.
1998-09-17 00:08:29 +00:00
Bill Fenner
dd9b6dde89
Prevent modification of permanent ARP entries (PR kern/7649)
...
Ignore ARP replies from the wrong interface (discussion on mailing list)
Add interface name to a couple of error messages
1998-09-17 00:04:21 +00:00
Kenneth D. Merry
c5e6ca4410
Some Alpha patches for CAM from Doug Rabson.
...
Reviewed by: gibbs
Submitted by: dfr
1998-09-16 23:30:11 +00:00
Justin T. Gibbs
fb268fece4
Fix a regression that caused the script to spam itself by copying something
...
of size sizeof(struct timeval) that is really of size sizeof(ticks).
Make another attempt at fixing the queue full case.
1998-09-16 22:46:04 +00:00
Mike Smith
85dc1320dc
Add 450NX chipset components.
1998-09-16 20:29:22 +00:00
Matt Jacob
00f50ce889
Fix the (unported) resource shortage case- I'd done a xpt_freeze_simq
...
but had never done a CAM_RELEASE_SIMQ to restart the queues.
1998-09-16 19:52:22 +00:00
Mike Smith
8b809962bf
Make consoles immutable. If you want to turn them off, use wizard mode.
...
Fix assorted formatting violations in the device table.
1998-09-16 19:23:49 +00:00
Andreas Klemm
780ea96b9a
sync with GENERIC file, raise maxusers variable from '10' to '32'
1998-09-16 18:27:45 +00:00
Poul-Henning Kamp
51a6f39df6
Make this somewhat cam-compatible.
...
Justin, can you take a peek please ?
1998-09-16 17:44:37 +00:00
Justin T. Gibbs
348811e078
Fix a bug in ncr_freeze_devq() which is called when we see a queue
...
full condition or other error which requires us to purge the
controller's start queue of transactions for a particular device.
We were relying on the NCR CCB's program address to cause the
script engine to skip to the next entry in the queue even though
the CCB is freed (and its program address switched to the idle
loop) by this action. We now set the address in the start queue
to be the "skip" function directly.
1998-09-16 17:11:59 +00:00
Matt Jacob
a185f9b1c3
Alpha port related fixes from Doug Rabson.
...
Submitted by: dfr
1998-09-16 16:43:17 +00:00
Matt Jacob
aad446c06c
alpha port fixes from Doug.
...
Reviewed by: dfr
1998-09-16 16:42:40 +00:00
Justin T. Gibbs
9bc66b835c
Properly allocate our, per lun, probe peripheral softc from
...
the TEMP malloc pool.
Noticed by: Don Lewis <Don.Lewis@tsc.tdk.com>
1998-09-16 13:24:37 +00:00
KATO Takenori
facd783008
Sync with sys/i386/isa/pcaudio.c revision 1.43.
1998-09-16 08:38:50 +00:00
KATO Takenori
12629290f5
Sync with sys/i386/isa/files.i386 and options.i386 revisions 1.204 and
...
1.87, respectively.
1998-09-16 08:37:40 +00:00
Doug Rabson
98ffb0c4f2
Some workarounds for a common DEC pci-pci bridge found on alphas.
...
Fix printf format errors which show up on the alpha.
1998-09-16 08:28:11 +00:00
Doug Rabson
88f92aec2c
Port de driver to alpha.
1998-09-16 08:27:07 +00:00
Doug Rabson
6e4fb91578
Document BUS_CREATE_INTR and BUS_CONNECT_INTR.
1998-09-16 08:25:56 +00:00
Doug Rabson
7f323059fa
Workaround some EB164 wierdness.
...
Obtained from: NetBSD
1998-09-16 08:24:30 +00:00
Doug Rabson
f9f51c39c3
Disable unwanted isa interrupts.
1998-09-16 08:23:51 +00:00
Doug Rabson
129957363e
Add cam spls.
1998-09-16 08:23:21 +00:00
Doug Rabson
75275c7630
Port i386 bus_space and bus_dma to alpha.
1998-09-16 08:22:57 +00:00
Doug Rabson
657d6e769c
Change to cam.
1998-09-16 08:22:09 +00:00
Doug Rabson
bbe7f35658
Add cam software interrupts.
1998-09-16 08:21:12 +00:00
Doug Rabson
3bb8652fa7
Port the i386 bus_dma implementation to alpha.
1998-09-16 08:20:45 +00:00
KATO Takenori
c87ddee143
Sync with sys/i386/isa/fd.c revision 1.123.
1998-09-16 08:08:38 +00:00
KATO Takenori
6b47fe275c
Sync with sys/i386/conf/Makefile.i386 revision 1.123.
1998-09-16 08:04:40 +00:00
Greg Lehey
e4381fa521
Import base vinum lkm sources
1998-09-16 05:56:21 +00:00
Justin T. Gibbs
6954e80f7b
Fix printf format bugs.
1998-09-16 03:27:12 +00:00
Matt Jacob
cde5024e09
Fix compile warnings.
1998-09-16 03:26:10 +00:00