Commit Graph

52953 Commits

Author SHA1 Message Date
thorpej d58e8e800b Update copyright years and author list. 2002-01-24 06:21:27 +00:00
thorpej 68a5455c8b Work around a bug in the XScale core's D-cache. The work-around is to
use 2 adjacent cache-size areas for global cache clean, alternating
between the two of them on each call.  Without this, D-cache blocks
aren't evicted properly, and no one seems to know why.
2002-01-24 06:18:12 +00:00
briggs 2341768d92 Two changes for XScale:
1) Add defparam XSCALE_CCLKCFG to define a parameter for the
	   CCLKCFG register.  Default it to '9' on the IQ80310.
	2) Add a sleep call to the xscale CPU function vector (replacing
	   the nullop) which should drop the CPU into "idle" mode when
	   cpu_switch finds nothing on the run queues.
2002-01-24 04:23:18 +00:00
thorpej bd098d4ca4 Fix a typo (thanks Allen). 2002-01-24 03:58:09 +00:00
thorpej ffe44b126d Pull in files.i80200 2002-01-24 03:57:36 +00:00
thorpej ae267d2bc7 s/CPLD/iq80310/g 2002-01-24 03:34:28 +00:00
rafal 17abb81d69 One more change resulting from my GDT rearrangement... Since GMACHCALLS_SEL
is always defined now, don't use that to test if we should install the MACH
compat gate; test COMPAT_MACH instead.
2002-01-24 03:20:28 +00:00
gson 11111119ae Make receiving packets work again after struct fxp_rfa grew. 2002-01-24 02:52:15 +00:00
gson d4da6dc52d Debug printf within #if 0..#endif did not compile if enabled. 2002-01-24 02:44:11 +00:00
gson 69ba1e26ce Remove duplicate definition of global variable bcea which caused
linking to fail, along with other globals already
defined in lib/sa/globals.c
2002-01-24 02:37:53 +00:00
itojun a709c83618 place NRL copyright notice itself, not a reference to it. 2002-01-24 02:12:29 +00:00
thorpej 7c2247336b Clean up the i80312 PMU definitions. 2002-01-24 01:21:44 +00:00
thorpej e33cde5940 Add an IRQ vector to be shared by all i80200 applications. This
consults the interrupt source bits in the i80200 ICU and calls
a board-specific external IRQ dispatcher if an external IRQ is
pending.
2002-01-24 01:12:40 +00:00
ross e31435237d sync 2002-01-24 00:45:22 +00:00
ross ddbaa8d2e8 Tweak boilerplate to kill assembler warning (netbsd pr alpha/15119) 2002-01-23 21:33:19 +00:00
scw 86be963a27 Completely re-write wrtvid.c to make it usable during a cross-build.
Instead of parsing the 1st stage booter in wrtvid, use objcopy to
generate a binary image, leaving wrtvid to create the VID/CFG block.
2002-01-23 21:06:28 +00:00
thorpej 372342ce22 i80200: Call i80200_intr_init() to initialize the ICU, rather than
doing it ourselves.
2002-01-23 21:03:07 +00:00
thorpej d70b940ca2 Add generic code to manipulate the i80200 ICU. 2002-01-23 21:00:12 +00:00
thorpej 361cbb0a88 Make this usable directly by assembly code. 2002-01-23 20:58:29 +00:00
thorpej 0b33a64433 Add a stub procfs_machdep. 2002-01-23 19:21:42 +00:00
uwe 2536236e11 Add notag quirk for Seagate "ST11200N SUN1.05". 2002-01-23 18:13:08 +00:00
lukem 93e58d97ac Add support for WSCONS screenblank ioctls. From Phil Budne in [kern/15213]. 2002-01-23 17:11:38 +00:00
bjh21 3985634329 Regen (sys_nosys -> linux_sys_nosys). 2002-01-23 16:14:45 +00:00
bjh21 6add1ec812 sys_nosys="linux_sys_nosys", since that's how it should be. 2002-01-23 16:14:20 +00:00
bjh21 6b940e1484 Regen (cacheflush() and remove syscall 0). 2002-01-23 15:55:51 +00:00
bjh21 8b78e49ada Syscall 0 isn't syscall() on ARMLinux. Mark it UNIMPL instead. 2002-01-23 15:54:34 +00:00
bjh21 8a3c27fbf7 Add support for the ARM-specific syscalls in ARMLinux. These are invoked
by SWI numbers above 0x9f0000, but we re-map them down to somewhere just
after the end of the usual syscall range, since NetBSD doesn't handle
sparse syscall arrays well.

