| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
struct ifnet or the layer 2 common structure it was embedded in have
been replaced with a struct ifnet pointer to be filled by a call to the
new function, if_alloc(). The layer 2 common structure is also allocated
via if_alloc() based on the interface type. It is hung off the new
struct ifnet member, if_l2com.
This change removes the size of these structures from the kernel ABI and
will allow us to better manage them as interfaces come and go.
Other changes of note:
- Struct arpcom is no longer referenced in normal interface code.
Instead the Ethernet address is accessed via the IFP2ENADDR() macro.
To enforce this ac_enaddr has been renamed to _ac_enaddr.
- The second argument to ether_ifattach is now always the mac address
from driver private storage rather than sometimes being ac_enaddr.
Reviewed by: sobomax, sam
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
controllers of Sun PCIO-2 chips which are used onboard in most of
the newer PCI-based sun4u machines (cosmetic change as they were also
already probed as generic FWOHCI without this). As with gem(4), hme(4)
and ohci(4) detect whether their intpin register is valid and correct
it if necessary, i.e. set the respective IVAR to the right value for
allocating the IRQ resource, as some of them come up having it set
to 0 (in fact in all machines I'm currently aware of the FireWire
part being enabled). This fixes attaching affected controllers.
Apporved by: simokawa
Tested by: Michiel Boland <michiel@boland.org>
MFC after: 1 month
|
|
|
|
|
| |
closes the race where the cdev was reclaimed before it ever made it
back to devfs lookup.
|
|
|
|
| |
Submitted by: Coverity Prevent analysis tool
|
| |
|
|
|
|
|
|
| |
Some amd64 laptops fail to boot with these flags.
PR: kern/75482
|
| |
|
|
|
|
|
|
| |
the free'd element, and ultimate NULL deref of the failed allocation.
MFC after: 1 week
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
the interface as IFF_NEEDSGIANT so if_start is run holding Giant.
Approved by: dfr
|
|
|
|
|
|
| |
framework isn't yet MPSAFE.
Approved by: simokawa
|
|
|
|
| |
Obtained from: DragonFly BSD
|
| |
|
|
|
|
|
|
| |
fix will follow when its ready.
Submitted by: simokawa
|
|
|
|
| |
This driver seems to be fairly stable now.
|
| |
|
|
|
|
| |
Submitted by: Joerg Sonnenberger <joerg@britannica.bec.de>
|
|
|
|
| |
Obtained from: DragonFly BSD
|
|
|
|
|
|
|
|
| |
for unknown events.
A number of modules return EINVAL in this instance, and I have left
those alone for now and instead taught MOD_QUIESCE to accept this
as "didn't do anything".
|
|
|
|
|
|
|
| |
cut down on the clutter including PCI interrupt routing, MTRR, pcibios,
etc.
Discussed with: USENIX Cabal
|
|
|
|
| |
The bus does this now.
|
|
|
|
| |
Submitted by: KIYOHARA Takashi <kiyohara@kk.iij4u.or.jp>
|
|
|
|
|
|
|
|
|
|
|
| |
The big lines are:
NODEV -> NULL
NOUDEV -> NODEV
udev_t -> dev_t
udev2dev() -> findcdev()
Various minor adjustments including handling of userland access to kernel
space struct cdev etc.
|
|
|
|
| |
Bump __FreeBSD_version accordingly.
|
| |
|
|
|
|
|
| |
instead of printing endless error messages on the console and discarding
the packet.
|
| |
|
|
|
|
|
|
|
|
| |
conform to the rfc2734 and rfc3146 standard for IP over firewire and
should eventually supercede the fwe driver. Right now the broadcast
channel number is hardwired and we don't support MCAP for multicast
channel allocation - more infrastructure is required in the firewire
code itself to fix these problems.
|
| |
|
|
|
|
|
| |
interface really needs changing to split out the various async request
types.
|
|
|
|
| |
for us.
|
|
|
|
| |
they have the right values at the first bus reset.
|
|
|
|
| |
uint32_t where appropriate.
|
|
|
|
|
|
| |
as initially active in if_capenable since it is always on.
Reviewed by: simokawa
|
| |
|
|
|
|
|
| |
if a node on the bus has more than three ports (like my cheapo six
port hub).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* all
- s/__FUNCTION__/__func__/.
Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>
- Compatibility for RELENG_4 and DragonFly.
* firewire
- Timestamp just before queuing.
- Retry bus probe if it fails.
- Use device_printf() for debug message.
- Invalidiate CROM while update.
- Don't process minimum/invalid CROM.
* sbp
- Add ORB_SHORTAGE flag.
- Add sbp.tags tunable.
- Revive doorbell support. It's not enabled by default.
|
|
|
|
|
|
|
| |
Because xfer->send.payload is a pointer to the buffer, '&' shouldn't be there.
Submitted by: John Weisgerber <weisgerberj@gsilumonics.com>
PR: misc/64623
|
|
|
|
|
| |
Submitted by: Mark Santcroos <marks@ripe.net>
Reviewed by: imp, dfr, bde
|
|
|
|
|
| |
Reported by: "Ted Unangst" <tedu@coverity.com>
Approved by: rwatson (mentor)
|
|
|
|
|
|
|
|
| |
Introduce d_version field in struct cdevsw, this must always be
initialized to D_VERSION.
Flip sense of D_NOGIANT flag to D_NEEDGIANT, this involves removing
four D_NOGIANT flags and adding 145 D_NEEDGIANT flags.
|
|
|
|
|
|
|
| |
Free approx 86 major numbers with a mostly automatically generated patch.
A number of strategic drivers have been left behind by caution, and a few
because they still (ab)use their major number.
|
|
|
|
| |
for controller memory.
|
|
|
|
| |
Submitted by: Christian Laursen <xi@borderworlds.dk>
|
|
|
|
|
| |
bus on fwohci. This should fix attach failure caused by a race
between firewire and fwochi initialization for the kernel module.
|
|
|
|
|
|
|
|
| |
Improve error message for attach failure.
* sbp_targ.c
- Add speed in struct sbp_targ_login.
- Remove unnecessary htonl().
|