| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Among other things this gets us ifmedia support.
- Update fddi_ifattach() to take an additional argument.
|
|
|
|
| |
- Add fddi_ifdetach() and fddi_ioctl().
|
|
|
|
| |
- Remove unnecessary preprocessor conditional.
|
|
|
|
|
| |
- Whitespace.
- Remove forgotten duplicate assignments in fddi_ifattach().
|
|
|
|
|
|
|
| |
- Make sure the interface is UP and RUNNING in fddi_input().
- Reorder and comment packet tests in fddi_input().
- Call if_attach() in fddi_ifattach().
- Test for a valid return from ifaddr_byindex().
|
|
|
|
|
|
| |
- Formatting.
- Use macro, not magic numbers.
- Move a dropanyway label in fddi_input() to end of function.
|
| |
|
|
|
|
|
|
|
| |
- Use struct fddi_header where appropriate.
- Use bcopy() rather than memcpy().
- Use FDDI_ADDR_LEN macro instead of ETHER_ADDR_LEN macro.
- Add loadable module support.
|
|
|
|
|
|
| |
- Use FDDI_ADDR_LEN rather than a magic number or a sizeof().
- Hide distracting sizeof() behind FDDI_HDR_LEN macro.
- Don't use sizeof(struct llc) in areas where we mean LLC_SNAPFRAMELEN.
|
|
|
|
| |
Define FDDI_ADDR_LEN and use it.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
allows us to properly parse cards with attribute memory based CIS that
before wouldn't parse correctly, sometimes with a panic. This allows
me to get my 3C562 modem/ethernet card to fail to attach due to
problems in the ep and sio drivers rather than due to problems in the
CIS parsing code :-).
We weren't setting the address to jump to for the function entries.
This caused us to only work when the addional entries were after the
first ones. On the 3C562/3C563 card this was not the case.
We were also mapping Attribute memory when common memory was asked for
in the target of the LONGLINK_{A,C} or LONGLINK_MFC.
My IBM Home And Away Modem/LAN card still fails for reasons unknown.
|
|
|
|
|
| |
- retire RTALLOC1 and ARPRESOLVE macros.
- use IFP2AC to hide discracting casts.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Obtained from: KAME
MFC after: 1 week
|
|
|
|
| |
Obtained from: OpenBSD
|
|
|
|
|
|
| |
o This moves the common.h file into if_wavelan_ieee.h
Submitted by: h1kari@dachb0den.com
|
| |
|
|
|
|
|
|
|
|
| |
I have not been able to find very much information about the PC98
extended partition layout so this is gleaned from the source in
our pc98 architecture. Corrections and patched very welcome.
Sponsored by: DARPA and NAI Labs.
|
| |
|
|
|
|
|
|
| |
make the pargs_* functions into non-inlines in kern/kern_proc.c.
Requested by: bde
|
| |
|
|
|
|
|
| |
these back later then can get them from the attic. Also, GC, some stale
macros to acquire and release sleep mutexes in assembly.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in vfs_mount(), in particular revisions 1.215, 1.227 and 1.240.
- flag2 is a low quality variable name, change it to kern_flag.
- strncpy NUL-terminates f_fstypename and f_mntonname since the strings
have length <= <buffer length> - 1, so the explicit NUL-termination is
bogus.
- M_ZERO'ing space for fstype and fspath is stupid since we never use the
space beyond the end of the string.
- Do various style(9) cleanups in both functions.
Submitted by: bde
Reviewed by: phk
|
|
|
|
| |
Suggested by: Lennart Augustsson <lennart@augustsson.net>
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
PR: kern/36302
Submitted by: Thomas Zenker <thz@Lennartz-electronic.de>
MFC after: 1 week
|
|
|
|
| |
arguments to silence printf format warnings.
|
| |
|
|
|
|
|
| |
o Add -j .dynstr to objcopy. This makes .efi binaries work
when built with a 3.x based toolchain.
|
| |
|
|
|
|
| |
Requested by: Hiten Pandya <hiten@uk.FreeBSD.org>
|
|
|
|
| |
Requested by: jake
|
| |
|
| |
|
|
|
|
| |
Approved by: jake
|
|
|
|
|
|
|
|
| |
put a bunch of crap before the code in .text. Since the firmware
doesn't seem to honour the a.out entry point, we need to include
a little assmbler file which jumps to where we want to be in C.
Submitted by: jake
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
a really warped way of things. Anyway deal with it,
and luckily the newer HighPoint BIOS's doesn't mind..
No brownies to HighPoint for that...
|
|
|
|
|
|
|
|
| |
can be called both with and without the pipe mutex held. (For example,
if called by pipeselwakeup(), it is held. Whereas, if called by kqueue_scan(),
it is not.)
Reviewed by: alfred
|
|
|
|
|
|
|
|
|
| |
There is still some locations where the PROC lock should be held
in order to prevent inconsistent views from outside (like the
proc->p_fd fix for kern/vfs_syscalls.c:checkdirs()) that can be
fixed later.
Submitted by: Jonathan Mini <mini@haikugeek.com>
|
|
|
|
|
| |
worked for the beast disklabel only goes to show how weak a simple
parity really is.
|