skrll
9820325bb1
Remove incorrect KASSERT.
...
footbridge_intr_calculate_masks is called multiple times and the KASSERT
isn't valid in (at least) the first call.
2009-06-17 06:27:05 +00:00
rjs
35a0849703
Fix CVS header.
2009-06-14 23:20:35 +00:00
skrll
e03976623a
Add TLS relocation definitions.
2009-05-30 05:56:52 +00:00
rjs
4c494f7678
Make the following changes:
...
struct device * -> device_t
struct cfdata * -> cfdata_t
printf -> aprint_
device_t/softc split
2009-05-29 14:15:44 +00:00
rjs
01ff2d54d9
Add some definitions for alternative GPIO assignments.
2009-05-29 14:06:53 +00:00
cegger
574b3223da
KNF, same object code generated.
...
(checked with evbarm CP3100 kernel)
2009-05-16 16:49:19 +00:00
nonaka
53e60c8761
Don't touch dma data when PMC_CAPS_NO_DMA is set.
2009-05-11 08:27:03 +00:00
cegger
1d89a182fb
change pmap flags argument from int to u_int.
...
discussed with christos@ on source-changes-d@
2009-04-21 21:29:58 +00:00
nonaka
e0297d1ead
Added SD/MMC support from OpenBSD.
...
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.
2009-04-21 03:00:29 +00:00
pgoyette
be22fa2534
One more i2c quick_{read,write} update.
2009-04-20 12:55:02 +00:00
rmind
d062d5d72b
- Manage pid_table with kmem(9).
...
- Remove M_PROC and unused M_SESSION.
2009-04-16 14:56:41 +00:00
marty
3f031dd86e
Work around the circular dependency between sys/device.h and omap_intr.h
...
introduced when sys/device.h included sys/mutex.h
This workaround should be removed once the circular dependency is fixed.
2009-04-14 06:33:23 +00:00
cegger
e2cb85904d
bcopy -> memcpy
2009-03-18 17:06:41 +00:00
cegger
c363a9cb62
bzero -> memset
2009-03-18 16:00:08 +00:00
cegger
df7f595ecd
Ansify function definitions w/o arguments. Generated with sed.
2009-03-18 10:22:21 +00:00
msaitoh
50a765e44b
Make it compile without PCI.
2009-03-17 00:51:27 +00:00
dsl
7cc9af7d64
ANSIfy functions with function-pointer arguments
2009-03-16 23:11:09 +00:00
nonaka
b8c79d033f
set DALGN register when address is misaligned (PXA27x only).
2009-03-16 11:42:31 +00:00
nonaka
72d2ade5d7
Added DMA Alignment register definition.
2009-03-16 11:32:27 +00:00
cegger
ebceae53e5
ansify function definitions
2009-03-15 22:20:09 +00:00
dsl
82357f6d42
ANSIfy another 1261 function definitions.
...
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.
2009-03-14 21:04:01 +00:00
dsl
454af1c0e8
Change about 4500 of the K&R function definitions to ANSI ones.
...
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
2009-03-14 15:35:58 +00:00
dsl
02cdf4d2c8
Remove all the __P() from sys (excluding sys/dist)
...
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
2009-03-14 14:45:51 +00:00
nonaka
a3bafaad7a
zaudio(4) works now.
2009-03-13 13:55:18 +00:00
msaitoh
507aaf9eef
Add rnd stuff.
2009-03-12 13:15:13 +00:00
msaitoh
227ae4c962
Bug fixes phase5.
...
- Catch NPE_NOTIFYMACRECOVERYDONE from NPE, reset MAC and send
NPE_MACRECOVERYSTART to NPE. This sequence is very important :-|
(It's easy to reproduce)
- Don't call tsleep() in interrupt context.
- Add randomness of the transmit deferwhen a collision occured (like CSR)
- fix DPRINTFn() in npe_cpu_reset()
2009-03-11 16:30:20 +00:00
msaitoh
273cfb2789
Make MII stuff more generic.
...
Use macro.
2009-03-11 14:51:19 +00:00
msaitoh
b9c2a5054c
Read MAC address register before reset (to get IPL(e.g. redboot)'s setting).
2009-03-11 13:20:30 +00:00
msaitoh
816cf5b87a
Bug fixes phase 3 (and one enhancement).
...
- fix if_init(), if_stop(), if_start() and ifioctl().
Some of these bugfixes are required to use multicast filter's fix(rev. 1.11)
- Prevent linkdown when only the promisc flag changed.
2009-03-11 12:16:12 +00:00
msaitoh
a69b43fe31
Change TX threshold from 0x08 to 0x18. This value is the same as CSR 2.4.
...
Use macro.
2009-03-11 11:36:33 +00:00
msaitoh
3589a8fdf0
some bug fixes
...
- Set the flag to use multicast filter...
Without this flag and with a shared hub, the MAC gets ALL packets and the
packets will be forwarded if the forwarding is enabled. It results in DUP!
- Workaround for "Non-Intel XScale Technology Eratta" No. 29.
AA:BB:CC:DD:EE:xF's packet (the 2nd nibble from LSB is the same as the
MAC's one) had matched the filter (both unicast and multicast).
- Check if too {short,long} frame.
- Add the MD hook to get MAC address
2009-03-10 17:09:48 +00:00
msaitoh
8586a84598
some bugfixes
...
- Fix incorrect memset from FreeBSD CVS rev. 1.10 (SVN rev 183886)
- Fix the bus_dmamap_create() call to prevent extra npe_defrag() call.
Fixed by Hikaru Abe.
- Add missing bpf_mtap() call in RX.
- Add ETHERCAP_VLAN_MTU flag
2009-03-10 14:42:31 +00:00
nonaka
475dc08dab
avail_start and avail_end is paddr_t.
2009-03-09 08:42:36 +00:00
joerg
f5b0fec0e0
Remove SHMMAXPGS from all kernel configs. Dynamically compute the
...
initial limit as 1/4 of the physical memory. Ensure the limit is at
least 1024 pages, the old default on most platforms.
2009-03-06 20:31:46 +00:00
msaitoh
4f0b35e963
Fix typo(s/interupt/interrupt/)
2009-03-05 01:48:58 +00:00
msaitoh
f9ccf64b65
Fix typo(s/interupt/interrupt/)
2009-03-05 01:38:12 +00:00
nonaka
94654c3de9
Add missing config_pending_incr()/config_pending_incr().
2009-03-02 10:17:58 +00:00
nonaka
6507ef0780
Fix for the display of attach not to mix.
...
Before:
atabus0 at wdc0 channel 0
wd0 at atabus0 drive 0uhub0 at usb0: PXA27x OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
: <SILICON POWER>
wd0: drive supports 1-sector PIO transfers, LBA addressing
wd0: 7775 MB, 15798 cyl, 16 head, 63 sec, 512 bytes/sect x 15924384 sectors
wd0: drive supports PIO mode 4
After:
uhub0 at usb0: PXA27x OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
atabus0 at wdc0 channel 0
wdc1 at pcmcia1 function 0: <128MB, >
wdc1: i/o mapped mode
wd0 at atabus0 drive 0: <SILICON POWER>
wd0: drive supports 1-sector PIO transfers, LBA addressing
wd0: 7775 MB, 15798 cyl, 16 head, 63 sec, 512 bytes/sect x 15924384 sectors
wd0: drive supports PIO mode 4
2009-02-27 16:45:17 +00:00
msaitoh
5ff1366c4f
IXP425 is not ARM_ARCH_4 but ARM_ARCH_5
2009-02-27 03:57:41 +00:00
msaitoh
af2d7fdcc4
add missing <arm/cpu.h> to compile
2009-02-27 03:56:29 +00:00
kenh
cd2827b367
Improved support for GPIO support on the EP93xx ARM processors.
...
Specifically:
Support disabling specific pins on specific ports.
Modification of TS7200 kernel config file for GPIO support.
Documentatin for the current and improved GPIO interface (epgpio).
2009-02-27 03:13:55 +00:00
he
2b6c605f60
Allow kern_ssp.c to build. That file includes <sys/intr.h> without
...
first including <sys/cpu.h>, so include <arm/cpu.h> here so that
curcpl() and set_curcpl() are declared before they are used.
2009-02-13 08:37:52 +00:00
nonaka
50b0e1a573
Processing that installed the card first was moved from pxapcic_attach_common()
...
to the head of pxapcic_event_thread().
As a result, the problem that built-in CF card is not detected is solved.
This problem occurred because of the fix of kern/40531.
2009-02-12 15:37:12 +00:00
nonaka
9a28c06bfc
fix splx() function prototype.
2009-01-29 20:54:52 +00:00
nonaka
59393ffeff
fix compiler failure.
2009-01-29 14:46:06 +00:00
nonaka
cb44badebb
need newline.
...
> ohci0 at pxaip0 addr 0x40d00000-0x40d0000fohci0: OHCI version 1.0
2009-01-29 14:26:09 +00:00
nonaka
1a6860067f
- device_t/softc split.
...
- use aprint_* function.
2009-01-29 12:28:15 +00:00
he
d4b1297c8f
Re-adapt to the changed return types for major() and minor().
2009-01-21 16:24:33 +00:00
bjh21
e9aeb0583d
Adapt the arm32 fusu implementation for use on PROG26 configurations
...
and use it on acorn26.
2009-01-18 16:42:09 +00:00
bjh21
e5754b08fd
Move arch/arm/arm32/fusu.S to arch/arm/arm/fusu.S in preparation for making
...
it usable on acorn26 as well.
2009-01-18 15:43:20 +00:00