mjacob
0229740b5e
removal of unneeded define
1998-04-15 00:49:17 +00:00
mjacob
5f59df9630
oops on byte enables for TurboLaser systems
1998-04-15 00:48:58 +00:00
mjacob
4fa71d82a5
add Alpha 4100 support
1998-04-15 00:46:57 +00:00
mjacob
17ec1fbf11
clarification of comment
1998-04-15 00:46:41 +00:00
mjacob
65e5c41fad
do not cia include files here
1998-04-15 00:46:17 +00:00
mjacob
d3f1c5b8d8
add Alpha 4100 support
1998-04-15 00:45:43 +00:00
thorpej
164f56220e
Add support for the Cypress CY82C693 PCI-ISA bridge. This bridge is more or
...
less like an Intel SIO except that the ELCR registers are accessed differently
than on the Intel SIO.
XXX This code needs to be split up into bridge front-end and PIC back-end
XXX pieces.
1998-04-14 22:31:17 +00:00
thorpej
4c01c3c48e
Pass the pci_chipset_tag_t to sio_intr_setup(). XXX This code should be
...
rearranged so that other non-PCI-but-in-all-other-ways-ISA-PIC-like
devices can share code.
1998-04-14 22:20:59 +00:00
thorpej
a95c0ac15a
Add pci_conf_print(), a function to dump the PCI configuration space, useful
...
in driver debugging. From Zubin D. Dittia <zubin@clouseau.arl.wustl.edu>,
PR #4249 .
1998-04-14 21:24:50 +00:00
thorpej
ce28bee247
Add UDF and 66MHz capable bit definitions for the PCI status register.
...
From Zubin D. Dittia <zubin@clouseau.arl.wustl.edu>, PR #4249 .
1998-04-14 21:22:44 +00:00
is
c61f5c0cc5
Uhm... looks like I forgot this when doing the MACHINE_NEW_NONCONTIG stuff.
...
Sorry folks.
1998-04-14 20:18:08 +00:00
thorpej
ddf189f7da
Remove the stuff that was apparently not intended for commit in the
...
previous change.
1998-04-13 22:18:03 +00:00
frueauf
f7a146be7b
Add isa/pcvt to SUBDIR, this will install /usr/include/machine/pcvt_ioctl.h
...
which is needed by our default xsrc on i386. Closes pr 1391.
1998-04-13 21:54:30 +00:00
kml
fcf0227962
Fix to ensure that the correct MSS is advertised for loopback
...
TCP connections by using the MTU of the interface. Also added
a knob, mss_ifmtu, to force all connections to use the MTU of
the interface to calculate the advertised MSS.
1998-04-13 21:18:19 +00:00
augustss
993dcaa947
Add another device, YMH0021. From nathanw@MIT.EDU, PR #5289 .
1998-04-13 13:19:40 +00:00
ragge
470ec523f2
Wall cleaning.
1998-04-13 12:15:56 +00:00
ragge
4bcd8130fe
t_wopen fixes.
1998-04-13 12:14:42 +00:00
ragge
eaeee62af2
Wall cleaning.
1998-04-13 12:10:26 +00:00
scottr
0dfa8582c5
Make type explicit for egcs, from Erik Bertelsen in PR 5287.
...
Dump the register qualifier while we're here, as suggested in the PR.
1998-04-13 02:51:32 +00:00
scottr
d87f21702e
Make type explicit for egcs, from Erik Bertelsen in PR 5288.
1998-04-13 02:36:24 +00:00
scottr
9a7810a03e
Make type explicit for egcs, from Erik Bertelsen in PR 5288.
...
While we're here, kill register qualifier and other KNF.
1998-04-13 02:35:21 +00:00
tv
b21bfbde11
Add -Wno-main conditional on compiler being gcc 2.8 or egcs. (This adds
...
a HAVE_GCC28 check-variable that can now be used to add other gcc-2.8
flags in cases where they may be useful, or to remove gcc 2.7.2 "bug
workaround" flags.)
1998-04-12 23:47:41 +00:00
mjacob
e40e2ff2d0
A little buglet: softc for pceb is same as sio- so declare it as such.
...
By not doing so, a very obscure bug followed where the config search
stuff stopped at the bridge (pceb) and didn't even call match for the
two Qlogic ISP cards that followed.
1998-04-12 08:32:19 +00:00
is
4e23fff56a
Make ser.c compile again (preliminary release). It needs still a lot of
...
cleanup, but at least mainstream usage should be possible again (worked
for me 5 minutes ago).
1998-04-11 19:30:56 +00:00
is
da0b5bf913
amiga_ttyspl -> amiga_serialspl (and keep ttyspl constant at 4 again).
...
(Part of this change slipped in with my last machdep commit; thanks to
Matthias Scheler for pointing this out).
1998-04-11 18:28:33 +00:00
matthias
2fe02dea17
Changes for kernels compiled with -mrtd:
...
locore.s:
- cpu_switch "returns" to proc_trampoline after cpu_fork. cpu_switch is
called with an argument, remove it from the stack when not compiled
with -DMRTD.
- use KENTRY instead of ENTRY for all functions called from C.
- when calling C code, don't clean up the stack when compiled with -DMRTD.
- need to split fusubail into fubail and subail, because fu and su
take different number of arguments.
machdep.c:
- set sf_p when dumping
- new function do_softclock (that just calls softclock) because softclock
doesn't take an argument.
mainbus.c:
- establish softclock interrupt to call do_softclock
trap.c:
- trap() and syscall() allways use std C calling conventions.
- need to split fusubail into fubail and subail, because fu and su
take different number of arguments.
- make child_return take only one argument like the other functions
"called" via cpu_set_kpc.
vm_machdep.c:
- set sf_p in cpu_fork.
1998-04-11 17:44:11 +00:00
matthias
bd4f1b48a9
cpu_switch is called with an argument. Reflect this in the switchframe.
1998-04-11 17:30:40 +00:00
mhitch
11b4024ccf
Initialize proc0.p_addr so we don't dref NULL in trap(). [From hp300 locore.s]
...
Fixes PR 5281.
1998-04-11 16:13:57 +00:00
veego
dd9d3a3015
Fix an error introduced in rev 1.39 where jason fixed kern/5271:
...
s/vp/ap->a_vp/ in line 715.
1998-04-11 08:51:12 +00:00
cgd
edcb9b60e1
current_spl_level should be initialized to _SPL_HIGH.
1998-04-10 20:29:02 +00:00
mjacob
76970a00f5
trim ID of ST19171FC so that SUN drives are caught
1998-04-10 17:13:11 +00:00
mhitch
18114765d8
Fix a bug I think I introduced long, long ago. The bug would only show
...
up on systems that have Zorro I/O space allocated outside the Z2 I/O
region, and then only if kvm usage is high enough to begin allocating
pages already mapped for hardware mappings. Found and fixed by Niklas
Hallqvist on OpenBSD.
From niklas@cvs.openbsd.org:
Yay! This fixes a bug that has been there since day one of the amiga port.
We have never protected the kvm area that maps Zorro I/O registers in the
Z2 memory space from being allocated by the kmem_* routines. Lately kvm
usage has increased and we have needed more kvm allocated than earlier thus
this area have got allocated with random results. Most often resulting in
MMU fault panics, but also in hangs. This bug has stalled the amiga port
release builds for several weeks, but now I *hope* the amiga will have a
chance to be built and tested in time for 2.3.
1998-04-10 15:59:35 +00:00
leo
85966e661a
Use MI wdc-driver.
1998-04-10 10:37:04 +00:00
leo
bc2d7f642e
le_bus.c is dependent on pci & isa.
1998-04-10 10:28:47 +00:00
leo
bc9ebf17a7
Major overhaul of the atari bus_space implementation.
1998-04-10 08:19:53 +00:00
mark
af29a19dd0
Fix the interrupt number for the PS/2 mouse port on the ARM7500
...
(from David Forbes).
1998-04-10 06:54:30 +00:00
mark
447623df53
Correct the values of IOMD_MSDATA and IOMD_MSCR as they are 4 times too
...
big. Spotted by David Forbes.
1998-04-10 06:53:08 +00:00
scottr
ff2ed23c61
If we know the location and size of the on-board video buffer,
...
don't bother to try and suck the information out of the Mac OS page
tables.
1998-04-10 02:56:56 +00:00
thorpej
13eebaf27e
Fix two problems in union_link():
...
(1) Fix a typo that caused a NULL pointer deref.
(2) union_copyup() locks the vnode, so unlock it before calling relookup().
PR #5272 , MINOURA, Makoto <minoura@kw.netlaputa.ne.jp>.
1998-04-10 01:43:54 +00:00
thorpej
181995d5f7
Fix possible stray pointer deref in union_access, per PR #5271 ,
...
submitted by MINOURA, Makoto <minoura@kw.netlaputa.ne.jp>.
1998-04-10 01:39:45 +00:00
thorpej
db453b872d
Add support for the VIA Technologies VT86C926, from Kazuki Sakamoto,
...
PR #5256 .
1998-04-10 01:28:59 +00:00
hannken
30244f4eb7
Forgot to initialize sc->ioctl. From Matthias Drochner.
1998-04-09 17:16:57 +00:00
hannken
311e30018d
Split wscons/wskbd.c's softc into a static and a nonstatic part.
...
Booting into debugger (-d) now works.
Cleaned wscons/wskbdvar.h. Use the same attach arguments for
console and normal keyboards.
1998-04-09 13:09:45 +00:00
tv
482063559a
.y.c <sys.mk> rule fixes. Don't create a y.tab.h file unless asked for,
...
and use smarter creation of the header file.
1998-04-09 00:32:31 +00:00
thorpej
fe97b1da8e
Oops, fix a typo.
1998-04-09 00:24:05 +00:00
thorpej
2018d40811
Allocate kernel virtual address space for the U-area before allocating
...
the new proc structure when performing a fork. This makes it much
easier to abort a fork operation and return an error if we run out
of KVA space.
The U-area pages are still wired down in {,u}vm_fork(), as before.
1998-04-09 00:23:38 +00:00
pk
98e9f557c2
No need to export bus_intr_establish().
1998-04-07 20:43:58 +00:00
pk
03b9fa0bc1
Change last arg of vct_mmap_cookie' from
int *' to `bus_space_handle_t *'.
1998-04-07 20:31:26 +00:00
pk
beb02e6b82
Use bus space methods to implement the vme bus space functions.
1998-04-07 20:21:55 +00:00
pk
b333d0bb62
The bus space functions now take care of "pass-through" methods.
1998-04-07 20:20:03 +00:00
pk
fbc1fe8213
bus_space_mmap() has changed to take a `bus_space_handle_t *' argument,
...
like other bus space methods.
1998-04-07 20:18:17 +00:00
pk
3f455e21d9
The bus space functions now take care of "pass-through" methods.
1998-04-07 20:11:54 +00:00
pk
5ecf4dce67
Remove old mapdev() function prototype.
1998-04-07 20:08:29 +00:00
pk
286472fe4d
* Pass the bus tag instead of just the cookie to all bus space methods.
...
* In the bus tag structure, keep a reference to the parent bus.
* Express all bus space methods as inline functions in stead of macros
and use the parent bus tag reference to find the nearest "upstream"
bus that implements the method.
1998-04-07 20:07:23 +00:00
pk
dd3352e3e3
bus_space_*() functions now have the bus tag as first argument.
...
Remove old mapdev() function that is no longer used.
1998-04-07 19:57:37 +00:00
leo
fe60e74148
Add hooks to make exclusive hardware locking possible. This is necessary
...
to make the driver suitable for the atari falcon.
1998-04-07 19:51:57 +00:00
is
1e9c878d39
ser.c, mfc.c and msc.c dont compile currently.
1998-04-07 19:43:08 +00:00
thorpej
8e115c7176
Fill in pmap_collect(), doing what the Alpha port's pmap does - forget
...
the physical mappings for the entire address space, thus freeing up
the page tables held by the pmap.
1998-04-07 18:32:10 +00:00
drochner
0391896c27
Avoid namespace pollution.
1998-04-07 16:35:42 +00:00
drochner
2eea6bd8a4
We can't trust the "delay port" anymore - it doesn't work as expected on
...
newer chipsets. Use delay() instead.
Being here, remove BROKEN_INDIRECT_CONFIG.
1998-04-07 16:23:19 +00:00
drochner
ec9776e3ab
Fix calculation of console minor device number.
...
Being here, remove BROKEN_INDIRECT_CONFIG.
1998-04-07 16:06:33 +00:00
drochner
7ce1360e4a
Put some diagnostic output inside "#ifdef DIAGNOSTIC".
...
Being here, remove BROKEN_INDIRECT_CONFIG.
1998-04-07 16:02:25 +00:00
drochner
11da32b13c
Clean up diagnostic printouts.
...
Being here, remove BROKEN_INDIRECT_CONFIG.
1998-04-07 15:57:48 +00:00
hannken
244266226c
Fix typo.
1998-04-07 13:59:38 +00:00
hannken
47e698143a
Oops. Forgot RCS ident and copyright.
1998-04-07 13:57:56 +00:00
hannken
64f1bb73d6
Initial import of MI keyboard translation for dev/wscons.
1998-04-07 13:43:16 +00:00
matt
b80f703f77
Fix problem with promicuously received packets. (ie. give them to bpf
...
but not fddi_input).
1998-04-07 13:32:06 +00:00
thorpej
47b4697587
Remember any source routes that may have accompanied a SYN.
1998-04-07 05:09:19 +00:00
matthias
b47b6cc4d2
New macro KENTRY to declare assembler functions used by the kernel to
...
make -mrtd kernels possible.
1998-04-03 23:01:37 +00:00
matthias
35d6e9297e
Prepare assembler source files for -mrtd kernels.
1998-04-03 22:59:28 +00:00
pk
676939e234
Make the single-step support routines available to KGDB-only kernels as well.
1998-04-03 19:53:36 +00:00
pk
380f5e600d
Pull in db_run.c and db_access.c if KGDB is defined.
1998-04-03 19:50:50 +00:00
pk
df2b26547d
If `SOFTWARE_SSTEP' is defined then kgdb_stub.c needs the single-step
...
emulation in db_run.c:
- re-arrange `db_*_single_step()' and `db_*_temp_breakpoint()' -
which are only used in the `SOFTWARE_SSTEP' case - so these
are available to the KGDB code.
- make other code in db_run.c conditional on `DDB'.
1998-04-03 19:45:12 +00:00
pk
13ff2cb86b
Pull in prototypes from <ddb/db_run.h> and <ddb/db_access.h>.
1998-04-03 19:34:24 +00:00
cgd
b81a5e0d4c
set apm_damn_fool_bios on standby request if another request is
...
already in progress (as is done in the suspend case). Suggested
by Soren S. Jorvang in PR 5246, but diff in that PR cleaned up so
it'd still work right when debugging printfs were enabled.
1998-04-03 18:18:05 +00:00
thorpej
04d3f25df8
Now that we have a flags word in the syn cache entry, use a flag to indicate
...
"peer will do timestamps" rather than a bitfield, and give the now-unsed
bit to the hash, making it now 32 bits.
1998-04-03 08:02:45 +00:00
thorpej
b7c562b21c
Clean up some comments wrt. the syn cache code.
1998-04-03 07:54:01 +00:00
thorpej
30fcf99ef8
Fix a bug which would cause a panic in soreceive() if multiple raw
...
receivers ask for ancillary data.
Noted by Francis Dupont <Francis.Dupont@inria.fr> on tech-net.
1998-04-03 07:49:16 +00:00
enami
848e8406bc
The fe driver is spilt into ate, fmv and mbe, and this file is no longer
...
necessary.
1998-04-03 04:46:46 +00:00
enami
910e6420e0
Delete entry for fe*.
1998-04-03 04:44:39 +00:00
enami
f7fc870789
Add entry for aic* at isapnp, but comment outed.
1998-04-03 04:35:39 +00:00
enami
6821ff25c2
Add entry for aic* at isapnp.
1998-04-03 04:35:05 +00:00
enami
6223459801
Add entry for mbe* at pcmcia (but comment outed).
1998-04-03 04:29:52 +00:00
enami
c95ab20c4a
Add entry for mbe* at pcmcia.
1998-04-03 04:29:13 +00:00
enami
078370be30
Add comment outed entries for ate0 and fmv0.
...
Remove fe0.
1998-04-03 04:25:15 +00:00
enami
b1b3597d5e
Add entries for ate0 and fmv0 (former is tested but latter is not).
...
Remove fe0.
1998-04-03 04:23:50 +00:00
mark
3d26c2dbf1
In cpu_fork() if the vmspace is shared don't fiddle with it. e.g. don't
...
try and replace the zero page pagetable and mapping.
1998-04-03 01:58:40 +00:00
mark
d6fb052cdd
Setup proc0.p_addr much earlier on in the startup.
1998-04-03 01:56:34 +00:00
mycroft
eb466ba47f
Make sure to unload and recycle the DMA map for a bad received packet.
...
This was (indirectly) the reason for machines `hanging' (actually, looping in
tulip_rx_intr()) with de cards.
1998-04-02 13:49:32 +00:00
kleink
a1079109bf
Substitute unsigned int' for
u_int'. Also, don't pollute name space with
...
INFTIM in case of _XOPEN_SOURCE.
1998-04-02 13:22:09 +00:00
cgd
0d0f2a0713
kill unnecessary (unused) definition of partab (char partab[];), which
...
caused a compiler warning with egcs.
1998-04-02 02:46:02 +00:00
mark
27af7137f4
Overhaulled cpu_reboot(). Junked all the boot action garbage and just use
...
howto to dictate what operations to perform.
Removed support for calling the deprecated kshell stuff.
1998-04-02 02:01:13 +00:00
mark
ac4c80ec10
Include machine/asm.h and use the ENTRY() macro for all function entry
...
points.
1998-04-01 23:14:21 +00:00
mark
90a05fec98
Tidied up various comments. Use the function entry macros from asm.h for
...
all entry points and don't bother profiling cpu_reset().
Flush the I and D TLB's after turning the MMU and cache off in cpu_reset().
1998-04-01 23:12:32 +00:00
mark
b2286e384a
Include machine/asm.h and use the macros from there for declaring
...
the function entry points.
Removed some redundant .req statements.
1998-04-01 23:09:06 +00:00
mark
a877b68db5
Don't include sys/device.h here.
1998-04-01 23:05:28 +00:00
mark
f0393b3819
Remove a chunk of dead comments as they appears in disassem.c where
...
they make a lot more sense.
1998-04-01 23:04:16 +00:00
mark
4a96466f61
Remove redundant .req assembler statements.
1998-04-01 23:02:32 +00:00
mark
eb81ac0bbc
Remove a load of redundant .req statements.
1998-04-01 23:00:13 +00:00
mark
ae5c857ba4
Remove redundant .req statements.
...
Make various entry points non-profiling.
1998-04-01 22:59:25 +00:00