Age | Commit message (Collapse) | Author |
|
400 and 4300. Limited to PIO mode only for now, until the DMA controller is
tamed. Heavily based upon the MI aic(4) driver.
|
|
diskerr() messages by doing DL_SECTOBLK() dance repeatedly.
|
|
wdsize() return value.
|
|
variable and not (usually) an int.
ok miod@
|
|
ok patrick@
|
|
and u_int_t.
ok patrick@
|
|
No functional changes.
ok patrick@
|
|
the kernel from user land. Add a null pointer check as quick fix.
OK blambert@ claudio@
|
|
ioctls when I started vxlan, but replaced them later with own
ifr-based ioctls).
Found by mpi@
|
|
ok reyk@
|
|
ok jmc@
|
|
interface to not depend on the global list of addresses.
For IPv4 the IP_TO_IA() macro still depends on the global list of
addresses because we want to be sure to grab the first configured
address of an interface, where the records are linked.
Tested by sthen@, ok henning@
|
|
pipe to stop enquening the next transfer before the done() function
has been called.
This should fix the hangs seen when unplugging a USB keyboard attached
to uhci(4).
Problem reported by dcoppa@ and Peter Kane
|
|
something it isnt as magical as something i made up, right?
|
|
but running it from the mountroot hooks. this means the clock will be
attached and therefore better to compare the hypervisors clock against.
before we used to get ridiculous timedeltas, which if ntpd used to set the
time with on startup (ie, ntpd -s) would make us think we were in 2057 or
2104.
ok jmatthew@
|
|
introduced when the macppc pci code started parsing its device tree
to enumerate devices.
"ht" nodes do not have a "bus-range" property so we need to start
iterating on their PCI bridge nodes to find our devices.
|
|
|
|
bridge_tunnelupdate to a more generic name bridge_copyaddr.
No functional change.
|
|
running vxlan(4) with a lowered MTU of just 1450 bytes instead of
bumping the MTU of the transport interfaces to at least 1550 or
preferrably 1600 bytes.
|
|
interface. VXLAN is a UDP-based tunnelling protocol for overlaying
virtualized layer 2 networks over layer 3 networks. The implementation
is based on draft-mahalingam-dutt-dcops-vxlan-04 and has been tested
with other implementations in the wild.
put it in deraadt@
|
|
uses hfsc behind the scenes; altq stays in parallel for a migration phase.
if.h even more messy for the transition, but eventuelly it should become
readable...
looked over & tested by many, ok phessler sthen
|
|
looked over & tested by many, ok phessler sthen
|
|
behaves like before and creates the mapping if needed. if 0, lookup only.
looked over by many, ok phessler sthen
|
|
the new bandwidth shaping subsystem. looked over & tested by many,
ok phessler sthen
|
|
for older PROM will fail to load BCS binaries with only a .text section,
and will also fail to load an empty .data section.
Tested on AV4300.
|
|
An earlier version didn't seem to work on a machine bmercer@
had access to a few months ago but this seems to work
with the onboard Ethernet in an ASUS Z87 board RD Thrush has.
|
|
when events is set to POLLIN and POLLHUP when events is set to
POLLOUT. In the pty case we need to be careful to only treat the
pty as closed if carrier is on. This fixes a hang on close problem
seen with ssh and xterm.
|
|
ok bluhm@ mikeb@
|
|
tested by RD Thrush on Lynx Point
|
|
address of a controller only know by its SCM name and number, and the boot
device detection code will now attempt to match the controller first, and
then grandchildren of it (if the boot device is a disk or a tape).
|
|
to the kernel will now match the device the kernel is loaded from, not the
device the boot blocks are loaded from (this allows one to netboot the
boot blocks to boot a kernel from a local disk).
|
|
With some more work, it will allow us to speed-up ommmc driver.
ok patrick@.
|
|
https://github.com/bitrig/bitrig/commits/pedro_tmpfs_fixes
7efd381ac3:
# mkdir -p x/y
# mv x/y/. z (or mv x/y/.. z)
(panic)
264ecd2c7b:
# mknod x b 100 100 (can be any block/character device)
# ls -lR /
(panic)
7da08d22fd:
# mkfifo x (or mknod x)
# mv x y
(panic)
af0666c65a:
# mount -t tmpfs -o -n16 tmpfs /mnt (create tmpfs with 16 inodes limit)
# cd /mnt
# touch x
# for i in `jot 100 1 100`; do ln -s x $i; done (create 100 symlinks, =
they "succeed" even though they failed)
# ls -lart
7e9296a6f8:
# mkdir x
# touch x/y
# chflags uappnd x (or sappnd)
# rm x/y
936b9cf257:
# mkdir -p x/y
# rmdir x/y/..
(panic)
de541406ef:
# touch x
# ln x y
# stat -f %c x
# sleep 10
# rm y
# stat -f %c x
okay guenther@, krw@
|
|
Needs more work in order to cover all cases, but enough to get internal
disks on the first controller on models 4600 and 530 to get matched.
This makes the aviion port finally self-hosting on aforementioned models,
finally! Next step: bsd.rd...
|
|
|
|
cranking boot blocks version because it's unlikely anyone but me is running
them at the moment.
|
|
|
|
|
|
default kernel name if only a boot device is specified.
This makes boot paths like "sd()" auto-boot without asking for a kernel name.
|
|
SCSI tape support.
Drop sync negotiation from oosiop code, we can run without it.
|
|
ported from NetBSD.
Tested on hppa (720) and aviion (4600).
|
|
Only read the bus number from the "i2c-bus" child node if present,
this node exists only in some device-trees, otherwise use the bus
number encoded in the address of the device.
Fix an off-by-one when reading the data.
While here remove unused functions.
|
|
device-tree to restore the behaviour present before my last change.
This fixes a regression seen on some Powerbooks where one of the two
kiic(4) would always timeout when trying to configure the audio chip.
|
|
ok claudio@, henning@
|
|
The dell perc 6/i sets this to zero (meaning bad) when it
decides the battery doesn't have enough capacity for it to
allow write back mode, but doesn't set any of the other flags
to tell us why.
ok dlg@, tested by sthen@
|
|
of an interface, named after its IPv6 equivalent.
Make use of it instead of removing addresses by hand when detaching
or destroying an interface. As a bonus, multicast records linked
to the just divorced^Wdetached interface are no longer leaked.
No objection from the gang, ok mikeb@
|
|
ok henning
|
|
if it can tell the target CPU isn't actually idling and introduce cpu_kick()
for the cases where we want to force a non-idle CPU into the kernel.
just a port of the amd64 version; testing by many
|
|
Currently limited to oosiop(4) controllers, and thus models 4600 and 530.
There are some rough edges to polish to avoid manual interaction (kernel
currently can't figure its boot device when booted from disk), but the hard
(and hair-pulling) work is over.
And we can have kernel symbols again!
|
|
|