| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
think it's ok. ti_bhandle is fetched from newbus on both the Alpha
and x86, the Alpha-only ti_vhandle is gone.
Notes:
svn path=/head/; revision=49078
|
|
|
|
|
|
|
| |
sk_stop().
Notes:
svn path=/head/; revision=49077
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=49076
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=49075
|
|
|
|
|
|
|
|
|
| |
Translated from: similar fixes in ufs_readwrite.c rev.1.61. Things
are simpler (but annoyingly different) here because there are no
vm optimisations.
Notes:
svn path=/head/; revision=49074
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=49073
|
|
|
|
|
|
|
|
| |
Reviewed by: HAMADA Naoki <nao@tom-yam.or.jp>
Submitted by: Osamu MIHARA <mihara@prd.fc.nec.co.jp>
Notes:
svn path=/head/; revision=49070
|
|
|
|
|
|
|
| |
large systems.
Notes:
svn path=/head/; revision=49068
|
|
|
|
|
|
|
| |
modules Makefile so they get built.
Notes:
svn path=/head/; revision=49067
|
|
|
|
| |
Notes:
svn path=/head/; revision=49066
|
|
|
|
| |
Notes:
svn path=/head/; revision=49065
|
|
|
|
|
|
|
|
| |
PR: kern/12631
Submitted by: Takanori Watanabe <takawata@shidahara1.planet.sci.kobe-u.ac.jp>
Notes:
svn path=/head/; revision=49064
|
|
|
|
|
|
|
|
| |
Submitted by : Lars Koeller <lkoeller@cc.fh-lippe.de>
PR : 12772
Notes:
svn path=/head/; revision=49060
|
|
|
|
|
|
|
|
|
| |
- Add D_TTY for alpha.
Reviewed by: bde, dfr
Notes:
svn path=/head/; revision=49049
|
|
|
|
|
|
|
| |
Reviewed by: dfr
Notes:
svn path=/head/; revision=49048
|
|
|
|
|
|
|
|
|
| |
behavior of their userland counterparts with respect to return values.
Submitted by: Matthew N. Dodd <winter@jurai.net>
Notes:
svn path=/head/; revision=49047
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=49043
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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...
Notes:
svn path=/head/; revision=49038
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=49036
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=49035
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=49017
|
|
|
|
|
|
|
| |
them to the Makefile so that modules will be generated for /modules.
Notes:
svn path=/head/; revision=49016
|
|
|
|
|
|
|
|
|
| |
files. Change them back to alpha_XXX_dmamap().
Pointed out by: Andrew Gallatin
Notes:
svn path=/head/; revision=49012
|
|
|
|
|
|
|
| |
to the latest firmware release from Alteon (12.3.12).
Notes:
svn path=/head/; revision=49011
|
|
|
|
|
|
|
| |
of failures in foo_attach(), simplify iospace/memspace things a little.
Notes:
svn path=/head/; revision=49010
|
|
|
|
|
|
|
| |
The complexity added isn't worth it.
Notes:
svn path=/head/; revision=49003
|
|
|
|
|
|
|
|
| |
clone after all. I have the datasheets for this part; hopefully I can
write a proper driver soon.
Notes:
svn path=/head/; revision=49001
|
|
|
|
|
|
|
|
|
| |
accidentally replaced PAGE_MASK with PAGE_SIZE.
(PAGE_MASK is PAGE_SIZE - 1)
bug does not manifest itself on our hardware.....
Notes:
svn path=/head/; revision=49000
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.)
Notes:
svn path=/head/; revision=48999
|
|
|
|
|
|
|
| |
tl_stats_update().
Notes:
svn path=/head/; revision=48992
|
|
|
|
|
|
|
| |
SYS_RES_MEMOTY in sk_detatch().
Notes:
svn path=/head/; revision=48987
|
|
|
|
|
|
|
|
| |
PR: 12663
Submitted by: Adam Wight <adamw@holonet.net>
Notes:
svn path=/head/; revision=48984
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
Notes:
svn path=/head/; revision=48975
|
|
|
|
|
|
|
|
| |
by one: PQ_PRIME2 and PQ_PRIME3 are used to accomplish the same
thing at different places in the kernel. Drop PQ_PRIME3.
Notes:
svn path=/head/; revision=48974
|
|
|
|
| |
Notes:
svn path=/head/; revision=48973
|
|
|
|
|
|
|
|
| |
in xl_attach() (not a problem if the attach never fails, but if it does
the function would still return 0, which is wrong).
Notes:
svn path=/head/; revision=48972
|
|
|
|
| |
Notes:
svn path=/head/; revision=48969
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=48963
|
|
|
|
|
|
|
|
|
|
| |
- 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>
Notes:
svn path=/head/; revision=48961
|
|
|
|
| |
Notes:
svn path=/head/; revision=48960
|
|
|
|
|
|
|
|
|
|
|
| |
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. :-))
Notes:
svn path=/head/; revision=48959
|
|
|
|
| |
Notes:
svn path=/head/; revision=48955
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=48952
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=48950
|
|
|
|
| |
Notes:
svn path=/head/; revision=48949
|
|
|
|
|
|
|
|
|
|
| |
working, broken, working) and savecore (working, working, broken, working,
working).
Sorta Reviewed by: phk
Notes:
svn path=/head/; revision=48948
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
into a loadable module, and all of the platform dependencies are gone
(except for the alpha_XXX_dmamap() thing, which is another issue -- I
still don't know how to use the busdma stuff with a network driver).
Also increase the delay in xl_reset(); testing on a 486/66 with a 3c905C
shows that reading the EEPROM fails immediately after a reset. Waiting
a little longer after the reset completes seems to fix it.
Notes:
svn path=/head/; revision=48947
|
|
|
|
|
|
|
|
|
|
| |
also gets the device by st_rdev, which is alright except for the fact that
the sysctl kern.dumpdev passed out a char device. This is a workaround.
Sorry for not committing the fix earlier, before people started having
problems.
Notes:
svn path=/head/; revision=48944
|
|
|
|
|
|
|
|
|
| |
The structure is the right length, but some of the members (notably
wi_q_info) were off a bit. This causes the received signal strength
values to appear bogus.
Notes:
svn path=/head/; revision=48940
|
|
|
|
|
|
|
| |
wbinvd already flushes the the TLB."
Notes:
svn path=/head/; revision=48937
|