Age | Commit message (Collapse) | Author |
|
"Commitski!" miod@
|
|
|
|
code. This fixes in6_ifloop_request warnings seen on carp interfaces.
OK henning@, found and tested by david@
|
|
|
|
can use them later for stuff like VIDIOC_S_FMT (e.g. set custom
resolution).
|
|
upcoming changes and sort list.
|
|
ok dlg
|
|
|
|
boot bsd.rd -a and want to mount the ramdisk later on.
ok otto@ krw@ millert@
|
|
assumes that the display device and the agp bridge are the same device.
In almost all cases this is incorrect.
In order to correctly enable the agp device with the correct mode, we
need to set the AGP_COMMAND register on both the display and the bridge
with the right bits. Since agp is currently attaching at vga(4), due to
the problems with the intel integrated graphics (a problem that I still
need to solve, to be honest), for now just provide both pci_attach_args
to the agp init, and get what we need from there to do the enable.
This fixes the "agp bug" which i have been known to rant about, a lot.
So agp radeons now work with dri without needing to be forced to pci
mode.
This wasn't detected before, since the only non-drm consumer of agp is
the intel X driver, the i810 agp driver has its own enable function.
tested by many. ok kettenis@.
|
|
|
|
help & ok jsg@
|
|
|
|
MULTIPROCESSOR kernels. We map 'struct cpuinfo' at the same virtual
address on every processor, but since threads on the same core share
an MMU this doesn't quite work. With the hack we are at least able to
use the other core (and any additional processors).
|
|
|
|
|
|
|
|
|
|
|
|
will be 0. Check SFSR too, before deciding there's no fault.
|
|
use them in cpu_myid().
|
|
|
|
|
|
JMP211 GigE PHY.
From FreeBSD
|
|
ok dlg@
|
|
explicitly set the duplex flag instead of returning right away.
ok dlg@
|
|
for 100baseT4. The dcphy(4) driver could inadvertently display
100baseT4 for the media type for PHY not actually capable of
100baseT4.
From FreeBSD
ok dlg@
|
|
|
|
a core(4) device, representing these cores and attach cpu(4) devices to it
for each thread.
|
|
in something other than clock ticks. From art@'s punchlist and (for
the time being) not yet used.
"you're doing it wrong" art@,ray@,otto@,tedu@
ok art@
|
|
ok art@
|
|
|
|
|
|
|
|
was an extremely small chance that random stack garbage coudl be used which
could corrupt a dmamap.
this is the same as the change made to amd64 in
src/sys/arch/amd64/amd64/bus_dma.c r1.10.
ok miod@ kettenis@
|
|
|
|
|
|
adjust the mbuf before loading it, with bus_dmamap_load_mbuf(),
that way we dont have to fiddle with ds_addr;
ok dlg@
|
|
when usb_lookup is used. If a device indeed has 0 as vendor and product
ID, like the HP DL165 BMC Server Engines SE USB Device, a wrong driver
will attach and the machine will most pbly crash.
Problem reported Rivo Nurges <rix@estpak.ee>
cvs: ----------------------------------------------------------------------
|
|
|
|
UltraSPARC I/II has a 41-bit physical address space, UltraSPARC III/IV has a
43-bit physical address space. The Fujitsu SPARC64-VI extends this to 46 bits.
Adjust the TTE masks to take this into account and adjust some locore code
that truncated physical addresses to 41 bits (fixing a potential bug for
UltraSPARC III/IV too).
While there, fix the locore code for UltraSPARC Architecture 2007 CPUs, which
may support up to 56 bits of physical address space.
|
|
|
|
|
|
lists; prevents use of ports corresponding to well-known services.
replace a couple of arc4random()%N with arc4random_uniform(N) that
missed the first round.
ok mcbride@
|
|
state key is freed by pf_state_key_attach(). But in the case of NAT,
there are two state keys allocated, so we must free the second key
manually. Fixes a pf_state_key_pl leak seen in certain cases with
pfsync or with pf state-insert errors.
ok mcbride@ henning@
|
|
interface switching, which kind of crashed the device.
|
|
|
|
bus_space_{read,write}(). A bug in the code this was based on means that
this is also used for scatter gather maps, which are bus_dma memory, not
pci memory. This obviously fails. Pull them out into a function and
Special case scatter gather to use the mapped virtual address to write
instead. Makes writeback test pass on pci and pci express radeon cards.
Tested by, among others ckuethe@ and sthen@.
|
|
three bits are for the current agp rate. not the lowest two. Otherwise we
preclude agp 4x mode.
It's a bit different for agp 3.0, but we don't have the bits for that yet.
Tested by several as part of a larger diff.
|
|
skipping bitmasks to cover the entire 65536 port space - previously
they covered 512-1024 only.
sysctl needs to be updated to cope with this change; please
"make includes" before rebuilding it.
feedback millert@ ok millert@ deraadt@ markus@
|