Commit Graph

112735 Commits

Author SHA1 Message Date
thorpej 405790a85a Add support for the user-generated command interface and event logging
required by the ICP-Vortex management tools.  Many thanks to Achim Leubner
at ICP-Vortex for a few bug fixes and for testing.
2003-05-13 15:42:33 +00:00
kochi bf026fa41a Fix a reference count problem that may cause unexpected memory free etc.
This is a backport of the latest ACPI CA that has a fix for this.
2003-05-13 13:29:00 +00:00
kochi 19e73853da Fix parent-child loop problem found by Takashi Yamamoto. 2003-05-13 13:07:13 +00:00
yamt 8f781c36ef fix a simple bug that prevents svc_tli_create to bind to the address
specified by caller.
2003-05-13 11:57:21 +00:00
ichiro 9bccf5da79 add CPU types
IXP425 xscale-core NetworkProcessor

later, Ill commit codes for IXP425-evaluation board
2003-05-13 11:45:52 +00:00
wiz 956c6be35c Fix typo; new sentence, new line; use more mdoc; add FILES section; sort SEE ALSO. 2003-05-13 10:08:36 +00:00
dyoung 541c2cdd2e Sync with FreeBSD. Spelling fix. Make ieee80211_decap a little more
readable. Accomodate both FreeBSD arpcom and NetBSD ethercom with
conditional compilation.
2003-05-13 10:05:05 +00:00
wiz 98a71c5969 Bump date for last; remove end-of-line spaces. 2003-05-13 10:03:43 +00:00
wiz 28756760a7 Bump date for last. 2003-05-13 09:59:27 +00:00
fvdl c6626dc295 Fix this up a bit to match reality. Needs more work, and so do some
other manpages describing scheduling-related functions.
2003-05-13 09:56:27 +00:00
dyoung 15c573fc50 Verify beacon/probe response information elements to prevent buffer
overflows.
2003-05-13 09:53:07 +00:00
dyoung 8c01544ced Pack rates, SSID using helper routines ieee80211_add_{rates,ssid}
instead of reduplicating code. From Sam Leffler/FreeBSD.
2003-05-13 09:47:44 +00:00
fvdl d840dd2438 While the previous change actually made the code do what it intended,
it was still wrong. cpu_switch() must return 1 when it switched to
a different LWP, 0 if it didn't. It was doing exactly the reverse.
2003-05-13 09:35:16 +00:00
dyoung d3f1cc6bf2 Add utility routine ieee80211_get_rate(). 2003-05-13 09:31:56 +00:00
dyoung 1786077eef Begin sync with 802.11 framework in FreeBSD: adopt macros for
locking.
2003-05-13 09:22:31 +00:00
dyoung e91ed415cd Revert to previous multicast logic, which enami@sm.sony.co.jp says
was correct.
2003-05-13 08:58:01 +00:00
martin 2bfee7cbe0 Backout previous, it was apparently ovelooked when backing out the
change in other places.
2003-05-13 08:39:25 +00:00
dyoung 850a6ef1e6 Begin synchronization with FreeBSD:
1 Add channel mask, transmit rate-mask arguments to wi_scan_ap.
2 Adopt the macros WI_LOCK/WI_UNLOCK for synchronization. FreeBSD
  uses a different synchronization mechanism.
3 In wi_cmd, adopt constants WI_DELAY/WI_TIMEOUT for timing.
4 Pull debug messages from into wi_read_nicid from FreeBSD.
5 Bug fix: if IFF_ALLMULTI, don't filter any multicasts.
6 Count and report TX exceptions, but don't generate any additional
  interrupts.
2003-05-13 08:35:58 +00:00
fvdl 1a53be1e96 Return the correct value in cpu_switch; from Stephan Uphoff for i386. 2003-05-13 08:33:58 +00:00
bsh 2ca26eeaed + use system's real PCLK frequency for source clock of sscom's
baudrate, instead of a compile time constant.

+ simplify bootstrap_bs_map() by mapping all built-in peripheral
  registers at start.

+ check SW3 and SW7 and toggle RB_SINGLE and RB_KDB in boothowto if
  pressed.
2003-05-13 08:30:33 +00:00
fvdl 297e776d44 Make cpu_switch return the correct value. From Stephan Uphoff, PR 21558 2003-05-13 08:26:32 +00:00
bsh a6f754db03 + use system's real PCLK frequency for calculation, instead of a compile
time constant.

+ make delay() more accurate.
2003-05-13 08:07:39 +00:00
dyoung 5ffe819b6e For converge with FreeBSD: 2003-05-13 07:17:46 +00:00
dyoung 45e5f65918 Track TX exceptions. This will eventually enable round-robin retries
(for fairness) and RTM_LOSING or some such other message to indicate
a losing wireless destination.