The only syscall I've actually implemented in this range is cacheflush(),
which was previously being mapped to fork(), causing ... interesting results.
2002-01-23 15:52:58 +00:00
pk 4df7c33bf4 Eliminate `cputyp' test from cpu_switch(). 2002-01-23 15:46:03 +00:00
rafal bc2214ed89 Rebuild after my re-arrangement of GDT entries, since this code depends on
the values of GBIOSCODE_SEL and GBIOSDATA_SEL.
2002-01-23 15:05:33 +00:00
rafal 37d3472889 Re-arrange GDT entries somewhat so that: (1) I can reserve the 8th entry for
BIOS-bug-avoidance [fixes part of my own port-i386/11299], and (2) lets you
have APM and COMPAT_MACHO in the kernel at the same time.  Also comments on
the special 8th entry and what else changing some of these values affects.

OK'ed by Frank.
2002-01-23 15:02:34 +00:00
ichiro ed09e8d901 It corrected forgetting to attach "," 2002-01-23 14:50:45 +00:00
pooka 7eb7ad4b7e free memory allocated for suspend save area in detach 2002-01-23 11:27:59 +00:00
pk e9b6d353de Add missing `#ifdef SUN4U'. 2002-01-23 10:19:42 +00:00
chris fc6b067849 Update/remove prototypes. 2002-01-22 19:14:48 +00:00
thorpej 122a3fe161 Re-add -mcmodel=large .. we'll just have to use a patched gcc
for now.
2002-01-22 18:57:39 +00:00
thorpej cf6dc8e084 Update for ISA autoconfiguration changes. 2002-01-22 18:53:02 +00:00
ross a583e1d1dc we need the compat_13 sys_sigreturn to do osf1 emulation
closes port-alpha/8788
2002-01-22 18:37:06 +00:00
thorpej 470bbfb229 Update for ISA autoconfiguration changes. 2002-01-22 18:36:51 +00:00
augustss fd7f5e11ae Don't pretend we can handle i830; it needs a somewhat different AGP driver.
(I added i830 to quickly.)
2002-01-22 17:29:36 +00:00
pk 8769ef5de3 Remove out-dated dependencies on Makefile. 2002-01-22 17:04:31 +00:00
pk 6c51c2d3f4 Support for the ` Magma 2+1HS Sp' (from mouse on port-sparc):
- add sbus node name field to board info structure
2002-01-22 17:00:47 +00:00
pk d29b3f6d0c Support for the ` Magma 2+1HS Sp' (from mouse on port-sparc):
- allow for sbus node name matching
	- get clock frequency from prom property.
2002-01-22 16:59:30 +00:00
uch a68b39d7c2 Reset configuration of bridge order before enumerating bridge devices.
This is required when two or more bridges on the same bus, and some of
them are incompletely initialized by BIOS.
Reported by NAKAGAWA Yoshihisa <y-nakaga@nwsl.mesh.ad.jp>
2002-01-22 15:08:53 +00:00
uch 29d84d9a58 Add pci_bridge_foreach (). 2002-01-22 15:07:27 +00:00
minoura 1dded0f21b Back out the previous.
It was my misreading from the lack of mbuf usage...
Sorry for the mess.
2002-01-22 09:37:59 +00:00
junyoung bb6d64e459 Regen. 2002-01-22 08:33:15 +00:00
junyoung 4d71cd5c7f Rename RAGEXL to MACH64_GR. 2002-01-22 08:32:08 +00:00
itojun ae1b9c29e9 make sure to check address family on route cache. with IPv4 mapped
address we can see both AF_INET/INET6.
2002-01-22 03:53:55 +00:00
ichiro e00f8610ea regen 2002-01-22 03:17:28 +00:00
ichiro c1227aa54e supported RATOC Systems REX-USB60 2002-01-22 03:13:28 +00:00
ichiro 9684a618c1 add product
RATOC Systems USB serial adapter REX-USB60
2002-01-22 03:12:18 +00:00
junyoung 7ef377f884 Regen. Add Mach64 GS. 2002-01-22 02:39:59 +00:00
junyoung 1e4a315dcc Add ATI Mach64 GS. 2002-01-22 02:35:46 +00:00
mrg 81cfc30e85 turn on BLINK & bridge 2002-01-22 01:23:18 +00:00
wiz c244b23bfe Fix typo. 2002-01-22 00:04:29 +00:00
is 5e5bb729dc First draft of a Toccata driver. 2002-01-21 22:13:25 +00:00
jdolecek ff8305bbac Switch to MI dev/md_root.c for archs which don't have any special
memory disk hooks (i.e. everything except atari).
2002-01-21 21:56:57 +00:00
ichiro 8d5e7bd872 if AP is nothing, FrameLen is 3 or less. 2002-01-21 21:55:05 +00:00
manu 5e54c68a88 Fixed a bug introduced in the previous fix to mapelf:
we used load_psection, then ran each vmcmd and tried to relocate the failing
ones. This fails if there is two vmcmd for one section, and the second is
not a mapping (for instance a map_pagedvn and a map_zero), because the first
one gets relocated, but not the second one.

