Matthew N. Dodd
11b0248c66
- Update interface statistics on error conditions.
...
- 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().
2002-03-29 10:17:06 +00:00
Matthew N. Dodd
071c2e5cc2
- Whitespace changes.
...
- Formatting.
- Use macro, not magic numbers.
- Move a dropanyway label in fddi_input() to end of function.
2002-03-29 09:52:01 +00:00
Matthew N. Dodd
98db21b9c7
Back a small part of the last patch.
2002-03-29 09:41:03 +00:00
Matthew N. Dodd
c427e90a6d
- Simplify first arg of nd6_storelladdr().
...
- 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.
2002-03-29 09:37:56 +00:00
Mark Murray
e900f9fd65
Boot this into the Attic. We now have (Net)BSD sort.
2002-03-29 09:11:38 +00:00
Matthew N. Dodd
a98be5ef31
- Use net/fddi.h rather than netinet/if_fddi.h.
...
- 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.
2002-03-29 08:51:42 +00:00
Matthew N. Dodd
4c0b66abef
Sync defines with NetBSD.
...
Define FDDI_ADDR_LEN and use it.
2002-03-29 08:27:48 +00:00
Matthew N. Dodd
005a5dfbe9
Remove unnecessary LLC defines and use the standard ones.
2002-03-29 08:14:29 +00:00
Warner Losh
4e4b1656c2
Improve support of MFC cards (Multi-function cards). This commit
...
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.
2002-03-29 08:05:39 +00:00
Matthew N. Dodd
7fc55739a7
- style(9) fixes for 'return'.
...
- retire RTALLOC1 and ARPRESOLVE macros.
- use IFP2AC to hide discracting casts.
2002-03-29 08:04:36 +00:00
Matthew N. Dodd
28c9592779
Un-ifdef.
2002-03-29 07:30:22 +00:00
Matthew N. Dodd
c0ffddede1
De-register.
2002-03-29 07:12:10 +00:00
Matthew N. Dodd
e957d9121e
Sync with NetBSD.
2002-03-29 06:58:45 +00:00
Matthew N. Dodd
32bc1098b2
Add resource_list_add_next() which returns the RID for the resource added.
2002-03-29 06:42:54 +00:00
Hajimu UMEMOTO
9954794b0c
double m_free() - not critical. from niklas@openbsd
...
Obtained from: KAME
MFC after: 1 week
2002-03-29 05:14:58 +00:00
Hajimu UMEMOTO
b795e6e3ac
typo. netbsd PR 16055
...
Obtained from: KAME
MFC after: 1 week
2002-03-29 04:43:07 +00:00
David E. O'Brien
eb294035cb
Make it easier to change the native emulation.
...
Tested on: alpha, i386, sparc64
2002-03-29 00:41:01 +00:00
Warner Losh
4f453a6c89
Identify PRISM 2.5 with ISL37300P
...
Obtained from: OpenBSD
2002-03-29 00:32:32 +00:00
Warner Losh
8cf3aa5fce
Integrate the air-tools 0.2 from dachb0den labs.
...
o This moves the common.h file into if_wavelan_ieee.h
Submitted by: h1kari@dachb0den.com
2002-03-29 00:26:23 +00:00
Poul-Henning Kamp
fd503e698c
Complete an incomplete cut&paste operation.
2002-03-28 22:00:24 +00:00
Poul-Henning Kamp
1cd429e807
Add testcase #14 : PC98 label.
2002-03-28 21:42:38 +00:00
Poul-Henning Kamp
153ce220d6
Record the physical geometry in this disk-image, PC98 needs it.
2002-03-28 21:42:14 +00:00
Poul-Henning Kamp
00de520ed9
Ignore the <FreeBSD> element in XML files.
2002-03-28 21:41:44 +00:00
Poul-Henning Kamp
d93b7c5dcd
Add preliminary PC98 class to GEOM.
...
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.
2002-03-28 21:38:38 +00:00
Poul-Henning Kamp
ddc8f3b00b
Add the relevants sectors from a PC98 disk to our beastiarium.
...
Submitted by: imp
2002-03-28 21:09:30 +00:00
David E. O'Brien
10d23bba69
Needs a.out support built into the loader.
2002-03-28 19:09:44 +00:00
Josef Karthauser
7b8cfc5217
Install libusbhid, and use it instead of libusb.
...
MFC after: 6 days
2002-03-28 18:44:25 +00:00
Josef Karthauser
7793e75522
Update the documentation to reflect the change from libusb to libusbhid.
...
MFC after: 6 days
2002-03-28 18:22:33 +00:00
Josef Karthauser
e2d8b54630
Use libusbhid.h instead of libusb.h.
2002-03-28 18:14:20 +00:00
Alfred Perlstein
c1508b28c6
To remove nested include of sys/lock.h and sys/mutex.h from sys/proc.h
...
make the pargs_* functions into non-inlines in kern/kern_proc.c.
Requested by: bde
2002-03-28 18:12:27 +00:00
Jens Schweikhardt
74c66edafa
Fix grammar and capitalization bogons.
...
MFC after: 1 day
2002-03-28 17:03:21 +00:00
Andrey A. Chernov
82ea3997c1
Use intmax_t as quad_t replacement, like in expr
2002-03-28 16:30:42 +00:00
Bruce A. Mah
6ce2a2913e
Remove an extra "a".
2002-03-28 16:09:41 +00:00
Poul-Henning Kamp
45609bea17
Get the magnitude of the NTP adjustment right.
2002-03-28 16:02:44 +00:00
Gregory Neil Shapiro
079f9ac4c7
Add an entry for sendmail_submit_flags.
2002-03-28 15:14:56 +00:00
John Baldwin
e6c838590e
GC #if 0'd assembly mutex micro operations. If someone wants to bring
...
these back later then can get them from the attic. Also, GC, some stale
macros to acquire and release sleep mutexes in assembly.
2002-03-28 15:14:23 +00:00
Maxime Henrion
daab5e2472
- Properly sync vfs_nmount() with changes that have be already done
...
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
2002-03-28 13:47:32 +00:00
Dima Dorfman
82d0caaef1
mdoc(7) police: remove whitespace at EOL.
2002-03-28 12:57:48 +00:00
Dima Dorfman
a254506ee5
Add mtx_pool(9) to the SEE ALSO section.
...
Submitted by: Garrett Rooney <rooneg@electricjellyfish.net>
2002-03-28 12:51:06 +00:00
Dima Dorfman
aa43564a2c
Add a manual page for the mtx_pool_* routines.
...
PR: 36350
Submitted by: Garrett Rooney <rooneg@electricjellyfish.net>
Reviewed by: dillon
2002-03-28 12:50:17 +00:00
Josef Karthauser
990e9fea48
Use usb_lookup instead of rolling our own.
...
Suggested by: Lennart Augustsson <lennart@augustsson.net>
2002-03-28 12:22:58 +00:00
Yoshihiro Takahashi
3be63aef6f
Remove unneeded pc98 hack.
2002-03-28 12:13:57 +00:00
Josef Karthauser
fed2df0509
Remove some surplus whites.
2002-03-28 12:06:29 +00:00
Søren Schmidt
5847590d42
Fix a braino, only update LED's when a device is present.
2002-03-28 11:48:36 +00:00
Josef Karthauser
5450b5b0c2
Finish the libusb.h -> libusbhid.h migration.
...
MFC after: 7 days
2002-03-28 11:42:45 +00:00
Murray Stokely
07bd43d600
Add an entry for Decision Computer Inc, PCCOM 4-port serial cards.
...
PR: kern/36302
Submitted by: Thomas Zenker <thz@Lennartz-electronic.de>
MFC after: 1 week
2002-03-28 11:17:20 +00:00
Murray Stokely
dfd6b8b8f7
Mention the fact that you must burn an ISO image to your CDR (created
...
by mkisofs(8) or similar), if you actually intend to mount the data CD
created by burncd.
PR: bin/35524
Approved by: sos
MFC after: 3 days
2002-03-28 11:03:42 +00:00
Ruslan Ermilov
c86f28d27b
Back out rev. 1.6 (NOLIB bootstrap helper) OBE'd by Makefile.inc1,v 1.96.
...
PR: bin/36417
Submitted by: Eugene Grosbein <eugen@www.svzserv.kemerovo.su>
2002-03-28 10:53:49 +00:00
Poul-Henning Kamp
4c0a424c67
In the absense of any smarter way to do this, cast various printf
...
arguments to silence printf format warnings.
2002-03-28 10:09:24 +00:00
Ruslan Ermilov
9c7b6adc2a
Tidy up CLEANFILES.
2002-03-28 10:02:00 +00:00