| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
setting for the sysctl is OFF, which is the historical operation.
Submitted by: dillon
|
|
|
|
| |
Submitted by: BDE
|
|
|
|
| |
timo_handle -> timeout_handle, p -> pipe, *pipe -> *rpipe, etc.)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
macros) to the signal handler, for old-style BSD signal handlers as
the second (int) argument, for SA_SIGINFO signal handlers as
siginfo_t->si_code. This is source-compatible with Solaris, except
that we have no <siginfo.h> (which isn't even mentioned in POSIX
1003.1b).
An rather complete example program is at
http://www3.cons.org/cracauer/freebsd-signal.c
This will be added to the regression tests in src/.
This commit also adds code to disable the (hardware) FPU from
userconfig, so that you can use a software FP emulator on a machine
that has hardware floating point. See LINT.
|
|
|
|
|
| |
think it's ok. ti_bhandle is fetched from newbus on both the Alpha
and x86, the Alpha-only ti_vhandle is gone.
|
|
|
|
| |
sk_stop().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ethernet controllers based on the AIC-6915 "Starfire" controller chip.
There are single port, dual port and quad port cards, plus one 100baseFX
card. All are 64-bit PCI devices, except one single port model.
The Starfire would be a very nice chip were it not for the fact that
receive buffers have to be longword aligned. This requires buffer
copying in order to achieve proper payload alignment on the alpha.
Payload alignment is enforced on both the alpha and x86 platforms.
The Starfire has several different DMA descriptor formats and transfer
mechanisms. This driver uses frame descriptors for transmission which
can address up to 14 packet fragments, and a single fragment descriptor
for receive. It also uses the producer/consumer model and completion
queues for both transmit and receive. The transmit ring has 128
descriptors and the receive ring has 256.
This driver supports both FreeBSD/i386 and FreeBSD/alpha, and uses newbus
so that it can be compiled as a loadable kernel module. Support for BPF
and hardware multicast filtering is included.
|
|
|
|
|
|
|
|
|
|
| |
Translated from: a similar fix in ufs_readwrite.c rev.1.61.
Don't forget to set DE_ACCESS for short reads.
Check for invalid (negative) offsets before checking for reads of
0 bytes, as in ufs, although checking for invalid offsets at all
is probably a bug.
|
|
|
|
|
|
| |
Translated from: similar fixes in ufs_readwrite.c rev.1.61. Things
are simpler (but annoyingly different) here because there are no
vm optimisations.
|
|
|
|
|
|
|
|
|
|
| |
Set IN_ACCESS for successful reads of 0 bytes (except for requests to
read 0 bytes). This was broken in rev.1.42.
PR: misc/10148
Don't set IN_ACCESS for requests to read 0 bytes.
Don't set IN_ACCESS for unsuccessful reads.
|
|
|
|
|
| |
Reviewed by: HAMADA Naoki <nao@tom-yam.or.jp>
Submitted by: Osamu MIHARA <mihara@prd.fc.nec.co.jp>
|
|
|
|
| |
large systems.
|
|
|
|
| |
modules Makefile so they get built.
|
| |
|
| |
|
|
|
|
|
| |
PR: kern/12631
Submitted by: Takanori Watanabe <takawata@shidahara1.planet.sci.kobe-u.ac.jp>
|
|
|
|
|
| |
Submitted by : Lars Koeller <lkoeller@cc.fh-lippe.de>
PR : 12772
|
|
|
|
|
|
| |
- Add D_TTY for alpha.
Reviewed by: bde, dfr
|
|
|
|
| |
Reviewed by: dfr
|
|
|
|
|
|
| |
behavior of their userland counterparts with respect to return values.
Submitted by: Matthew N. Dodd <winter@jurai.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change "void *" to "volatile TYPE *", improving type safety
and eliminating some warnings (e.g., mp_machdep.c rev 1.106).
cpufunc.h:
Eliminate setbits. As defined, it's not precisely correct;
and it's redundant. (Use atomic_set_int instead.)
ipl_funcs.c:
Use atomic_set_int instead of setbits.
systm.h:
Include atomic.h.
Reviewed by: bde
|
|
|
|
|
|
|
|
|
|
| |
the loop and not set an error, so we would then try to access an invalid
mbuf...
PR: 12780
Submitted by: bright@rush.net aka zb^3
a new record in length a pr was open... only about a half hour...
|
|
|
|
|
|
|
|
|
|
|
| |
critical mbuf fields to sane values. Simplify the use of ETHER_ALIGN to
enforce payload alignment, and turn it on on the x86 as well as alpha
since it helps with NFS which wants the payload to be longword aligned
even though the hardware doesn't require it.
This fixes a problem with the ti driver causing an unaligned access trap
on the Alpha due to m_adj() sometimes not setting the alignment correctly
because of incomplete mbuf initialization.
|
|
|
|
|
| |
proper place in ti_attach(). I'm positive I typed them in there, but
they must have fallen victim to a drive-by cut & pasting.
|
|
|
|
|
|
| |
the driver_t declaration should be "skc" not "sk". Technically, "skc"
is the parent PCI device (the SysKonnect GEnesis controller) and "sk0"
and "sk1" are the network interfaces that get attached to it.
|
|
|
|
| |
them to the Makefile so that modules will be generated for /modules.
|
|
|
|
|
|
| |
files. Change them back to alpha_XXX_dmamap().
Pointed out by: Andrew Gallatin
|
|
|
|
| |
to the latest firmware release from Alteon (12.3.12).
|
|
|
|
| |
of failures in foo_attach(), simplify iospace/memspace things a little.
|
|
|
|
| |
The complexity added isn't worth it.
|
|
|
|
|
| |
clone after all. I have the datasheets for this part; hopefully I can
write a proper driver soon.
|
|
|
|
|
|
| |
accidentally replaced PAGE_MASK with PAGE_SIZE.
(PAGE_MASK is PAGE_SIZE - 1)
bug does not manifest itself on our hardware.....
|
|
|
|
|
|
|
|
|
| |
been booted works too -- very neat. However I don't want the system to
stop for 5 seconds when the MII autoprobe is triggered in the xl and
tl drivers since that's lame. Instead, only use the hard delay when
we've been cold booted. If not, use the timeout mechanism instead.
(The SysKonnect driver doesn't use the same autonegotiation scheme, so
no change is required there.)
|
|
|
|
| |
tl_stats_update().
|
|
|
|
| |
SYS_RES_MEMOTY in sk_detatch().
|
|
|
|
|
| |
PR: 12663
Submitted by: Adam Wight <adamw@holonet.net>
|
|
|
|
|
|
|
|
|
| |
the device numbers are now minor number only, so that we can still
compare them after dev_t has turned into a blob.
Broken-by: dev_t changes
Reported-by: Vallo Kallaste <vallo@matti.ee>
"Niels Chr. Bank-Pedersen" <ncbp@bank-pedersen.dk>
|
|
|
|
|
| |
by one: PQ_PRIME2 and PQ_PRIME3 are used to accomplish the same
thing at different places in the kernel. Drop PQ_PRIME3.
|
| |
|
|
|
|
|
| |
in xl_attach() (not a problem if the attach never fails, but if it does
the function would still return 0, which is wrong).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When creating new processes (or performing exec), the new page
directory is initialized too early. The kernel might grow before
p_vmspace is initialized for the new process. Since pmap_growkernel
doesn't yet know about the new page directory, it isn't updated, and
subsequent use causes a failure.
The fix is (1) to clear p_vmspace early, to stop pmap_growkernel
from stomping on memory, and (2) to defer part of the initialization
of new page directories until p_vmspace is initialized.
PR: kern/12378
Submitted by: tegge
Reviewed by: dfr
|
|
|
|
|
|
|
| |
- In isa_dmastart() and isa_dmadone(), cache flush.
- Correct current word register address.
Submitted by (partial): Toshikazu Kaho <kaho@elam.kais.kyoto-u.ac.jp>
|
| |
|
|
|
|
|
|
|
|
| |
by removing a floppy that as being operated on.
The spagghetti is hardly understandable at all anymore, so i can't
100 % ascertain this is really the Right Thing to do, maybe our new
floppy driver maintainer, Jesus Monroy Jr can do this. :-))
|
| |
|
|
|
|
|
|
|
| |
numbers that we have been doing in the past, and read /etc/fstab off the
proposed root filesystem to determine the actual device name and vfs
type for the root filesystem. These are then exported to the kernel
via the environment variable vfs.root.mountfrom.
|
|
|
|
|
|
| |
Also includes a workaround fro an apparent chip bug
where UDMA mode 2 can overpower the UDMA engine enough that it will
hog the PCI bus to the exclusion of the processor.
|
| |
|