Additionnaly, it was not necessary to update the userlevel psection array:
libc stubs seems to do the job themselves.
2002-01-21 21:51:31 +00:00
ichiro a319f48222 regen 2002-01-21 21:45:46 +00:00
ichiro c1b363222f fixed some products name 2002-01-21 21:43:55 +00:00
eeh e0747a992d Regen. 2002-01-21 18:55:26 +00:00
eeh e7a70bc9de Add the device id for something that claims to be an ATI Rage XL. 2002-01-21 18:51:44 +00:00
eeh 40f4f638ed More 32-bit cleanup. 2002-01-21 18:50:36 +00:00
nsmrtks e23bb0cb51 Fix uvm fault at startup on 040/060. (patch by minoura) 2002-01-21 17:21:52 +00:00
thorpej efc5b2fd84 Regen; Broadcom BCM570x-related IDs. 2002-01-21 17:20:05 +00:00
thorpej 2177c5565c * Add Broadcom Corporation vendor ID.
* Add 3Com 3c996 product ID.
* Add Alteon "Tigon 3" (Broadcom BCM570x) product IDs.
* Add Broadcom Corporation BCM570x product IDs.
2002-01-21 17:19:23 +00:00
nonaka 3c6fc4ebff Fix panic at extent_free() in boot-time.
(ia->ia_io[0].ir_size is zero if noset iosiz in kernel config file.)
2002-01-21 16:26:58 +00:00
wiz b36c0a5406 deamon -> daemon 2002-01-21 14:42:26 +00:00
fvdl e4701eef88 VOP_UNLOCK + vgone --> vput, since the vnode will already have
a reference.
2002-01-21 13:48:51 +00:00
mrg 319101532e - reduce INSTALL size by 2.5MB. 2002-01-21 13:47:25 +00:00
minoura a2791dabb9 Correctly write back the updated value of the local variable to the
struct nfssvc_sock.
Affected only when a recordmark of RPC over TCP is fragmented to
multiple mbufs.  I do not know whether this code has ever been executed :)
2002-01-21 13:21:51 +00:00
martin f8974bfebe Add support for ITK IX1 PnP cards.
Thanks to Nick Hudson for testing.
2002-01-21 12:31:42 +00:00
martin a585d748dc Duplicate include protection. 2002-01-21 11:38:16 +00:00
martin 6121a90ba1 Fix copy&pasto: truncate strings copied in at *their* right length, not
some other strings length.

