Commit Graph

55043 Commits

Author SHA1 Message Date
ichiro 9d3869cb7c more description of Chips was added 2002-04-10 04:01:27 +00:00
chs a5838679d1 only use UBC_FAULTBUSY to access offsets past EOF,
otherwise we can deadlock trying to busy the same page in uiomove().
2002-04-10 03:06:57 +00:00
ichiro 6a3322ff00 regen 2002-04-10 02:08:59 +00:00
ichiro 68eb465167 add product Instant Wireless Network PC Card, Version 3 2002-04-10 02:07:45 +00:00
thorpej 6e52cbf89e In pmap_copy_page_xscale(), put the source page in the mini-data
cache, as well.  The mini-data cache is 2-way, so src and dst won't
clobber each other, and the smallness of the cache doesn't matter,
since we access each page once sequentially.

While we still have to do the initial clean of the source page, this
saves another 4K of main D$ pollution, and also means we don't have
to do 2 cache passes after the copy is complete (i.e. we can skip the
invalidation of the source page in the main cache, since it's no longer
there).
2002-04-10 01:30:42 +00:00
thorpej 2092e78cec Add separate pmap_{zero,copy}_page() functions for generic ARM
vs. XScale.  Use the mini-data cache for the destination on XScale,
thus saving tossing out 4K of possible-useful data from the main
data cache each time.

This significantly improves every test in lmbench.
2002-04-10 00:45:43 +00:00
thorpej 338e636672 Allow pmap_copy_page() and pmap_zero_page() to be #define'd
in <machine/pmap.h>.
2002-04-10 00:40:45 +00:00
thorpej da162bee90 * Move the code that cleans the XScale mini-data cache into its
own function.
* Add a new function which sets up the mini-data cache clean area
  properly.
2002-04-09 23:44:00 +00:00
thorpej 1b20a04772 * Split pte_cache_mode into pte_l1_s_cache_mode, pte_l2_l_cache_mode,
and pte_l2_s_cache_mode.  The cache-meaningful bits are different
  for these descriptor types on some processor models.
* Add pte_*_cache_mask, corresponding to each above, which has a mask
  of the cache-meangful bits, and define those for generic and XScale
  MMU classes.  Note, the L2_S_CACHE_MASK_xscale definition requires
  use of the Extended Small Page L2 descriptor (the "X" bit overlaps
  with AP bits otherwise).
2002-04-09 22:37:00 +00:00
thorpej de29118bc5 Use the "Extended Small Page" L2 descriptor type on XScale (note
this means that there are no 1K sub-pages on XScale, but we don't
use them anyway).
2002-04-09 21:23:16 +00:00
bouyer 10b49b13b9 In wdc_exec_command(), for data commands, read the status register after
the data transfer. This is mandatory for data out commands (although none are
used for now), and not forbiddend for data in commands. Also record if we
did transfers any data.
May solve kern/16159 by making the probe more robust in face of fake identify.
2002-04-09 21:17:53 +00:00
thorpej 917afc7038 Remove the implementation-defined bits from L1_S_PROTO_xscale and
L1_C_PROTO_xscale; while they are supposed to be set to 1 on generic
ARM MMUs (according to the SA-110 and ARM920T manuals), they are listed
as "should be zero" in the i80200 manual.
2002-04-09 21:11:31 +00:00
thorpej c535f4ffc4 Define 2 classes of ARM MMUs:
1. Generic (compatible with ARM6)
1. XScale (can be used as generic, but also has certainly nifty extensions).

Define abstract PTE bit defintions for each MMU class.  If only one MMU
class is configured into the kernel (based on CPU_* options), then we
get the constants for that MMU class.  Otherwise we indirect through
varaibles set up via set_cpufuncs().

XXX The XScale bits are currently the same as the generic bits.  Baby steps.
2002-04-09 21:00:42 +00:00
martin 30453d09bc Print hardware device name in layer 1 debug output. 2002-04-09 20:48:21 +00:00
martin 7486d374b8 Fix typo in debug message. 2002-04-09 20:47:24 +00:00
thorpej 7b422802f6 L2_TYPE_S -> L2_S_PROTO 2002-04-09 19:44:22 +00:00
scw 6a75b57b3d Simplify generation of the s-record boot file using objcopy instead
of a homebrew tool.

