| Age | Commit message (Collapse) | Author |
|
it to determine the boot device: mvme68k, pc532, macppc, ofppc. Those
platforms should be changed to use device_register(). In the mean time,
those ports defined __BROKEN_DK_ESTABLISH.
|
|
|
|
after the update of that.
Sorry for breaking this with my last changes :-(.
Fixes PR#9671 by Lennart Augustsson.
|
|
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
resource allocation.
- Insertion and removal of callouts is constant time, important as
this facility is used quite a lot in the kernel.
The old timeout()/untimeout() API has been removed from the kernel.
|
|
|
|
directly, call the function pointer (*if_input)(ifp, m). The input routine
expects the packet header to be at the head of the packet, and will adjust
as necessary. Privatize the layer 2 input and output routines, allowing
*_ifattach() to set them up as appropriate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
decoding the `supported-network-types' and `chosen-network-type' properties
into ifmedia words.
|
|
|
|
as with user-land programs, include files are installed by each directory
in the tree that has includes to install. (This allows more flexibility
as to what gets installed, makes 'partial installs' easier, and gives us
more options as to which machines' includes get installed at any given
time.) The old SYS_INCLUDES={symlinks,copies} behaviours are _both_
still supported, though at least one bug in the 'symlinks' case is
fixed by this change. Include files can't be build before installation,
so directories that have includes as targets (e.g. dev/pci) have to move
those targets into a different Makefile.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Clean up the name space here a bit.
Add a `busname' element to struct ofprobe (now struct ofbus_attach_args), and
check against it.
Nuke `ofroot'.
Rename the `openfirm' attribute to `ofbus'.
|
|
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.
|
|
similar for instances.
|
|
The old ofbprint() wasn't particularly good (it forced the root node
to have a 'name' property, which apparently violates the OFW spec), and
the new one (though it normally prints more useful information) has
nothing useful to say about the root node. It's not clear to me that
'ofroot' should exist at all.
|
|
|
|
name into a caller-provided buffer (helpful for generating
autoconfiguration output). Also, other minor cleanup.
|
|
component of a node's name into a caller-provided buffer (helpful
for generating autoconfiguration output).
|
|
|
|
|
|
which checks for the presence of any of a set of caller-provided
strings in a node's "compatible" property (the _right_ way to
determine driver compatibility).
|
|
in the Shark source tree for a while, but Jason's recent commit to
dp8390.c spurred me to check it in here.)
XXX Assumes the device is an ethernet, but then so does other code in
this driver.
|
|
of_decode_int()), reorganize.
|
|
|
|
of_decode_int(), a function which decodes OFW integer properties.
|
|
anything _should_ use it).
(2) in the child properties check, also check for 'compatible,' and
config_found() if the child has it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- If the partition is already open, skip the open/close step. (Sync
with other disk drivers.)
- foosize()'s return value is in DEV_BSIZE units; adjust the size obtained
from the disklabel accordingly.
- Pass correct arguments to ofdopen() and ofdclose().
|
|
|
|
Also, DTRT if OF_read() returns 0 when no data is available..
|
|
|
|
drop it rather than using a chain of tiny mbufs.
|
|
|