Commit Graph

14727 Commits

Author SHA1 Message Date
cgd
9596fd8a77 only call the device close routine on a (fall-through) error if
F_NODEV isn't set in the file flags for the file being opened.
Pointed out by Matthias Drochner in PR 3122.  (fix equivalent to
the one he included, but stylistically different.)
1997-01-17 20:03:53 +00:00
mikel
9be91c7fb4 fix my typo; found by Klaus Klein <kleink@layla.inka.de> 1997-01-17 17:06:06 +00:00
gwr
4dcea02177 Fix a comment (PCB_MMUCTX is a virtual address). 1997-01-17 16:30:05 +00:00
gwr
aaf91fd6aa Adapt to rename of pcb_mmuctx to pcb_mmucrp, and corrected
prototype of loadcrp(), which kills some bogus type casts.
1997-01-17 16:27:17 +00:00
gwr
3d9b2f50ef Give declaration of loadcrp() its actual argument type. 1997-01-17 16:25:02 +00:00
gwr
a0881e24c2 Rename pcb_mmuctx to pcb_mmucrp and make it a struct pointer. 1997-01-17 16:22:39 +00:00
gwr
67015f3d8b Update for rename of pcb_mmuctx to pcb_mmucrp
Also reorder things a little.
1997-01-17 16:19:42 +00:00
gwr
b7034c364b Use bus_mapin() instead of obio_alloc(). 1997-01-17 16:15:44 +00:00
gwr
c3621700c9 Add PCB_MMUCTX, and reorder things a little. 1997-01-17 15:03:39 +00:00
is
972ce7fa89 Fix PR 3090. While here, fix two other comments. 1997-01-17 14:29:42 +00:00
mikel
313f6180e6 add prototypes for ethers(3) functions; fixes PR 2471.
fix suggested by Jason Thorpe.
1997-01-17 08:17:57 +00:00
mrg
152f8d880d add MSDOSFS. 1997-01-17 03:43:56 +00:00
jeremy
d4be114b3e Added two additional bits (ACON and BCON) to the initilization constant for
the CSR3.  The chip now successfully reads and writes its initialization
block and ring descriptors and is fully operational.  (Thanks to Gordon
Ross for suspecting the misconfiguration.)
1997-01-17 03:42:15 +00:00
mark
12af47bc6a The powertec card uses a 40MHz clock frequency.
Report the driver as polling at attach time is so configured.
1997-01-17 01:12:26 +00:00
mark
6df208b349 Added files for podulebus mapping and read/write routines. 1997-01-17 01:08:42 +00:00
mark
cf799895fc Pass a podule bus space tag in the pa_iot field of the podule
attach args.
1997-01-17 01:07:58 +00:00
mark
5c03890971 Updated for the new bus space implementation.
Added a pa_iot field to the podule attach args structure.
1997-01-17 01:04:02 +00:00
mark
6caa7a0b4b Implement a set of functions that provide bus space mapping and
read/write routines for the podulebus.
1997-01-17 01:00:47 +00:00
mark
012b3502f7 Implemented the functions inswm8() and outswm8() that are optimised
tranfer routines for use where the I/O register is multiply mapped into
a block of 8 consecutive word. This allows LDM/STM instructions to be
used to improve the read write performance.
1997-01-17 00:56:24 +00:00
perry
090b876b86 added options I686_CPU (commented or uncommented) per thorpej 1997-01-16 23:30:28 +00:00
christos
4d08f671d5 Add Plug and Play devices 1997-01-16 23:25:03 +00:00
perry
c5d453076d print 'with MMX' for MMX CPUs (from Martin Husemann) -- fixes pr-3110 1997-01-16 23:21:14 +00:00
christos
c3be709b8c - add the Plug and Play glue
- make the joystick driver use it.
1997-01-16 23:19:56 +00:00
perry
5ee4204742 fix CPUID table for 486SX (from Scott Telford) -- fixes pr-3107 1997-01-16 23:18:04 +00:00
christos
be20628b9e - conversion to bus_space_* macros
- split the isa and pnp attachments
1997-01-16 23:17:45 +00:00
christos
0df79f25ad i386 plug and play glue 1997-01-16 23:12:22 +00:00
gwr
f286cdd282 Move declaration of struct mmu_rootptr to mc68851.h
Kill a cast that is now unnecessary.
1997-01-16 22:12:50 +00:00
gwr
dad92086a4 Make sure the string passed to mon_reboot() is in our data segment
where the PROM can see it.  (Bug found by Jeremy  -- Thanks!)
1997-01-16 22:08:31 +00:00
christos
cf455412fc Plug and Play support. 1997-01-16 22:00:57 +00:00
gwr
30f35224e5 Pretend loadcrp() takes an int arg for now.
Probably should be (struct mmu_rootptr *)
1997-01-16 21:56:36 +00:00
gwr
07a2670421 Before dropping into the PROM monitor, restore its CPU Root Pointer (CRP),
and restore our own CRP if we resume.  Make sure the string passed to
mon_reboot() is in our data segment where the PROM can see it.
1997-01-16 21:53:07 +00:00
gwr
477556a159 Add an introductory comment about pte.h vs mc68851.h
Move sun3x_round_up_page() to here.
1997-01-16 21:48:32 +00:00
gwr
cd7b9cf2ee Add an introductory comment about pte.h vs mc68851.h
Move sun3x_round_up_page() to pte.h
Define struct mmu_rootptr here.
1997-01-16 21:47:31 +00:00
christos
e6717c0bc9 - convert to bus_space_*
- split attachment code to sb_isa.c
1997-01-16 21:03:30 +00:00
cgd
71db072b94 update copyright 1997-01-16 20:41:54 +00:00
cgd
1a2b5aa691 clean up, deal with secondary bootstrap programs not on 'a' partition
'a' partition not starting at 0.
1997-01-16 20:40:05 +00:00
gwr
4ed08a77d2 Move include of trap.h from genassym.c to locore.s 1997-01-16 17:30:20 +00:00
gwr
66a113c1a3 Use db_regs_t instead of struct mc68020_saved_state 1997-01-16 15:41:39 +00:00
gwr
4479ccc534 Use db_regs_t instead of struct mc68020_saved_state 1997-01-16 15:30:57 +00:00
cgd
274cf3fbf9 move the secondary bootstrap down (to 0x20004000), and add a HEAP_LIMIT
so that we don't exhaust our bootstrap address space (when using the new,
not yet checked in, memory allocator).
1997-01-16 07:50:34 +00:00
jeremy
499dd92e9d Added conditional include of iommu kernel driver manipulation routines.
Fixed a few comments.
1997-01-16 06:38:26 +00:00
cgd
b1f42c3a13 add memcmp, implemented as a wrapper around bcmp() (like memcpy() is
implemented as a wrapper around bcopy()).
1997-01-16 04:06:15 +00:00
cgd
cfe73ab59b clean up 1997-01-16 03:00:22 +00:00
cgd
3fb0a713f5 seriously clean up makefiles. use libsa/libkern/libz as appropriate,
and don't build the various sources into objs locally by specifying
them directly in the Makefiles.
1997-01-16 02:59:08 +00:00
cgd
653e0e50fe more carefully include libkern and libsa headers 1997-01-16 01:21:36 +00:00
cgd
904a2dc374 link installboot statically, and include libutil 1997-01-16 01:20:24 +00:00
cgd
f515ce7937 add sources, all copied verbatim from src/lib/libz 1997-01-16 00:21:43 +00:00
cgd
e18d476d7c add Makefiles to build kernel 'libz' library, expected to be used by
boot blocks to load compressed images.  Sources and headers are copied
from src/lib (src/lib/libz, in particular) by making the 'update-sources'
target in this directory.  This library builds in a manner similar to
libkern; much of the Makefile hackery was taken from there.
1997-01-16 00:19:04 +00:00
gwr
6e961cf5de Use db_regs_t instead of struct mc68020_saved_state 1997-01-15 23:11:46 +00:00
cgd
942c20dfac change the fixed delay to allow serial console output to settle
to something smarter, suggested by Charles Hannum.
1997-01-15 22:13:36 +00:00