Found by Arne Helme.
2002-01-21 11:37:29 +00:00
ichiro 65967c6704 Print Association status changes to the console. 2002-01-21 11:29:22 +00:00
ichiro e08ec84292 "Association Faild" was added to "Link Stat" messages.
;
Implement wi_scan into wi.c.
forces if_wi to initiate one round of access point scan.
This code was written by jrb@cs.pdx.edu, modified and bug-fixed by ichiro@netbsd.org
2002-01-21 11:28:18 +00:00
augustss 12f71ce4b8 Regen. 2002-01-21 11:20:42 +00:00
augustss 8f9166873c Add some new devices. 2002-01-21 11:20:25 +00:00
ichiro 93c743cc3b mistake bit number of tx_rate
case 4 -> case 5
2002-01-20 07:26:14 +00:00
ichiro 19ae79a0b6 Upps
Garbage was removed.
2002-01-20 06:49:32 +00:00
ichiro f62afb33a0 add few Information frame types 2002-01-20 06:45:22 +00:00
mrg 61d679b8c1 convert sparc64 to use `makefs' rather than vnd/newfs/mount. this severely
cleans up a lot of the processing here.


XXX: note that the sparc64 "INSTALL" kernel's file system has a copy of
GENERIC in /netbsd.  fix this shortly.
2002-01-20 05:57:10 +00:00
ichiro c1a93623bd When the length of the key of WEP was 5 or less octets, WEP was set to 40Bit.
5.5MBps were added to ifmedia.
2002-01-20 05:39:52 +00:00
ichiro c9cdd04709 add scan req/result RIDs 2002-01-20 04:37:04 +00:00
thorpej e594c94727 Some prototype cleanup. 2002-01-20 03:41:47 +00:00
thorpej ce74acf44c XXX Local prototype for syscall(). 2002-01-20 03:39:51 +00:00
shin 073b07d45d bugfix: OHCI is bus 0, device 12 or 19, function 2 (not 0). 2002-01-20 03:34:27 +00:00
oster 71a4ca8acd Bah.. Not sure how those ";"'s got missed :-( 2002-01-19 22:20:48 +00:00
scw 0e17fb3d6a Make this compile again. 2002-01-19 21:13:45 +00:00
chris e05c355470 Following on from similair change by Jason for xscale, pass the l1 page table into the map_chunk function so it can try to map the kernel in sections. 2002-01-19 18:51:58 +00:00
oster 39b858e3bf Add new RF_* options for RAIDframe bits that are no longer built by default.
While we're here, enable RAIDframe (and RAID_AUTOCONFIG) by default for
architectures that I'm comfortable can deal with it being on by default.

Also: bump the number of 'raid' devices from 4 to 8, since 4 seems to
be insufficient in practise.
2002-01-19 18:45:06 +00:00
chs b263a7eb4d add a new flag PMAP_CACHE_VIVT for the pmap to inform the MI code that
that the cache is virtually-indexed and virtually-tagged (such as on the ARM),
and use this flag in the UBC code to be more friendly to those caches.
2002-01-19 16:55:20 +00:00
manu ddd039179b Fixes the problem with libX11.so mapping by syssgi(MAPELF): the load address
for the text section of libx11.so was overlapping with other ELF sections
aloready loaded, and this resulted into an ENOMEM error.

syssgi(MAPELF) uses elf32_load_psection() from syssrc/sys/kern/exec_subr.c
The problem was never experienced with load_psection() because it only has
to load one section, hence the requested address are not already allocated.

The fix is done when the initial mapping at the default address fails by
finding a free location in the VM space using uvm_map_findspace(), and then
retrying to load the section.

Other details:
- once the ELF section has been relocated, the ELF program header must be
updated with the new address and copied back to userland. For now we always
do it, maybe we could copy it only when it was modified.
- We are able to emulate the exact address where IRIX loads libX11.so instead
of the default location
2002-01-19 14:56:02 +00:00
mrg 194652a3c1 update to reality, even if it still does not quite work. 2002-01-19 14:49:18 +00:00
shin 69d0f55255 add VR4131 cache-op bug workaround code.
we can't use Hit_WriteBack_Invalidate.
2002-01-19 04:25:36 +00:00
eeh de4c6a980a Remove some DEBUG code. 2002-01-19 03:30:54 +00:00
eeh 160abd5faf Remove some obsolete code. 2002-01-19 03:16:38 +00:00
eeh 112afe4fa4 Fix a few more bugs. 2002-01-19 03:02:34 +00:00
oster 9872e4c410 Let's not bother building a number of infrequently used RAID types.
The code is still there if people want it, but these other RAID
types (using various DECLUSTERING and SPARING techniques) arn't being
used in practise.  Saves about 100K on i386 GENERIC kernels.
2002-01-19 02:50:54 +00:00
oster e38e358cb2 Only include some debugging printf's if DEBUG is defined. 2002-01-19 01:51:51 +00:00
jdolecek ec531589ce couple cosmetic style fixes, and drop ^L's 2002-01-18 22:39:12 +00:00
ross 8828878167 Fix bug which prevented SIGFPE delivery 2002-01-18 22:15:56 +00:00
jdolecek 74c54977ea drop completely superfluous PRINT() macro 2002-01-18 21:59:41 +00:00
thorpej d2ee788a90 Document the CONUNIT and CONSPEED config options. 2002-01-18 19:47:38 +00:00
thorpej d25c8d3cac Allow the console unit to be overridden with the CONUNIT configuration
option.
2002-01-18 19:47:05 +00:00
fvdl 9e4014046f Unlock vnode before calling vgone() in case of getattr failure during
nfs_nget. Fixes problem reported by Chuck Cranor.
2002-01-18 18:59:24 +00:00
toshii ee99b636ab Add back a missing key mapping for Japanese jornada720. 2002-01-18 15:27:26 +00:00
shin b886a869ed add support for LASER5 L-Router. 2002-01-18 13:51:01 +00:00
ichiro 0c0bcf42a6 to use 104bit WEP key 2002-01-18 11:41:49 +00:00
enami ac35ac58f5 - For CIRCLEQ, comparing the loop variable against NULL doesn't make sense.
- Minor KNF while I'm here.

# This doesn't fix real problems though.
2002-01-18 00:30:03 +00:00
thorpej 940aa6cbf5 Add cpwait's after TLB operations. 2002-01-17 23:56:01 +00:00
bjh21 6ad60873c2 More-or-less working signal handling for Linux processes on ARM. 2002-01-17 22:50:38 +00:00
eeh 85bf931596 Be more tolerant of unaligned stack pointers. 2002-01-17 22:23:47 +00:00
bjh21 72e7652233 Fix typo in last commit. 2002-01-17 21:19:22 +00:00
bjh21 934715db90 Fix unterminated #ifdef. 2002-01-17 21:17:57 +00:00
thorpej e422b995b1 Cleanup a little, and teach db_write_text() about section mappings. 2002-01-17 20:47:00 +00:00
bjh21 0598bbd10f Separate out syscall() out into three parts:
swi_handler() does stuff that all SWIs will need, then calls
   curproc->p_emul->e_syscall.
  syscall() handles native NetBSD system calls.
  linux_syscall() handles Linux system calls.
2002-01-17 17:26:03 +00:00
bjh21 16ee93eb67 On platforms that don't __HAVE_SYSCALL_INTERN, define LINUX_SYSCALL_FUNCTION
to be the value of emul_linux.e_syscall that we want.  This allows it to differ
between machines, so I can have a separate linux_syscall() on arm.
2002-01-17 17:19:03 +00:00
augustss 72fd8ca3ac Alphabetize audio attachment. 2002-01-17 16:06:49 +00:00
wiz e45693d8ed Fix ukbd attachment. Noted by Patrick Welche on port-macppc. 2002-01-17 15:50:28 +00:00
rjs 01529df446 Include arch/arm/linux_errno.h for arm build. 2002-01-17 15:11:38 +00:00
rjs 0046c56309 Add arm to #endif comment. 2002-01-17 15:10:26 +00:00
rjs 77f9569791 Add extra error codes from Linux. 2002-01-17 15:08:44 +00:00
joda 4a42472b23 add support for Ericsson PRISM2 card (kern/15130) 2002-01-17 09:56:43 +00:00
thorpej 79543e3e0b * db_validate_address(): Use pmap_extract().
* db_read_bytes()/db_write_bytes(): Do comparisons against the
  (unsigned) size_t correctly.
2002-01-17 03:52:06 +00:00
thorpej 3609326b93 Teach pmap_extract() about section mappings. 2002-01-17 03:06:21 +00:00
eeh b60e750cca Enable block insns in bcopy and bzero. 2002-01-17 02:26:37 +00:00
thorpej f11f32eed1 Since we build with DDB by default, build with SYMTAB_SPACE by default,
as well.
2002-01-16 23:49:41 +00:00
thorpej bd500cc450 When mapping the kernel text/data/bss:
* Round the text size up the next page, don't truncate it.
* Pass the kernel L1 table to map_chunk() so that it can try
  to use section mappings.
2002-01-16 23:37:05 +00:00
thorpej fd8ee60d12 Correct KERNEL_TEXT_BASE. 2002-01-16 23:33:51 +00:00
eeh c2d74dc6cd In bcopy use 32-bit comparisons in 32-bit kernels. 2002-01-16 22:44:48 +00:00
eeh 14dced409e Use correct calculation for the trapframe in softtrap for ILP32. 2002-01-16 18:52:35 +00:00
eeh 9ed29324e3 Fix ILP32 bug. 2002-01-16 18:49:22 +00:00
tsutsui 5e3511e097 Fix a possible uninitialized variable found by new toolchain. 2002-01-16 16:10:32 +00:00
enami 9ad4436bc2 Fix typo which prevents diagnostic test from working. 2002-01-16 08:33:12 +00:00
thorpej 75dfddd49d Use bpf_mtap(). 2002-01-16 05:56:54 +00:00
ichiro da39bf6c59 some resources was released at the time of detach. 2002-01-16 03:27:37 +00:00
ichiro f855f38bdd add detach/activate routine 2002-01-16 02:11:20 +00:00
eeh 12fcdc813a Fix illegal pointer manipulations that cause alignment problems. 2002-01-16 01:47:36 +00:00
ross 3b4fb77f19 install fpu.h, needed for new lib/csu features 2002-01-16 01:19:22 +00:00
thorpej edd394b53e Update for 88E1000 model number changes. 2002-01-15 21:01:59 +00:00
thorpej 60ed1aba47 Regen; add another Marvell 88E1000 PHY model number. 2002-01-15 21:00:50 +00:00
thorpej dcc3d13f0d Add another Marvell 88E1000 PHY model number. 2002-01-15 20:59:52 +00:00
thorpej 7f29645d87 Regen; add Intel i82544GC Gig-E. 2002-01-15 20:16:36 +00:00
thorpej 4f2478ee1d Add the Intel i82544GC Gig-E. 2002-01-15 20:14:47 +00:00
mrg 2f90cc02e7 <dev/auconv.h> -> "auconv.h"; this makes auconv.c portable. 2002-01-15 16:39:50 +00:00
augustss 5fff88daf1 Note to self: set variable before using it. 2002-01-15 13:50:59 +00:00
drochner 113038dfac recognize Athlon model 6 (Palomino) and 7 (Morgan) 2002-01-15 13:34:52 +00:00
martin 301dca6ef4 Make fields in ioctl parameters that are not allowed to be negative u_ints.
Better range & sanity checking for ioctl arguments (thanks, Jaromir!)
2002-01-15 12:28:08 +00:00
lukem ba6ca94b23 order dev/clockctl.c appropriately 2002-01-15 12:10:50 +00:00
bjh21 4a4d63e6c0 Regen. 2002-01-15 10:23:35 +00:00
bjh21 9f08648c7d Shuffle uname calls around. It turns out we don't use the same names as
Linux does, so:
sys_olduname -> linux_sys_oldolduname
sys_uname    -> linux_sys_olduname
sys_newuname -> linux_sys_uname
2002-01-15 10:21:46 +00:00
bjh21 b5c6c1df63 Simplify SWI entry: syscall() now extracts the SWI comment field itself. 2002-01-14 23:21:06 +00:00
bjh21 2fdddc2550 Generated files for ARMLinux binary compatibility. 2002-01-14 23:17:16 +00:00
bjh21 23a5fe8d9b Remove old ARMLinux binary compatibility fragment. As far as I know, this
was never used.
2002-01-14 23:15:58 +00:00
bjh21 6462506466 Crude first cut at ARMLinux binary compatibility. Successfully runs
"/emul/linux/bin/echo hello, world", dynamically linked.
2002-01-14 23:14:32 +00:00
jmcneill 273ca48725 Add power management hooks to pmsi driver and make sure that the
device is setup for the proper intellimode on resume.
2002-01-14 21:56:10 +00:00
bouyer 8bf0d659b0 Don't use chp->wdc if it's NULL. 2002-01-14 21:51:35 +00:00
eeh 59339eac04 Make PHYS_ASI() also recognize little-endian ASIs. 2002-01-14 20:44:30 +00:00
kleink 3086980be4 Move spl*() interfaces from from param.h to intr.h; for compatibility,
still let them available from param.h as well like all other platforms
currently do.
2002-01-14 19:59:31 +00:00
pooka 09dfdacac8 Use standard PCI power management definitions from pcireg.h instead
of homegrown ones.

suggested by Soren
2002-01-14 19:24:39 +00:00
soren 70e85fb54b Remove __HAVE_GENERIC_SOFT_INTERRUPTS #ifdef. 2002-01-14 19:08:35 +00:00
soren 07e21646eb Options MIPS3_5200 and MIPS3_L2CACHE_PRESENT are gone. 2002-01-14 19:07:16 +00:00
jandberg 2a9f95f2ad Regenerated AMIGA, INSTALL and DRACO from GENERIC. 2002-01-14 18:56:35 +00:00
kleink 67dfac7357 Include <machine/intr.h> unconditionally, instead of only doing so if
__HAVE_GENERIC_SOFT_INTERRUPTS and relying on <sys/param.h> to provide it
otherwise; pointed out by Aymeric Vincent.
2002-01-14 18:19:15 +00:00
eeh cc61f43486 Use a more efficient PIC_PROLOG(). 2002-01-14 16:37:36 +00:00
eeh 79cc3b0d73 Set the interrupt retry timer to 0xff. 2002-01-14 16:30:31 +00:00
pooka 2bce33ba09 slight last-minute typo here 2002-01-14 16:26:44 +00:00
pooka 53aa4de53f make RTC year IRIX semantics adjustments a macro 2002-01-14 16:23:27 +00:00
kleink c095bf1b6d As discussed with Aymeric, <machine/intr.h> is always required, so don't
make its inclusion conditional.
2002-01-14 16:10:33 +00:00
aymeric 8cae495fc0 Don't include machine/types.h (my fault in previous commit)
Reported by Klaus Klein.
2002-01-14 16:04:44 +00:00
tsutsui ab04f9daae Call malloc(9) with M_ZERO flag instead of bzero() after malloc().
XXX It seems these attachments need to be rewritten for modern config(9)..
2002-01-14 13:39:14 +00:00
tsutsui bcba62925f Call malloc(9) with M_ZERO flag instead of bzero() after malloc(). 2002-01-14 13:32:44 +00:00
tsutsui 448d063b57 Call malloc(9) with M_ZERO flag instead of memset() after malloc(). 2002-01-14 13:23:36 +00:00
martin 78ce6cb0f8 Initialize the activity timestamp when opening a connection. Only idle-
timeout connection that made it to phase NETWORK yet. (For drivers using
the internal timeout mechanism; isdnd, that does the timeout handling for
ISDN drivers, still needs to be fixed.)

Thanks to Wolfgang Solfrank for finding this.
2002-01-14 07:39:14 +00:00
isaki 81fa322c19 Add another address, vector configuration of Nereid ethernet. 2002-01-14 04:25:47 +00:00
augustss 626454530f Regen. 2002-01-14 03:57:11 +00:00
augustss a7bd403449 Fix typo. 2002-01-14 03:56:33 +00:00
christos c8ce02fd2c add the dma command ext translations. pointed out by manuel. 2002-01-14 02:17:59 +00:00
augustss f3b996d67a Add the i830 bridge. 2002-01-14 01:45:54 +00:00
augustss 916552082d Add i830M to agp chip tables. 2002-01-14 01:38:25 +00:00
augustss 18a4a5a899 Regen. 2002-01-14 01:37:35 +00:00
augustss 0694a51a97 Add 82201CA to the chip table. 2002-01-14 01:35:39 +00:00
augustss ef12cd1620 Change some names that I added earlier. 2002-01-14 01:35:05 +00:00
augustss 27a315e2c8 Add i830M to the chip list. 2002-01-14 01:29:13 +00:00
thorpej 0ff3653797 Add sysarch calls to read and write the full fp_c. 2002-01-14 00:53:16 +00:00
jandberg 389100f5d8 Amiga wsdisplay updates.
conf/GENERIC:
conf/files.amiga:
 - Bring in wsfont definitions.

dev/grfabs_reg.h:
 - Add macros for decomposing palette entries.

dev/amidisplaycc.c:
 - Support for fonts, either wsfonts compiled into kernel
   or runtime-loadable by ioctl. Font width still limited to 8,
   height may vary.
 - Limited support for mapped displays. No way to adjust display
   mode. Palette setting works.
 - Prettier default palette (white on black).
 - Probes correctly as WSDISPLAY_TYPE_AMIGACC.
 - Support for screen blanking.
2002-01-13 23:24:22 +00:00
augustss 5a6220e6bc Implement pci_intr_disestablish(). 2002-01-13 23:02:33 +00:00
jandberg 75e5cd6d4f wskbd updates.
kbd.c: Now identifies itself as WSKBD_TYPE_AMIGA.
 wskbdmap_amiga.c: Updated de/dk/sv/no keymaps.
2002-01-13 22:47:43 +00:00
thorpej 64e45e9f3d Sync with arch/arm32. 2002-01-13 20:20:12 +00:00
thorpej 43c6244346 Need <sys/systm.h> for strcmp() prototype. 2002-01-13 20:12:44 +00:00
augustss a80d13d476 Cosmetic error message fix. 2002-01-13 19:40:51 +00:00
augustss e4f23fb652 Add code to handle PCMCIA cards placed on a PCI card with the PLX chip.
From OpenBSD and FreeBSD.
2002-01-13 19:38:25 +00:00
tsutsui cf839323de Call malloc(9) with M_ZERO flag instead of memset() after malloc(). 2002-01-13 19:28:06 +00:00
thorpej 1e0e569ced Remove the "fiqhandler" definitions. 2002-01-13 19:20:06 +00:00
jandberg 2089bcf9c1 added amiga display/mouse/keyboard defines 2002-01-13 18:05:50 +00:00
christos f9b7ffe292 Add LBA48 support based on patches from Keisuke YOSHIDA. KNF a bit while
I am there.
2002-01-13 17:24:28 +00:00
jmcneill e52f30dc7a Every card I've seen has had their channels swapped with respect
to the mixer. Ie:
 $ mixerctl -w outputs.master=0,191
Would result in the _right_ speaker being turned off.

So, we will swap the left and right mixer channels to compensate
for this.
2002-01-13 15:07:28 +00:00
bjh21 ef2920350e Use symbolic names for SWI number blocks (from <arm/swi.h>). 2002-01-13 15:04:09 +00:00
bjh21 d46952877d Add an <arm/swi.h>, containing symbolic names for SWI ranges. 2002-01-13 15:03:06 +00:00
jmcneill a3e1dd7338 Remove unnecessary (also unused) AC'97 definitions -- they already exist
in syssrc/sys/dev/ic/ac97reg.h.
2002-01-13 14:48:01 +00:00
jmcneill 4d4665161a Use malloc's M_ZERO flag instead of malloc/memset. 2002-01-13 14:44:15 +00:00
bjh21 9379550701 Make this actually compile on acorn32. 2002-01-13 14:39:13 +00:00
takemura 27d818bfdb Fixed vrpciu with config_hook PCI interrupt handling. 2002-01-13 14:18:31 +00:00
takemura 3d94c421cc Added new config hook type PCIINTR (handling PCI interrupt).
Added config hook APIs, config_connect, config_disconnect and
config_connected_call.
Supported PCIINTR type event in hpcio.
2002-01-13 14:00:38 +00:00
drochner 131f65b2ec -fix new assembler warnings
-add RCS ID
2002-01-13 12:45:54 +00:00
drochner 5245358400 for ELF, put RCSID string into .ident section,
add __KERNEL_RCSID macro which is undefined in case of NO_KERNEL_RCSIDS
2002-01-13 12:44:31 +00:00
aymeric 36fb148d72 Remove the quirks I added for an ethernet card I have.
This ``quick fix'' shall not make it into a release, and the problem doesn't
come from the card but rather from my laptop.
2002-01-13 12:28:02 +00:00
aymeric 24443412ff include machine/types.h
include machine/intr.h if defined(__HAVE_GENERIC_SOFT_INTERRUPTS)
It makes this file compile for the amiga.
2002-01-13 10:57:57 +00:00
aymeric 2968e4165f add Edimax Technology Inc. EP4000A
add another Linksys Etherfast clone (Level One)
2002-01-13 10:41:11 +00:00
aymeric 2ae5495943 regen 2002-01-13 10:39:33 +00:00
aymeric 0e264923e6 add Edimax Technology Inc. PCMCIA Ethernet Card 2002-01-13 10:38:47 +00:00
pooka 284103af4a Add support for the driver to work after suspend/resume. Does nothing
fancy, works for the basic output case, but does not support programs
which use playback while going into suspend.

Sketched after code found in FreeBSD and Linux drivers.
2002-01-13 10:06:51 +00:00
pooka 2e156f09dc * add power definitions
* fix a few (hidden) typos in the definitions
2002-01-13 10:02:58 +00:00
takemura 9ea4be44f4 Number of elements in button_config is smaller than CONFIG_HOOK_MAX_ID. 2002-01-13 08:28:27 +00:00
augustss 1a2fda613e Regen. 2002-01-13 03:14:22 +00:00
augustss 99d55e5ea2 Add 3Com 3crwe777a AirConnect. 2002-01-13 03:13:39 +00:00
bouyer f03445a59f For fixed block drive, for invalid sense error code, set info to
xs->datalen / st->blksize instead of xs->datalen; as code assume later
that info is a block number.
Should fix kern/2727.
2002-01-12 20:30:11 +00:00
bjh21 9fe68c4f64 Combined syscall handler for all ARM ports. This is basically the arm32
version, made readable and compatible with arm26.  In addition, this adds
support for NetBSD/arm's newly allocated SWI range.
2002-01-12 20:02:13 +00:00
scw 7fed4934b8 Move the VMEbus RAM `howto' into the docs directory. 2002-01-12 19:29:49 +00:00
christos 5ff60a19d9 Don't hide the real return code with EPERM. 2002-01-12 18:51:56 +00:00
christos 5266303896 When checking for permissions, include the P_INEXEC test and return
EAGAIN if the process is exec'ing.
2002-01-12 18:51:31 +00:00
tsutsui e6f8529d26 Call malloc(9) with M_ZERO flag instead of memset() after malloc(). 2002-01-12 16:58:16 +00:00
tsutsui c12b5c180d Call malloc(9) with M_ZERO flag instead of memset() after malloc(). 2002-01-12 16:41:02 +00:00
tsutsui 1267bddc09 Call malloc(9) with M_ZERO flag instead of memset() after malloc(). 2002-01-12 16:29:30 +00:00
tsutsui b87a051ec8 Call malloc(9) with M_ZERO flag instead of memset() after malloc(). 2002-01-12 16:17:05 +00:00
tsutsui 84926576f1 Call malloc(9) with M_ZERO flag instead of memset() after malloc(). 2002-01-12 16:03:11 +00:00
manu 5f90ae55b5 Added clockctl 2002-01-12 14:52:40 +00:00
christos 83990b1879 Clear the P_INEXEC flag in other labels. Pointed out by he@netbsd.org 2002-01-12 14:20:30 +00:00
manu d6bd9425bf Added clockctl 2002-01-12 13:39:29 +00:00
chris c3abf9a50c Make GENERIC cats kernel boot again. By allocating a 2nd second level page table for the kernel and stack space we can now have to 8MB of kernel and stacks (if the kernel ever gets really bloated might need to add a 3rd!)
Also update the funcs in arm32_machdep.c that create the entries so that on cats they expect the 2 pagetables to be contiguous, note this means that for now cats is special cased in lots of funcs.  I'll tidy this up to something a bit more sane soon, to avoid the multitude of #ifndef cats that I had to sprinkle in.
2002-01-12 13:37:55 +00:00
manu 0079b3711b Added clockctl 2002-01-12 13:33:42 +00:00
manu eb2b0c03da Added clockctl 2002-01-12 13:22:23 +00:00
manu af62e00622 Added clockctl 2002-01-12 13:11:08 +00:00
manu 2efb671770 Added clockctl 2002-01-12 13:00:46 +00:00
manu 26fc3c46e0 dded clockctl 2002-01-12 12:59:11 +00:00
manu 6330e3eab1 Added clockctl 2002-01-12 12:56:39 +00:00
manu d397792cbb Added clockctl 2002-01-12 12:36:31 +00:00
manu 4e294be530 Oops, wrong number (84 -> 69) 2002-01-12 12:32:58 +00:00
manu 5061ccffdc Added clockctl 2002-01-12 12:28:03 +00:00
manu 9a870a5b82 updated chrtoblktbl[] 2002-01-12 12:23:48 +00:00
manu 08daa954b4 Added clockctl 2002-01-12 12:21:09 +00:00
manu 833e540a34 Added clockctl 2002-01-12 12:09:51 +00:00
aymeric 6f9753bcdd Revert last commit in order to do the right thing.
(i.e. use jmp xx:l instead of exporting xx)

No functional change.
2002-01-12 11:45:26 +00:00
tsutsui 7d5571319d Remove .mdebug and .ident sections from ECOFF kernels so that
the ARC BIOS can load ECOFF kernels built with new-toolchain properly.
2002-01-12 04:07:27 +00:00
enami 68f9f4a5d4 Make ehci_pci.c compiles again. 2002-01-12 02:06:23 +00:00
enami 5c12da5b4a Define new macro to access FSR register and use it. 2002-01-12 01:40:36 +00:00
enami 16fc46b962 Access FSR register correctly in struct fpreg.r_regs[].
This fixes sshd (actually, libcrypto) failure with new-toolchain.
2002-01-12 01:37:08 +00:00
eeh 4d28a1937c Trap types should be printed in hex. 2002-01-12 01:07:00 +00:00