| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
soreceive(). Closes PR#2114.
Submitted by: wpaul
Notes:
svn path=/head/; revision=20030
|
|
|
|
|
|
|
|
|
|
|
|
| |
succeeds. Writing an action now succeeds iff the handler isn't changed.
(POSIX allows attempts to change the handler to be ignored or cause an
error. Changing other parts of the action is allowed (except attempts
to mask unmaskable signals are silently ignored as usual).)
Found by: NIST-PCTS
Notes:
svn path=/head/; revision=20028
|
|
|
|
|
|
|
| |
Found by: NIST-PCTS
Notes:
svn path=/head/; revision=20027
|
|
|
|
|
|
|
|
|
| |
registers.) Also clean up some namespace pollution, and remove
gcc-1 support (nothing really works with it anymore anyway.)
Submitted by: Bruce Evans <bde@freebsd.org> and me.
Notes:
svn path=/head/; revision=20026
|
|
|
|
|
|
|
|
|
| |
calling them (as well as after).
Found by: NIST PCTS
Notes:
svn path=/head/; revision=20025
|
|
|
|
|
|
|
|
|
|
| |
writes and tty ioctls by processes in such groups must return
-1/EIO, but they were allowed. tty reads were handled correctly.
Found by: NIST PCTS
Notes:
svn path=/head/; revision=20024
|
|
|
|
|
|
|
|
|
|
|
|
| |
the queues and generate a SIGINT. Previously, this wasn't done if ISIG
was clear or the VINTR character was disabled, and it was done by
converting the BREAK to a VINTR character and sometimes bogusly echoing
this character.
Found by: NIST-PCTS
Notes:
svn path=/head/; revision=20021
|
|
|
|
|
|
|
|
|
| |
anything special unless IEXTEN is set.
Found by: NIST-PCTS
Notes:
svn path=/head/; revision=20020
|
|
|
|
|
|
|
|
| |
to the 1990 version according to NIST-PCTS. Many man pages still refer to
the 1988 version.
Notes:
svn path=/head/; revision=20019
|
|
|
|
|
|
|
|
|
|
| |
consistent stack frame in fastmove() so that only one new fault handler
is necessary.
Should be in 2.2. Harmless until the i586 versions are reenabled.
Notes:
svn path=/head/; revision=20018
|
|
|
|
|
|
|
| |
zero because no drivers have had a chance to change it.
Notes:
svn path=/head/; revision=20017
|
|
|
|
|
|
|
|
|
| |
the `sigcantmask' macro to get the correct set of unmaskable signals.
Found by: NIST-PCTS.
Notes:
svn path=/head/; revision=20016
|
|
|
|
|
|
|
|
| |
did not actually use the correct name either :-).
Submitted-By: Toyonori Fujiura <toyo@exiv.pearnet.org>
Notes:
svn path=/head/; revision=20014
|
|
|
|
|
|
|
| |
I added the suggestion to remove the I386_CPU def if possible.
Notes:
svn path=/head/; revision=20011
|
|
|
|
|
|
|
|
|
| |
Per Wayne Scott of Intel, the old sequence took 20cycles!!! on a P6.
Another nice side-benefit is that the kernel is about 3K smaller!!!
Submitted by: Wayne Scott <wscott@ichips.intel.com>
Notes:
svn path=/head/; revision=20010
|
|
|
|
|
|
|
| |
de-inlining some VM calls. (Actually, I measured a small improvement.)
Notes:
svn path=/head/; revision=20007
|
|
|
|
| |
Notes:
svn path=/head/; revision=20004
|
|
|
|
|
|
|
|
| |
Reviewed by: phk
Submitted by: Luigi Rizzo <luidi@labinfo.iet.unipi.it>
Notes:
svn path=/head/; revision=20002
|
|
|
|
|
|
|
|
| |
Reviewed by: julian & phk
Submitted by: Andre Albsmeier <Andre.Albsmeier@mchp.siemens.de>
Notes:
svn path=/head/; revision=20001
|
|
|
|
|
|
|
|
|
|
|
| |
larger than the vfs layer can provide. We now automatically support
32K clusters if MSDOSFS is installed, and panic if a filesystem tries
to allocate a buffer larger than MAXBSIZE.
This commit is a result of some "prodding" by BDE.
Notes:
svn path=/head/; revision=19996
|
|
|
|
|
|
|
|
|
|
|
| |
larger than the vfs layer can provide. We now automatically support
32K clusters if MSDOSFS is installed, and panic if a filesystem tries
to allocate a buffer larger than MAXBSIZE.
This commit is a result of some "prodding" by BDE.
Notes:
svn path=/head/; revision=19995
|
|
|
|
| |
Notes:
svn path=/head/; revision=19993
|
|
|
|
| |
Notes:
svn path=/head/; revision=19991
|
|
|
|
| |
Notes:
svn path=/head/; revision=19990
|
|
|
|
| |
Notes:
svn path=/head/; revision=19969
|
|
|
|
|
|
|
|
|
|
| |
a stopgap measure, a more complete solution is on somebodys whiteboard
(and we all know that THAT means :-).
Reviewed by: pst
Notes:
svn path=/head/; revision=19957
|
|
|
|
|
|
|
| |
with sysctl.
Notes:
svn path=/head/; revision=19947
|
|
|
|
|
|
|
| |
that runs in the host's build environment, not the kernel's environment.
Notes:
svn path=/head/; revision=19946
|
|
|
|
|
|
|
|
|
|
| |
again.
Something needs to be done about this in 2.2, since the code there doesn't
even compile anymore since the syscons/kbdio/psm merge into 2.2.
Notes:
svn path=/head/; revision=19945
|
|
|
|
|
|
|
|
|
|
|
| |
The rest of the code was treating it as a header mbuf, but it was
allocated as a normal mbuf.
This fixes the panic: ip_output no HDR when you have a multicast
tunnel configured.
Notes:
svn path=/head/; revision=19940
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the keyboard IO port definitions from <machine/console.h>.
Note: I do not have a machine available to test this yet, I sent this
for review to several people who have not replied.
This is also totally busted in 2.2, which has half of the syscons/psm/kbdio
changes in it. This really desperately needs to be tested and fixed
in 2.2 as well.
Notes:
svn path=/head/; revision=19933
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SCBs in response to a busfree.
When re-queueing an SCB that returned with QUEUE FULL status, reset its timeout.
Ensure that aborted SCBs have an error code set in there xs before it gets
passed back up with scsi_done.
Fix a few KNF nits.
Notes:
svn path=/head/; revision=19923
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Immediate SCBs, since they always send messages that tell the target to
transition to bus free now rely on the busfree interrupt instead of the
IMMEDDONE sequencer interrupt that was generated before.
Rearrange some code in the message out loop to give ATN a little more time
to drop before we ACK the last byte.
Use SPIORDY instead of REQINIT when snooping for a tag message on a reconnect.
This is done for the same reasons we use SPIORDY in the inb functions.
When going into BITBUCKET mode, turn off HDMAEN in the DFCNTRL register so
that we can "not care" what the value of HCNT is. If HCNT is 0, BITBUCKET
mode won't transfer any data if HDMAEN is set. Seeing as we don't want the
transfer to even think about touching the host, this seems more sane anyway.
Thanks to "Dan Willis" <dan@plutotech.com> for pointing out that this was
a problem.
Notes:
svn path=/head/; revision=19921
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
uses /usr/include/sys/*, which may point to a different build tree. I'm
not sure that this is necessary, but there was a question mark over what
/usr/include/sys points to when building the "user mode" binaries in the
kernel code, especially when building the smp tree.
I suspect that the "right" line here is to use ${INCLUDES}, but that
causes warnings about unused static inline functions in stdio.h and ctype.h
Notes:
svn path=/head/; revision=19918
|
|
|
|
|
|
|
| |
Submitted by: "Jon Morgan" <morgan@terminus.trailblazer.com>
Notes:
svn path=/head/; revision=19915
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
also fixes a bug I've been chasing for a LONG TIME,
due to the fact that spec_bwrite is a NOP and I didn't realise it..
old symptom:
mount -t devfs devfs /mnt
mount /mnt/wd0e /mnt/mnt2
umount /mnt2 <process hangs>
there are some pretty large structural differences internal to devfs
but outwards it should look the same.
I have not yet tested extensively but will do so and fix 3 warnings tomorrow.
Notes:
svn path=/head/; revision=19909
|
|
|
|
|
|
|
| |
in its current form, will not work with these cards.
Notes:
svn path=/head/; revision=19907
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SPIORDY should go active on any REQ of the bus, so testing for REQINIT is
not necessary. It also seems that testing for SPIORDY is more robust then
REQINIT since SPIORDY comes active after REQINIT and PHASEMIS seems to take
some time to come true after REQ is asserted if the phase has changed. Of
course, none of this is documented.
This should give the code savings of my original changes, without breaking the
driver on fast peripherals.
Notes:
svn path=/head/; revision=19906
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The 'getchar' function in syscons (sccngetc) is used by UserConfig to
get keyboard input from the user. When it was modified to use the
shared keyboard port routines it used the port passed in during the
probe routine. Since the probe routine was not yet called, the port was
set to 0, which is obviously not going to work.
Pre-initialize sc_port to IO_KBD which is really a kludge, but it's how
the previous driver did it's job.
Found by: remote GDB
Notes:
svn path=/head/; revision=19869
|
|
|
|
|
|
|
| |
address.
Notes:
svn path=/head/; revision=19846
|
|
|
|
| |
Notes:
svn path=/head/; revision=19845
|
|
|
|
|
|
|
|
| |
vm_kern by moving them from .bss to .data. With this change,
there is a measurable perf improvement in fork/exec.
Notes:
svn path=/head/; revision=19830
|
|
|
|
|
|
|
|
|
|
| |
substantially increasing buffer space. Specifically, we double
the number of buffers, but allocate only half the amount of memory
per buffer. Note that VDIR files aren't cached unless instantiated
in a buffer. This will significantly improve caching.
Notes:
svn path=/head/; revision=19828
|
|
|
|
| |
Notes:
svn path=/head/; revision=19807
|
|
|
|
| |
Notes:
svn path=/head/; revision=19806
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
do reset it from the QOUTCNT register inside a pause/unpause. This now happens
once per command complete interrupt in the paging case (one interrupt can be
for multiple completed commands). I may introduce a counter and do a lazy
update in the future, similar to what is done with the QINCNT.
Enhance the QUEUE FULL condition handling so that the number of openings will
be reduced. This has become more important now that the driver is faster.
This code really belongs in the gerneric SCSI layer, as will be the case once
3.0 gets the code from the 'SCSI' branch.
Add some #if 0'd out trace code I've been using to help debug sequencer
problems.
Fix the SCB paging problem that I was seeing. This was only on my 7850
controller and stems from the fact that its QINFIFO can only handle 3bit
SCB identifiers. This means that you can only have 8 transactions open at
a time with the current paging scheme to these controllers. The code added
to enforce this is generic in that it tests for the number of relevent bits
that the QINFIFO can store and adjusts the max accordingly. It may be possible
to come up with a scheme that allows for more than 8 commands at a time, but
I don't know that it is worth the effort simply to fix a low end card. The
aic7880 still can do 255.
This problem may be related to what Andrey was seeing since I don't have n
aic7770 rev E chip here to test on, but as soon as someone probes one of these
cards with this new code, the dmesg output will tell the whole story.
Notes:
svn path=/head/; revision=19805
|
|
|
|
|
|
|
|
|
|
| |
aic7xxx cards failing on certain motherboards, reverse the logic used to
control this feature. AHC_FORCE_PIO is replaced with AHC_ALLOW_MEMIO.
GENERIC no longer needs to specify the AHC_FORCE_PIO option since this is
the default.
Notes:
svn path=/head/; revision=19804
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
initial selection when entering the status phase. This is the same assertion
we use for all the other data transfer phases.
Hopefully fix the hangs in the mesgin and mesgout phases that I introduced
last week during some code cleanup. I need to get some of these 12MB/s
drives so I can reproduce these hangs here...
Add a pause disable in the SCB paging case around our manipulation of the
QOUTQCNT variable. This is simply extra sanity.
Set LASTPHASE to P_BUSFREE once we see a busfree so that the kernel driver can
differentiate this from a data out phase.
Notes:
svn path=/head/; revision=19803
|
|
|
|
|
|
|
|
|
|
| |
user supplies a bad address, because they push a lot of stuff that the
fault handler doesn't know about onto the stack. This has been broken
for more than half a year despite being tested for almost half a year
in -current.
Notes:
svn path=/head/; revision=19798
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
duplicate ip address 204.162.228.7! sent from ethernet address: 08:00:20:09:7b:1d
changed to
arp: 08:00:20:09:7b:1d is using my IP address 204.162.228.7!
and
arp info overwritten for 204.162.228.2 by 08:00:20:09:7b:1d
changed to
arp: 204.162.228.2 moved from 08:00:20:07:b6:a0 to 08:00:20:09:7b:1d
I think the new wordings are more clear and could save some support
questions.
Notes:
svn path=/head/; revision=19794
|