Addresses port-mvme68k/16256.
2002-04-09 19:37:22 +00:00
thorpej aee5994fce Use abstract names for the protection and PTE type bits in
L1 and L2 descriptors.  This will allow us to support different
PTE layouts that enable the use of extensions on different
processor models.
2002-04-09 19:37:14 +00:00
matt 361b1bae1a Add stand/pcs 2002-04-09 18:03:48 +00:00
matt d054aa6537 Move installation of pcs750.bin from etc/etc.vax to here so we can get an
object directory.
2002-04-09 18:03:07 +00:00
mycroft 98dc552995 Partially explain the magick in proc_trampoline(). 2002-04-09 16:41:08 +00:00
mycroft 1b7015b0ca Remove an ancient and bogus comment relating to BDB. 2002-04-09 16:29:25 +00:00
mycroft e7dc129161 Add some comments on lgdt().
Also, reload %fs and %gs, since they are now set to the kernel data descriptor.
2002-04-09 16:22:22 +00:00
mycroft 745cd2197b Remove some incredibly self-wanking comments, now that they are documented in
the *appropriate* place.
2002-04-09 16:16:32 +00:00
sakamoto 612c6ed6a0 add CFLAGS=-Wno-main for void main, suggested by Tsutsui-san. 2002-04-09 16:05:37 +00:00
sakamoto edf360eeb6 Revert previous change. return type of main is void. 2002-04-09 15:59:35 +00:00
leo f88c5b26b4 Oops, clicked in a '+' from the diff.. 2002-04-09 14:54:40 +00:00
shin dee24b4393 renumber IT310 staff. 2002-04-09 13:20:30 +00:00
leo 65e47dab1d Mmmmm PCI_PRODUCT_ATI_MACH64_B -> PCI_PRODUCT_ATI_RAGE_PRO_PCI_P... 2002-04-09 13:16:09 +00:00
leo a37ac7efba Fix typo. 2002-04-09 13:14:03 +00:00
leo 47713ea9eb Define minor for DEV_NVRAM 2002-04-09 13:07:27 +00:00
leo 959fef2f01 Pull in prototype for setregs() 2002-04-09 13:04:43 +00:00
chs 110d16d5ae add support for built-in NWay autonegotiation on 2114[23], Macronix
98713A, 98715, 98715A, 98725, and Lite-On 82C115.
2002-04-09 05:57:20 +00:00
simonb c833e8820c Remove a few more magic numbers. 2002-04-09 03:40:16 +00:00
simonb 73aae80caf - Calibrate the timer before the first call to delay.
- Don't use a magic number for the com port address.
2002-04-09 03:38:28 +00:00
thorpej f0bde82437 Add missing #else 2002-04-09 02:20:10 +00:00
briggs c5b80e7823 Constify bus_space_write_multi_N() and bus_space_write_region_N().
Addresses PR port-mac68k/16233.
2002-04-09 01:53:47 +00:00
gmcgarry dea19257e2 Create default disklabel correctly. 2002-04-08 21:41:44 +00:00
eeh 15d074fe26 Add a nice 64-bit mstohz() and clean out some cruft. 2002-04-08 21:05:30 +00:00
augustss fbe535ae41 Regen. 2002-04-08 20:04:18 +00:00
augustss 9e68b40780 Add LaserJet 1200 2002-04-08 20:03:54 +00:00
bjh21 58b39c78dc Add files.c to SRCS_sa, so at to get stuff to link again. 2002-04-08 17:39:42 +00:00
bjh21 59c268f094 Use ${PRINT_OBJDIR} rather than looking for the libsa objdir manually. 2002-04-08 17:29:53 +00:00
bjh21 98b2b14b9c Add files.c to SRCS, since other bits of libsa want it. 2002-04-08 17:25:54 +00:00
bjh21 a886efc273 Rather than grovelling around for libsa's objdir by hand, use ${PRINT_OBJDIR},
since that's what it's for.
2002-04-08 16:58:19 +00:00
bjh21 4f23ca4d62 Add -Wno-uninitialized to CFLAGS, since it's overly-pessimistic. 2002-04-08 16:49:46 +00:00
sakamoto 05cc0bf255 update example, use $(TOOLDIR)/bin/nbmake-bebox. 2002-04-08 16:12:18 +00:00
sakamoto ff5a135777 fix vers.o target.
add cleandir distclean cleanlibdir target, remove cleanobjs target.
2002-04-08 16:09:58 +00:00
sakamoto 6317dec5cd change return type to int of main. 2002-04-08 16:07:47 +00:00
sakamoto c359f5effe include lib/libkern/libkern.h for isdigit. 2002-04-08 16:05:58 +00:00
sakamoto 0f46be36c0 use HOSTPROG and include bsd.hostprog.mk for host tools. 2002-04-08 16:03:17 +00:00
christos ca4d90ffa1 Fix compile problem. 2002-04-08 14:51:29 +00:00
christos b10c779726 #ifdef __alpha__ pal functions. 2002-04-08 14:51:18 +00:00
simonb 06959c9cc1 Add "options MIPS64". Evbmips/malta now works on 5Kc MIPS64 malta's. 2002-04-08 14:13:14 +00:00
simonb 40edbdfb37 - Call mips_vector_init() before setting up the serial console, but
after setting up the prom-based console.  If more than one cpu class
  is enabled, the wbflush() handler (needed indirectly by com.c) won't
  be set up.
