Commit Graph

112867 Commits

Author SHA1 Message Date
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
dsl
f8607e15d6 KNF and indentation police 2003-05-12 14:59:51 +00:00
dsl
f9bb4eea5d Build my new i386 bootcode 2003-05-12 14:48:56 +00:00
thorpej
f4ca0d67fe Include <sys/disk.h>. 2003-05-12 14:48:12 +00:00
he
af0f8cc629 Include <sys/disk.h> to get "struct disk" defined.
Approved by thorpej
2003-05-12 14:46:13 +00:00
dsl
18e1c04d74 Don't override PROG from subdir Makefile
Install into /usr/mdec
2003-05-12 14:35:54 +00:00
dsl
5ba5335a38 Install into /usr/mdec 2003-05-12 14:34:55 +00:00
dsl
0e9fdbb612 Remove some unused defines 2003-05-12 14:33:49 +00:00
yamt
38312b0116 fix "Frame really belongs to next callpc" case. 2003-05-12 13:38:49 +00:00
yamt
dc45c698c2 use 'pr' supplied by the caller instead of printf. 2003-05-12 13:16:11 +00:00
kleink
72f28776f1 libc.so.12.98. 2003-05-12 12:39:43 +00:00
kleink
36d937f5d8 Bump to libc.so.12.98, due to addition of {h,n}to{n,h}{l,s}() on PowerPC. 2003-05-12 12:38:31 +00:00
joda
c2f624f5b2 it's "pentium m" not "pentium-m" 2003-05-12 11:01:17 +00:00
jandberg
324530b69e Readd the call to preempt().
It was put to its current place in 1.85.8.2 and accidentally
removed in 1.85.8.3.
2003-05-12 09:35:01 +00:00
kleink
426643832d Build {h,n}to{n,h}{l,s}() into object code; addresses PR port-macppc/21541
from Tsuyoshi MOMOSE.
2003-05-12 09:32:10 +00:00
bsh
ac7984d2fd add an arg to s3c2800_intr_establish() for interrupt type. 2003-05-12 07:49:10 +00:00
bsh
a99b5e08a5 + add an arg to s3c2800_intr_establish() for interrupt type:
IST_EDGE_{FALLING,RISING,BOTH}, or IST_LEVEL_{LOW,HIGH}. This
  argument is valid only for GPIO interrupts (IRQ0..7).

+ Don't clear interrupt pending bits for IIC in interrupt handler.
  Since clearing these bits starts next IIC transmission immediately,
  IIC driver should handle these.
2003-05-12 07:48:37 +00:00
tshiozak
f664dc53f3 zero-clear the file structures, to fixate paddings.
this change solves the illness pointed out by Nino Dehne in tech-userlevel
list.
2003-05-12 06:05:52 +00:00
bsh
fda719999a add PLLCON register definitions. 2003-05-12 05:22:31 +00:00