Age | Commit message (Collapse) | Author |
|
There are cases where the interface can be up but not running, for
instance if the driver's if_init routine fails halfway for whatever
reason (firmware file not found, hardware switch turned off etc...)
This is because in sys/net/if.c, the returned code of the driver
is ignored for SIOCSIFFLAGS and the IFF_UP flags is left set.
netintro(4) does not say anything about values returned by
SIOCSIFFLAGS, so I don't know whether it is the expected behavior
or not.
pointed out by halex@ and jacekm@ who noticed it was possible to
trigger a scan on wpi(4) even when the hardware switch was turned off.
|
|
it had to be fucking different. This has been irritating me.
|
|
|
|
good estimate at the required byte swapping, bit of help from drahn
ok pirofti mlarkin
|
|
aperture, which will take your memory, bind it to agp, and return you the
aperture address. It's essentially the same as iommu on amd64 in the way it
works.
This will be used by the upcoming (works but is slow and will not be
enabled at first) drm memory management code for intel igp chipsets.
Right now the sync function for intagp is really slow (doing a wbinvd()
on every sync), this is in the process of getting fixed, but the size of
the diffs in my trees was getting silly.
|
|
now this builds
|
|
|
|
|
|
information in files.conf like it should be.
|
|
|
|
shitz.
Code mostly from netbsd with some tweaks from me. The loaning case is
specifcically if 0ed out right now because we do not do loaning.
ok ariane@, art@.
|
|
|
|
|
|
make it consistent with other drivers. No functional change. From Brad.
|
|
"get it in" thib@
|
|
|
|
Tested on multiple i386 and it works, amd64 works also with a few
exceptions that will get fixed.
The initial effort of importing was done by oga@, thanks!
Lots of testing and debugging by mlarkin@ and me.
Okay deraadt@, oga@, mlarkin@.
|
|
|
|
that wasn't needed.
ok pirofti@
|
|
(Allows time to flow forward after resume)
ok pirofti@
|
|
ariane's new allocator gave iwi dirty memory, and made a real bug fall out.
The kva was being stored in a structure hidden by a cast, but passing the
"structure" corrupts subsequent arguments to bus_dmamap_load().
group effort with ariane, kettenis, and oga.
|
|
|
|
check for a non-NULL configuration descriptor before dereferencing.
ok deraadt@
|
|
|
|
ok thib@
|
|
the ICH7 chipset. Untested, but can't break anything that already
works. From Brad; ok sthen@
|
|
|
|
|
|
|
|
|
|
|
|
ok millert
|
|
but even with proposed fixes, the reaper panics are back.
|
|
|
|
|
|
|
|
should be impossible given the multi-order delta logic
ok deraadt@
|
|
and make textual tweaks to .c files to keep them compiling. From
NetBSD.
No changes to .o's at this point.
|
|
X driver for this chip doesn't know how to clean up after itself.
|
|
This commit won't change the default behaviour of the system unless the
buffer cache size is increased with sysctl kern.bufcachepercent. By default
our buffer cache is 10% of memory, which with this commit is now treated
as a low water mark. If the buffer cache size is increased, the new size
is treated as a high water mark and the buffer cache is permitted to grow
to that percentage of memory.
If the page daemon is invoked, the page daemon will ask the buffer cache
to relenquish pages. if the buffer cache has more than the low water mark it
will relenquish pages allowing them to be consumed by uvm. after a short
period the buffer cache will attempt to re-grow back to the high water mark.
This permits the use of a large buffer cache without penalizing the available
memory for other purposes.
Above the low water mark the buffer cache remains entirely subservient to
the page daemon, so if uvm requires pages, the buffer cache will abandon
them.
ok art@ thib@ oga@
|
|
OK miod
|
|
Diff from FreeBSD.
OK blambert@
|
|
Makes non-IPv6 kernels build again
blame and ok henning@
|
|
|
|
|
|
still do the right thing if the MBR has a lie in it
|
|
|
|
alternate routing table and separate them from other interfaces in distinct
routing tables. The same network can now be used in any doamin at the same
time without causing conflicts.
This diff is mostly mechanical and adds the necessary rdomain checks accross
net and netinet. L2 and IPv4 are mostly covered still missing pf and IPv6.
input and tested by jsg@, phessler@ and reyk@. "put it in" deraadt@
|
|
properly. Now i386 and amd64 implementations match.
ok art
|
|
- clean up the softc a bit
- remove unused SET_CHANNEL
- init set sens
|