- Purge some old pmax mcclock-based code.
- Remove a '#if 1/#endif' pair.
2002-04-08 14:11:32 +00:00
simonb 769775ceb4 Make clock/time handling more accurate:
- Use the CPU count register for more accurate microtime (from
   sbmips) and delay (based on an evbmips delay function) functions.
 - Schedule the next hardclock interrupt more accurately (from
   an sgimips patch by Rafal Boni).  Clock drift on one board is
   now ~7ppm instead of ~330ppm.
 - Purge old pmax-based mcclock code.
 - Correctly round off some clock-derived variable calculations.
XXX: Some of this code should be migrated to sys/arch/mips.
2002-04-08 14:08:25 +00:00
christos bd432c1642 PR/16236: Joachim Koenig-Baltes: Linux emulation connect requires IPV6.
Apparently the sockaddr len fix was only compiled when IPV6 was enabled.
2002-04-08 14:00:31 +00:00
christos 866ad0f73f PR/16231: Ben Harris: m68k does not compile. 2002-04-08 13:27:37 +00:00
martin 58502ab93e Combine sc_enabled and sc_dying into one field sc_intr_valid, they are used
for the same purpose (ignoring invalid interrupts).

For cards that are not able to stop all interrupts (or we don't know a way
to do that in software, at least) run the clearirq callback even when
ignoring an interrupt because we are not enabled. Otherwise the card would
stop interrupting.

Reserve a driver specific callout handle and an int value in the generic
isic_softc to allow card drivers to implement fancy blinkenlights.
2002-04-08 12:20:49 +00:00
simonb 5954457a89 Use "#define<tab>" consistantly. 2002-04-08 12:09:09 +00:00
isaki c78a609db3 Support slinear8, slinear16_le, slinear16_be. 2002-04-07 14:52:27 +00:00
isaki 485575c0fe Rewrite encode/decode algorithm completely.
It improves playing/recording quality greatly
and it was almost done by Yosuke Sugahara <penta@fuchu.or.jp>.
Thanks a lot!

Add support of slinear8, slinear16_le, slinear16_be.
2002-04-07 14:51:40 +00:00
hannken ad4a51c35b Rename WSDISPLAYIO_USEFONT to WSDISPLAYIO_SFONT.
Approved by Matthias Drochner <drochner@netbsd.org>.
2002-04-07 09:25:47 +00:00
martin e9e3eb14ae XXX Explicitly make this fail to compile with a proper warning if we
do not have ARP configured.

