summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* - Merge the pdq driver (if_fpa and if_fea) from NetBSD.mdodd2002-03-299-522/+1707
| | | | | Among other things this gets us ifmedia support. - Update fddi_ifattach() to take an additional argument.
* - Define fddibroadcastaddr in if_fddisubr.c.mdodd2002-03-292-5/+108
| | | | - Add fddi_ifdetach() and fddi_ioctl().
* - Use ifp->if_broadcastaddr when possible.mdodd2002-03-291-4/+2
| | | | - Remove unnecessary preprocessor conditional.
* - Add a comment.mdodd2002-03-291-2/+4
| | | | | - Whitespace. - Remove forgotten duplicate assignments in fddi_ifattach().
* - Update interface statistics on error conditions.mdodd2002-03-291-13/+50
| | | | | | | - 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().
* - Whitespace changes.mdodd2002-03-291-8/+17
| | | | | | - Formatting. - Use macro, not magic numbers. - Move a dropanyway label in fddi_input() to end of function.
* Back a small part of the last patch.mdodd2002-03-291-3/+3
|
* - Simplify first arg of nd6_storelladdr().mdodd2002-03-291-15/+29
| | | | | | | - 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 net/fddi.h rather than netinet/if_fddi.h.mdodd2002-03-291-21/+21
| | | | | | - 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.
* Sync defines with NetBSD.mdodd2002-03-291-13/+30
| | | | Define FDDI_ADDR_LEN and use it.
* Remove unnecessary LLC defines and use the standard ones.mdodd2002-03-291-16/+6
|
* Improve support of MFC cards (Multi-function cards). This commitimp2002-03-291-2/+4
| | | | | | | | | | | | | | | | | 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.
* - style(9) fixes for 'return'.mdodd2002-03-291-22/+21
| | | | | - retire RTALLOC1 and ARPRESOLVE macros. - use IFP2AC to hide discracting casts.
* Un-ifdef.mdodd2002-03-291-37/+0
|
* De-register.mdodd2002-03-291-10/+10
|
* Sync with NetBSD.mdodd2002-03-291-45/+60
|
* Add resource_list_add_next() which returns the RID for the resource added.mdodd2002-03-292-0/+17
|
* double m_free() - not critical. from niklas@openbsdume2002-03-291-3/+1
| | | | | Obtained from: KAME MFC after: 1 week
* Identify PRISM 2.5 with ISL37300Pimp2002-03-292-7/+11
| | | | Obtained from: OpenBSD
* Integrate the air-tools 0.2 from dachb0den labs.imp2002-03-293-72/+760
| | | | | | o This moves the common.h file into if_wavelan_ieee.h Submitted by: h1kari@dachb0den.com
* Complete an incomplete cut&paste operation.phk2002-03-281-3/+3
|
* Add preliminary PC98 class to GEOM.phk2002-03-282-0/+190
| | | | | | | | 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.
* Needs a.out support built into the loader.obrien2002-03-281-0/+3
|
* To remove nested include of sys/lock.h and sys/mutex.h from sys/proc.halfred2002-03-282-46/+48
| | | | | | make the pargs_* functions into non-inlines in kern/kern_proc.c. Requested by: bde
* Get the magnitude of the NTP adjustment right.phk2002-03-281-3/+4
|
* GC #if 0'd assembly mutex micro operations. If someone wants to bringjhb2002-03-282-416/+0
| | | | | these back later then can get them from the attic. Also, GC, some stale macros to acquire and release sleep mutexes in assembly.
* - Properly sync vfs_nmount() with changes that have be already donemux2002-03-282-114/+78
| | | | | | | | | | | | | | 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
* Use usb_lookup instead of rolling our own.joe2002-03-281-13/+4
| | | | Suggested by: Lennart Augustsson <lennart@augustsson.net>
* Remove unneeded pc98 hack.nyan2002-03-282-4/+0
|
* Remove some surplus whites.joe2002-03-281-12/+12
|
* Fix a braino, only update LED's when a device is present.sos2002-03-281-2/+2
|
* Add an entry for Decision Computer Inc, PCCOM 4-port serial cards.murray2002-03-281-0/+12
| | | | | | PR: kern/36302 Submitted by: Thomas Zenker <thz@Lennartz-electronic.de> MFC after: 1 week
* In the absense of any smarter way to do this, cast various printfphk2002-03-286-13/+15
| | | | arguments to silence printf format warnings.
* o Don't include sys/cdefs.hmarcel2002-03-282-2/+0
|
* o Add -L${DESTDIR}${LIBDIR} on the link line for -lstand.marcel2002-03-282-8/+8
| | | | | o Add -j .dynstr to objcopy. This makes .efi binaries work when built with a 3.x based toolchain.
* Duplicate the logic used elsewhere to define LIBSTAND.marcel2002-03-282-4/+22
|
* Add d_type and fstype names for JFS.grog2002-03-283-0/+39
| | | | Requested by: Hiten Pandya <hiten@uk.FreeBSD.org>
* Don't be too fancy with null'ed out functions.obrien2002-03-281-20/+3
| | | | Requested by: jake
* Add sysbeep() for the msmith RAID drivers.obrien2002-03-281-0/+27
|
* was repocopied to ../boot1obrien2002-03-282-769/+0
|
* style(9)obrien2002-03-285-36/+56
| | | | Approved by: jake
* Apparently either gcc or ld, in their infinite wisdom, want toobrien2002-03-282-0/+16
| | | | | | | | 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
* Opps, bootblock component is no more.obrien2002-03-281-1/+1
|
* sparc64 is an ofw consumer.obrien2002-03-281-2/+2
|
* Not all platforms have and want a.out format support.obrien2002-03-281-1/+5
|
* Add a Makefile for sparc64 at this level.obrien2002-03-281-0/+5
|
* OK, the old HighPoint BIOS's are braindead, they havesos2002-03-271-2/+5
| | | | | | | 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...
* Allow resursion on the pipe mutex because filt_piperead() and filt_pipewrite()alc2002-03-271-1/+1
| | | | | | | | 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
* Make the reference counting of 'struct pargs' SMP safe.alfred2002-03-276-19/+61
| | | | | | | | | 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>
* Calculate the checksum the right place for alpha. The fact that thisphk2002-03-271-1/+1
| | | | | worked for the beast disklabel only goes to show how weak a simple parity really is.
OpenPOWER on IntegriCloud