From FreeBSD.
2003-05-13 07:13:49 +00:00
martin 6d77f1d081 Add some error handling for an ioctl - the old code could loop tightly if
the peer closed a socket unexpectedly.
This addresses one of the issues Frank Kardel patched (differently) in
PR kern/21448, after clarification from Frank via private mail.
2003-05-13 07:07:37 +00:00
dyoung 904079b8af Complete prior patch: dump packets in wi_rx_intr, too. 2003-05-13 06:51:10 +00:00
dyoung aa1a3737de Debug code from FreeBSD: handy packet dumps when IFF_DEBUG|IFF_LINK2
are set.
2003-05-13 06:48:56 +00:00
dyoung a090735114 Misc changes to wi_stop. First, block interrupts in wi_stop. (From
FreeBSD.)

Fix a bug in wi_stop where ejecting from the Powerbook crashes the
system. Essentially, the patch makes sure we write *no* registers
when we are no longer attached.

Also, for consistency w/ FreeBSD, use sc_portnum throughout wi,
instead of hard-coding WI_PORT0 .
2003-05-13 06:33:40 +00:00
bsh b4e06de16e use system's real PCLK frequency instead of a compile time constant for
baudrate divisor setup.
2003-05-13 06:29:53 +00:00
bsh 2b33d23a8c + fix a bug to think FIFO full as FIFO empty.
+ on rx buffer overflow case, disable error interrupt as wel as rx
  interrupt.

+ FIFO is always enabled.
2003-05-13 06:26:57 +00:00
dyoung 8f56bda785 For uniformity between FreeBSD & NetBSD, adopt FreeBSD's more
concise wi_cmd.
2003-05-13 06:15:47 +00:00
bsh 51712a0aa1 white space nit. 2003-05-13 06:12:45 +00:00
dyoung 9302269223 Define an 802.11 PLCP header and constants.
Define two new status codes for management frames.

Define 802.11 durations of important frame sequences, as will be
needed for ADMtek ADM8211 driver and others.
2003-05-13 05:51:46 +00:00
dyoung 7383a96ca6 Fix two bugs: supported rates elements were assembled incorrectly,
and the 'no recent beacons from %s' message told the wrong BSSID.
2003-05-13 05:43:43 +00:00
thorpej 1abf972108 Add new boot programs. 2003-05-13 05:31:56 +00:00
bsh 3675ae2669 + use SWRCON register for software reset.
+ add s3c2800_clock_freq(): calculate [FHP]CLK from values in PLL
  control registers and S3C2XX0_XTAL_CLK.
2003-05-13 05:15:08 +00:00
bsh ca05494daf add an option to set external X'tal frequency. 2003-05-13 05:10:55 +00:00
wiz 5baf375d9f heimdal-0.6 out. 2003-05-13 05:07:32 +00:00
bsh ab094d4717 add fields to hold FCLK, HCLK, and PCLK frequency. 2003-05-13 05:06:39 +00:00
bsh 2fd99ae3e7 white space nit. 2003-05-13 04:53:25 +00:00
gson 34388cbdcc Function names printed in debug messages did not always match the
actual name of the function.
2003-05-13 04:41:59 +00:00
bsh 87a703eac0 enable the domain 15 during bootstrap, as new pmap_map_section() use it. 2003-05-13 04:20:39 +00:00
thorpej 292b5a8b0c Use aprint*(). 2003-05-13 03:00:07 +00:00
thorpej 50e0b3a100 Use aprint_error() where appropriate. 2003-05-13 02:56:13 +00:00
lukem 35bfe45330 Ensure that the exit status in do_obsolete() is correctly determined.
Problem introduced in previous, and noticed by Rob Quinn in private email.
2003-05-13 02:41:27 +00:00
dbj 1ce09bdefb fix nits to compile when DEBUG_KGDB is defined 2003-05-13 02:13:14 +00:00
nathanw 59520b66cd Fix a comment delimeter 2003-05-12 20:10:22 +00:00
kleink 776138ea69 Rename <sys/float_ieee.h> to <sys/float_ieee754.h>, following libc's
convention for these.
2003-05-12 15:22:53 +00:00
dsl 3a7f8f18f1 ktrace ioctl data buffers
Optimise structure layout for 'struct selinfo' to avoid padding on 64bit
systems.  Use an entire variable for the 'collision' flag for efficiency.
2003-05-12 15:17:36 +00:00
kleink db907cb577 Rename ieee754_function.c to function_ieee754.c, following the convention
used in exec_format.c, loadfile_format.c, subsys_machdep.c etc.
Per discussion with Christos.
2003-05-12 15:15:11 +00:00