This can be caused by configurations including bridge, ppppoe or vlan but
no ethernet interfaces - which does not make sense. We should add a way
to config(8) to issue this kind of warnings.
2002-04-07 07:05:37 +00:00
matt 110c3a2bbf Use ${PROG}.sym in CLEANFILES 2002-04-07 07:00:25 +00:00
martin 47cf1728ea No need to explicitly list vlan or ppppoe for if_ethersubr.c, both already
use attribute "ether" which will be enough to pull in if_ethersubr.c
2002-04-07 06:54:35 +00:00
shin c368b8692b add Fujitsu INTERTOP CX310 support. 2002-04-07 04:34:33 +00:00
manu fb46073720 backed out the irix_siginfo field name change: we need different field names
to avoid collision with svr4_siginfo #define si_signo  _info._signo and
friends.
2002-04-06 22:58:43 +00:00
martin d3630a1e0f Ooops, forgot to adopt this to the previous change of isic_isac_intr. 2002-04-06 22:26:38 +00:00
martin 87b8f8f259 Remove leftover from my first, incomplete attempt to cope with detaching
pcmcia cards. Now that pcmcia attachements properly handle the activate
callback, this is no longer needed (and is suspect to cause completely
unrelated problems.)
2002-04-06 21:46:51 +00:00
mhitch d410426604 Interface byte counts are counted in ether_input() and ether_output(). Don't
count them when reading the NIC counters - it doubles the count.  Read the
NIC counters to prevent counter overflow interrupts, but don't add them to
the interface counters.  Don't bother reading the upper counts because they
are just latched when reading the totals.

Fixes final part of PR#11549.
2002-04-06 19:28:01 +00:00
tsutsui dcdba279be Change RAMDISK to define only MEMORY_DISK stuff and just include GENERIC. 2002-04-06 18:33:03 +00:00
manu 8e8b498d9c Changed irix_siginfo field names to make them closer to svr4 names (and to
original IRIX names too)
2002-04-06 18:08:31 +00:00
manu 79166f2808 iAdded warning printtf just in case something calls the stubs functions here 2002-04-06 18:03:17 +00:00
matt 2bf9358fc0 Don't use the tqh_ field names, instead use the correspond TAILQ_* macro. 2002-04-06 08:04:17 +00:00
thorpej 4d78508c9d Back-out rev 1.75 (pmap_extract() rewrite), and fix the (minor)
bug that revision intended to fix properly.
2002-04-05 22:17:41 +00:00
thorpej f92912592f Reenable DMA on the Symphony/Winbond chips. The lossage I saw was
due to a broken pmap_extract() on ARM.
2002-04-05 22:16:28 +00:00
mycroft aa29eff103 Regen. 2002-04-05 20:38:31 +00:00
mycroft c1928e026d Update some ServerWorks and VIA IDs. Add the ServerWorks CSB5 southbridge and
the Apollo ProMedia 133 chipset.
2002-04-05 20:37:45 +00:00
thorpej 60e2bbd09a Add support for the "CPUSaver" receive interrupt mitigating microcode
on the following PRO/100 chips:

	* i82558 step A4
	* i82558 step B0
	* i82559 step A0
	* i82559S step A
	* i82550
	* i82550 step C

The interrupt delay is configurable on all microcodable chips.  The
maximum "bundle" size (packet count) is configurable on all but the
i82558.

The microcode is enabled by setting IFF_LINK0 on the interface.

Derived from code in FreeBSD.
2002-04-05 19:51:04 +00:00
bouyer e5727031fb Implement mstohz() as discussed on tech-kern, and use it in SCSI drivers
to convert xs->timeout to callout() parameter.
2002-04-05 18:27:45 +00:00
thorpej 991426d348 * Rewrite the 32-bit ARM pte.h based on the ARM architecture manual.
Significant cleanup, here, including better PTE bit names.
* Add XScale PTE extensions (ECC enable, write-allocate cache mode).
* Mechanical changes everywhere else to update for new pte.h.  While
  doing this, two bugs (as a result of typos) were fixed in

	arm/arm32/bus_dma.c
	evbarm/integrator/int_bus_dma.c
2002-04-05 16:58:01 +00:00
toshii df12f106c5 Make recording functional again. 2002-04-05 16:16:43 +00:00
bouyer f6ef011e7e Properly identify LM81. From Sergey Svishchev in PR kern/13420. 2002-04-05 16:11:47 +00:00
thorpej b0e1d51672 Microcode for Intel i8255x 10/100 Ethernet interfaces. This optional
microcode implements an interrupt mitigation function for several
specific revisions of the i8255x family.

