Age | Commit message (Collapse) | Author |
|
Still work in progress, but the interrupt routine can be enabled now.
I tried to match the structure of the other drivers as close as possible:
- add octhci_intr1() routine
- modify octhci_intr() to call octhci_intr1()
- schedule the actual work for the soft interrupt
- add octhci_root_intr_{transfer,start,abort} routines
- fill in the octhci_poll() routine
- use the same style for return directives
dmesg progress:
octhci0 at iobus0 irq 56: core version 2 pass 3.5
usb0 at octhci0: USB revision 2.0
uhub0 at usb0 " octHCI root hub" rev 2.00/1.00 addr 1
|
|
accept rtadvs on that interface. the global net.inet6.ip6.accept_rtadv
sysctl just doesn't cut it, even tho the spec wants that - but in their
little absurd world, a host just has one interface by definition anyway...
the sysctlgoes away.
lots of head scratching, brain cell elemination etc from bluhm benno stsp
florian, excitement from simon and todd, ok bluhm stsp benno florian
|
|
We return earlier if the interrupt is masked.
Discussed with and okay mpi@
|
|
on the 2nd of February 2011 in NetBSD.
http://marc.info/?l=netbsd-source-changes&m=129658899212732&w=2
http://marc.info/?l=netbsd-source-changes&m=129659095515558&w=2
http://marc.info/?l=netbsd-source-changes&m=129659157916514&w=2
http://marc.info/?l=netbsd-source-changes&m=129665962324372&w=2
http://marc.info/?l=netbsd-source-changes&m=129666033625342&w=2
http://marc.info/?l=netbsd-source-changes&m=129666052825545&w=2
http://marc.info/?l=netbsd-source-changes&m=129666922906480&w=2
http://marc.info/?l=netbsd-source-changes&m=129667725518082&w=2
|
|
pipex_session_req.
|
|
|
|
ok pelikan@
|
|
|
|
require the caller to do so. lteo needs that for divert soon, and is in line
with tcp/udp and the general approach that the rest of the stack should not
need to do anything regarding the cksums but setting the "needs it" flag.
ok lteo
|
|
ok guenther
|
|
can delete 2 dozen or so lines that check to see if we've queued
up a prefix addition multiple times.
ok stsp@
|
|
|
|
Now, for kernel to "reboot" (reboot, halt, or shutdown), MD boot(9) is called
in some places. This change introduces a new MI function reboot(9) which is
simply a wrapper to call MD boot(9).
OK kettenis@ deraadt@
|
|
and specifyig the wrong DWORD count. Moreover we should not evaluate _PDC
if _OSC is present. Might not be perfect yet, but what we had previously
was uterrly and totally wrong.
ok guenther@
|
|
ok guenther
|
|
state to the socket pcb. Add an additional assert to narrow down
the panics.
OK henning@
|
|
this let it wanter off writing segment descriptors off in memory
it didnt own, which led to some pretty awesome memory corruption.
if you had a network card with a small number of tx descriptors per
packet, a lot of memory, and a heavily fragmented packet (ie, ssh)
you were basically guaranteed a confusing panic.
ok miod@
|
|
|
|
just remove the comment and unneeded functionality which has been "#ifdef notused"
for the past 13 years.
OK uebayasi@
|
|
ok henning@ stu@, Yay! weerd@
|
|
|
|
this happening.
ok kettenis@, deraadt@
|
|
The new CPU_BUSY_CYCLE() may be put in a busy loop body so that CPU can reduce
power consumption, as Linux's cpu_relax() and FreeBSD's cpu_spinwait(). To
start minimally, use PAUSE on i386/amd64 and empty on others. The name is
chosen following the existing cpu_idle_*() functions. Naming and API may be
polished later.
OK kettenis@
|
|
bpf listeners on a vlan interface don't expect to see a vlan header (you
expect those on the underlaying if). since we no longer prepend an ethernet
header to later throw it away and prepend an ether_vlan_header, we prepend
a ether_vlan_header right away. to unconfuse bpf listeners we need to cut
the 4 extra bytes out, which is what bpf_mtap_stripvlan does.
problem noticed by dlg with dhcrelay, ok benno dlg
|
|
zaurus's boot(9) is the only boot(9) which doesn't call if_downall(). Include
sys/socket.h + net/if.h and call it.
OK miod@
|
|
not sleep if the allocator cannot obtain a lock when BUS_DMA_NOWAIT is
specified.
idea and inputs from kettenis@, ok miod@
|
|
should be, in bytes.
currently uses SENSOR_INTEGER as sensor type, this may change in the future in
favor of a new sensor type.
ok sf@
|
|
|
|
whitespaces while here.
|
|
atomic_setbits_int()
ok kettenis@
|
|
testing stsp@
ok stsp@, dlg@
|
|
Remember initprocess instead of initproc.
ok matthew@ blambert@
|
|
ok guenther
|
|
enough kernel .S pull this in and cannot handle that (yet)
ok uebayasi
|
|
Inconsistency noted by blambert@, ok deraadt@
|
|
Includes a stand-alone addr2line clone for userspace testing.
Tested extensively on amd64 and expected to eventually support other
architectures too. Importing now so further development/testing can
happen in-tree. Followup commits will add to the kernel build and
integrate into ddb.
positive feedback; no objections
|
|
size (kern.bufcachepercent) on resume, for better hibernate performance.
ok beck@
|
|
ok deraadt
|
|
ok pirofti@
|
|
rebooting a machine, like it is done in the hibernate case.
At least some USB host controller drivers rely on this to busy way instead
of sleeping. Avoid a panic on macppc with an uhci(4) cardbus plugged in.
ok deraadt@, uebayashi@
|
|
explore thread will not disconnect the root hub. The flag will be
set before detaching the children, like it is done during a suspend-
resume cycle.
Fix a panic when unplugging a cardbus *hci(4).
|
|
|
|
Again remove slightly different comments to reduce diffs. These will be
re-added once boot() become MI and its specification is clearly re-defined.
OK miod@
|
|
|
|
While here, change malloc(9)'s size argument from "unsigned long" to
"size_t".
ok tedu
|
|
DVACT_POWERDOWN is propagated in this subtree, there is no need for
this shutdown hook anymore. RIP.
ok kettenis@
|
|
ok miod
|
|
|
|
make ifconfig show whether a wireless network uses WEP or WPA.
Since struct ieee80211_nodereq grows in size old ifconfig won't be
able to scan when running on a new kernel.
While here, add missing ioctl constant IEEE80211_WPA_CIPHER_BIP.
ok jsg@
|
|
|