From FreeBSD.
2002-04-05 05:35:46 +00:00
gmcgarry 61d1eb003e actually, we didn't want to print pa, not kva 2002-04-05 05:31:42 +00:00
thorpej f4f37ed5f5 Define the command block used for loading microcode into the chip. 2002-04-05 05:29:05 +00:00
mycroft cdb5a13a85 With certain 21140 and 21143 SROM formats, OPMODE_FD was never being set when
the interface was wired to full-duplex mode.  Duh.
Also, add OPMODE_TTM to OPMODE_MEDIA_BITS, to insure that it is changed when
we switch between 10 and 100.
2002-04-05 04:48:40 +00:00
thorpej 4185029680 Use pte_cache_mode instead of PT_CACHEABLE. 2002-04-05 03:57:16 +00:00
thorpej cac428e2af Use pte_cache_mode instead of PT_CACHEABLE; 2002-04-05 03:55:36 +00:00
thorpej 388879eeaf Use pte_cache_mode instead of PT_CACHEABLE. 2002-04-05 03:42:39 +00:00
uwe 6142b898f3 Clean up includes. 2002-04-05 03:29:05 +00:00
mjacob 1ed2e354da Fix:
...trm.c:578: warning: too many arguments for format

problem.
2002-04-05 03:13:48 +00:00
mjacob 83f4603dc7 Correct put of fc4_types to 32 bits, which is what it is. 2002-04-05 02:09:39 +00:00
simonb 2d7c87ebfb Add a "CPU_MIPS_DOUBLE_COUNT" flag for CPUs where the cp0 count register
ticks over at half the CPU clock speed, and set this flag for the known
CPUs with this behaviour.  Better names for this flag gratefully accepted!

Also adjust comment about known R4000/R4400 revisions.
2002-04-05 01:22:16 +00:00
heinz e4affd8cbf Add polish keymaps pl_din and pl_us by Pawel Chwalowski <pch@polo.po.opole.pl>.
This solves part of PR port-amiga/15980
2002-04-05 01:05:03 +00:00
ichiro 1fb4491ea4 Upps, fix typo 2002-04-05 00:59:38 +00:00
heinz bac60291de add polish keymaps created by Pawel Chwalowski <pch@polo.po.opole.pl> 2002-04-05 00:55:06 +00:00
ichiro 7d1236beff fix minor bugs for lucent cards. (point out from Warner Losh) 2002-04-05 00:54:51 +00:00
simonb 2239aed3bd Fix a tyop in a comment. 2002-04-05 00:19:56 +00:00
thorpej d69bb1b3d9 Hm, Symphony/Winbond support doens't seem to work quite right
yet; disable it for now.
2002-04-04 23:47:39 +00:00
mjacob c8513a96b0 Redo fabric evaluation to not use GET ALL NEXT (GA_NXT). Switches seem
to be trying to wriggle out of supporting this well. Instead, use
GID_FT to get a list of Port IDs and then use GPN_ID/GNN_ID to find the
port and node wwn. This should make working on fabrics a bit cleaner and
more stable.

This also caused some cleanup of SNS subcommand canonicalization so that
we can actually check for FS_ACC and FS_RJT, and if we get an FS_RJT,
print out the reason and explanation codes.

We'll keep the old GA_NXT method around if people want to uncomment a
controlling definition in ispvar.h.

This also had us clean up ISPASYNC_FABRICDEV to use a local lportdb argument
and to have the caller explicitly say that a device is at the end of the
fabric list.
2002-04-04 23:38:43 +00:00
thorpej 769ca97e2b Address Intel 82801BA/82801BAM Specification Update, Errata #30:
The ICH on-board Ethernet and some i82559 chips have a bug which
will cause a PCI protocol violation if the chip receives a CU_RESUME
command as it is entering the IDLE state by deasserting #CLKRUN.
(This is the so-called "resume bug" that we previously had an incomplete
work-around for on ICH chipsets.)

The work-around is to disable Dynamic Standby Mode, such that the
chip will never deasert #CLKRUN.  Dynamic Standby Mode is disabled
by clearing a bit in the EEPROM and updating the EEPROM (and EEPROM
checksum).

Unfortunately, the chip will only consult the EEPROM setting after
a PCI bus reset, so a system reboot is required once the EEPROM
has been updated (the EEPROM update only needs to happen once,
and the driver usses a warning instructing the user to reboot the
system once the work-around has been applied).

Issue pointed out by David Brownlee, and code more-or-less lifted
from FreeBSD.
2002-04-04 23:15:43 +00:00
lukem 230e0c2c3e Decommission pmax MD installboot in favour of MI installboot.
(Woo! pmax first again - hi Simon! :-)
2002-04-04 22:59:33 +00:00
christos e9c4f70b2f use lsi_ like all other linux emulations. 2002-04-04 22:17:29 +00:00
bjh21 8fb1e55430 ... and lock.h. 2002-04-04 21:29:04 +00:00
thorpej 4a9f5c0fc7 Move the code which shifts bits into the EEPROM into its own function. 2002-04-04 21:11:16 +00:00
matt 0bdb3fb645 no need for defflag NETWINDER so nuke it 2002-04-04 21:09:59 +00:00
bjh21 27e0adf1e5 Install endian_machdep.h. 2002-04-04 20:29:35 +00:00
bjh21 4dd9cf6391 Install elf_machdep.h. 2002-04-04 20:18:01 +00:00
bjh21 fedfd6d298 Install reloc.h. 2002-04-04 20:12:30 +00:00
uwe 9a60c7f6ae Nuke ugly ms-IIep specific hack now that mspcic knows about phys->pci
address translation.
2002-04-04 18:50:28 +00:00
uwe 213d441358 Instead of relying on numerology set up by PROM, actually implement
bus_space_map/mmap methods that do proper PCI to phys address translation.
2002-04-04 18:47:23 +00:00
uch cb4570f5f5 remove obsolete functions, decralations and structure. 2002-04-04 18:12:23 +00:00
uwe 118ae09c44 Fix error message. 2002-04-04 17:45:24 +00:00
jdolecek 46d335a320 move wi_pci_reset() from ic/wi.c to pci/if_wi_pci.c, where is belongs 2002-04-04 17:43:31 +00:00
uwe 3e855fb4c2 Prettify error message. 2002-04-04 17:41:09 +00:00
jdolecek e9ee3f796e fix sligh confusion on whether or not to supply dv_xname to printf() in
error cases of attach
Noticed in kern/16197 by George E Sollish.
2002-04-04 17:30:32 +00:00
thorpej 22e72c8da2 Don't need to mask w/ PG_FRAME. 2002-04-04 16:56:36 +00:00
ragge 04b9c4c25a Fix crash problems reported by mrg and bouyer in separate mails. 2002-04-04 16:40:14 +00:00
skrll d859e37a42 Remove trailing whitespace. 2002-04-04 16:04:22 +00:00
hannken 747c45e3e4 Avoid dereferencing null pointer. `data->name == NULL' means default font. 2002-04-04 13:08:35 +00:00
skrll c0e4084210 Fix compile problem when DDB not defined. 2002-04-04 12:39:55 +00:00
tron d09c25ca9a Set default kernel version of Linux emulation to 2.4.18 on the i386 port.
It has been successfully tested using SuSE 7.3 libraries and binaries with
many applications.
2002-04-04 09:32:11 +00:00
ichiro ed93d4f3b5 space/TAB cosmetics 2002-04-04 07:15:17 +00:00
ichiro 7fadd48a2f using table driven for Prism2 family IDs/Names. 2002-04-04 07:06:16 +00:00
chs e340f273c4 add support for Cogent EM100 (aka Adaptec ANA-6910) TX and FX. 2002-04-04 05:45:54 +00:00
thorpej ce482eca0a Eliminate a mask against PD_MASK. 2002-04-04 05:42:29 +00:00
thorpej 60b63aec95 There is no need to mask VAs and PAs w/ PG_FRAME to clear
the lower bits; UVM provides us page-aligned addresses for
everything.  For the paranoid, we'll leave KDASSERT()'s in
that check for this if the kernel is built with DEBUG.

Low-hanging fruit that shaves some cycles.
2002-04-04 04:43:20 +00:00
thorpej e539ef03aa Rename flags that are really part of the pv_entry/mdpage into
pmap.h and give them more descriptive names and better comments:
* PT_M  -> PVF_MOD (page is modified)
* PT_H  -> PVF_REF (page is referenced)
* PT_W  -> PVF_WIRED (mapping is wired)
* PT_Wr -> PVF_WRITE (mapping is writable)
* PT_NC -> PVF_NC (mapping is non-cacheable; multiple mappings)
2002-04-04 04:25:44 +00:00
thorpej 263270d684 Catch a couple more vector page mapping manipulations. 2002-04-04 02:06:46 +00:00
thorpej 605e664094 vfs_mountroot(): provide more info when we panic. 2002-04-04 01:44:30 +00:00
reinoud c85015ee71 Also provide differential coordinate updates... pitty it can't be choosen
or specified in wscons itself. The absolute coordinates are broadcasted
_after_ the relative so a program that takes both won't get confused.
2002-04-04 01:03:23 +00:00
thorpej 20b1bb2655 Clean up handling of the vector page on 32-bit ARM systems:
* Don't refer to VA 0, instead refer to a new variable: vector_page
* Delete the old zero_page_*() functions, replacing them with a new
  one: vector_page_setprot().
* When manipulating vector page mappings in user pmaps, only do so if
  the vector page is below KERNEL_BASE (if it's above KERNEL_BASE, the
  vector page is mapped by the kernel pmap).
* Add a new function, arm32_vector_init(), which takes the virtual
  address of the vector page (which MUST be valid when the function
  is called) and a bitmask of vectors the kernel is going to take
  over, and performs all vector page initialization, including setting
  the V bit in the CPU Control register ("relocate vectors to high
  address"), if necessary.
2002-04-03 23:33:26 +00:00
thorpej d36a56b03a Define the two possible addresses for the ARM vector page. 2002-04-03 22:12:52 +00:00
thorpej d8ab0d1e84 Remove unused extern decls. 2002-04-03 21:06:21 +00:00
thorpej a1808a4556 Add support for the Netwinder on-board 21143 (but don't try using it
yet; there are still some problems).
2002-04-03 20:52:42 +00:00
thorpej 6d66c469bf Add a comment summarizing the post-ARM3 CP15 registers. 2002-04-03 19:57:48 +00:00
thorpej 7739f7410a Always provide kernel_text. 2002-04-03 17:30:50 +00:00
christos cb483bd247 make this compile on archs that don't define linux signals. 2002-04-03 17:18:21 +00:00
christos f28b55d327 provide missing types for arch's that don't have specific linux_types.h 2002-04-03 17:13:32 +00:00
thorpej 5eb4257b8e Add bus master DMA support for the Symphony Labs 82C105 PCI IDE
controller.  This part is also found in the Winbond 83C553 Southbrige.
2002-04-03 17:02:21 +00:00
christos aa3369abe2 don't bail out if we don't have an arch/siginfo.h because we are being used
from userland.
2002-04-03 17:02:12 +00:00
darrenr ff961593ca apply patches from PR#10170 2002-04-03 16:34:11 +00:00
reinoud 9fc5cf5824 Fix the mmap'ing of the screen memory. The way it was implemented
completely sucked... I wonder how it was even working (....)

Thanks to Jason for pointing out the problem.
2002-04-03 16:03:50 +00:00
reinoud 943880cea2 Rototil and fix the pmap_extract function. It wouldn't even return data
when the part being quiried was mapped with a section (!) giving weird
results and had become a mess of goto's.

Complete rewrite and cleaned up the `goto'-jungle entirely ... ripped all
goto's. The resulting code is much better to read and might even have a
small performance gain.
2002-04-03 15:59:58 +00:00
bjh21 6d7ebd9ee6 <bebox/pte.h> has gone too. 2002-04-03 15:53:21 +00:00
ichiro ff941b5271 s/WI_NIC_3842/WI_NIC_3842_EVA 2002-04-03 15:43:14 +00:00
ichiro a07b331747 add more IDs of PRISM family 2002-04-03 15:33:20 +00:00
bjh21 ed0cb3d8fc Minimal makefile to ensure that arch/amigappc/include is picked up by
"make includes".
2002-04-03 14:37:54 +00:00