Commit Graph

18877 Commits

Author SHA1 Message Date
christos
174916004d Fix another printf format warning. 1996-03-29 01:55:12 +00:00
briggs
efa0c4d683 Make NTOH[SL] and HTON[SL] (void) (x) instead of (x) to get around
compiler warnings.  Followed the lead set in the sparc port.
1996-03-29 01:40:31 +00:00
mycroft
df45c0b542 Prototype some internal functions. 1996-03-29 01:15:04 +00:00
cgd
19b97477b9 make this version of ROUNDUP() consistent with the others in this directory.
(only makes a diff on the alpha.)
1996-03-29 00:32:10 +00:00
cgd
f92325cf2f kill unnecessary (and sometimes dangerous) casts of ioctl commands to int 1996-03-29 00:25:30 +00:00
mycroft
fc8683fbaa Eliminate random warnings. 1996-03-29 00:24:58 +00:00
mycroft
6424af4c10 Prototype delay(). 1996-03-29 00:23:28 +00:00
mycroft
5c3bc6f120 Use %p as appropriate. 1996-03-29 00:11:42 +00:00
mycroft
6e2bbd2d92 Use offsetof() for structure offsets. 1996-03-28 23:44:04 +00:00
mycroft
15fd04d5a4 Really implement ahcprint(). 1996-03-28 22:39:08 +00:00
mycroft
42bfe3a4f3 Add a return type for main(). 1996-03-28 22:33:10 +00:00
mark
06ae03c8b0 Use the generic mouse ioctl names instead of the quadmouse ones. 1996-03-28 21:56:40 +00:00
mark
e50a0e4440 Support the ARM7500 IOMD as well as the RPC600 IOMD. 1996-03-28 21:55:15 +00:00
leo
4f5cc6fac1 Drop in a more interlligent version check. 1996-03-28 21:53:35 +00:00
mark
910ee34995 Remove definitions of the inb() and outb() macros as they are now
defined in a header file.
1996-03-28 21:52:32 +00:00
mark
ba871a93aa Initial commit of the PS2 mouse driver. 1996-03-28 21:50:19 +00:00
mark
0b89016846 ramdisk is now a psuedo device. 1996-03-28 21:45:40 +00:00
mark
1ff14b3c1f ramdisk is now a psuedo device.
Added pms PS2 mouse device.
1996-03-28 21:44:06 +00:00
mark
e36164c8fa If the irq number passed to irq_claim()/irq_release is -1 extract
the irq number from the irqhandler structure.
1996-03-28 21:43:52 +00:00
mark
c5a198dd29 ramdisk device is now a psuedo device.
Added pms device for PS2 style mouse.
1996-03-28 21:42:00 +00:00
mark
8564f152ec Added character device pms to the device table. 1996-03-28 21:40:22 +00:00
mark
9f7a24d309 Initial commit of arm32 section 8 man pages. 1996-03-28 21:39:10 +00:00
mark
f16ab8a1f5 Make the man8.arm32 sub directory. 1996-03-28 21:36:40 +00:00
mark
9d048bd529 Define macros for inb() outb() inw() outw() inl() outl(). 1996-03-28 21:35:51 +00:00
mark
020e35d8ef Make the man4.arm32 subdirectory. 1996-03-28 21:32:58 +00:00
mark
c440845541 Commit or the arm32 device manual pages. 1996-03-28 21:30:19 +00:00
mark
93602531a6 Added definitions for RC7500 motherboard interrupt numbers. 1996-03-28 21:29:32 +00:00
mark
044c783484 Added definitions for RC7500 motherboard IO addresses. 1996-03-28 21:28:21 +00:00
mark
7d06b49a23 Added definitions of ARM7500 IOMD. 1996-03-28 21:26:05 +00:00
mark
0ff466e21a Add VIDC20 phase lock loop frequency information for RC7500
motherboards.
1996-03-28 21:22:24 +00:00
mark
4b10d39797 Added support for RC7500 motherboards and non VRAM video systems.
Use frequency lookup table for RC7500 systems.
1996-03-28 21:18:40 +00:00
mark
fba7f55646 Fix printing during attachment now ramdisk is a psuedo device. 1996-03-28 21:14:13 +00:00
is
a0d45384b6 The interrupt routine of the ivsc (and the empsc, which seems to have copied
it) looks truncated. At least the return(1) is missing, which I now add as
a first stopgap. Somebody needs to find out if anything else is missing for
these boards.
1996-03-28 19:23:32 +00:00
is
8435085f72 Adapt to new attach scheme. Fix operator precedence error. Normalize
function name prefixes.
1996-03-28 18:56:08 +00:00
is
fa2b7f8f47 Emplant SCSI driver backend by Sean Riddle and Bo Najdrovsky. 1996-03-28 18:41:45 +00:00
mycroft
44baed59ef Fix the mailbox unlock code for CF and CP. 1996-03-28 18:19:05 +00:00
jonathan
d76659a9c6 Update Pica machdep.c and locore.S to work with new, "merged" machdep.h:
* Add a MIPS-I (r3000) exception handler to the Pica locore.S.
      Change the names of the masks used to extract the exception code
      to the new MIPS_xxx names.
    *  Rename the vector code from MachException() to
      mips_r4000_exception, in both locore and in the init_main()
      code that copies it from locore to the exception vector locations.

    * Change the locore and C code to use the new MIPS_SR_INT_IE
      name for the Status register master interrupt-enable bit.

Similar changes to the pmax equivalents are in progress.
1996-03-28 12:50:37 +00:00
jonathan
8b7ade02ab Split Per Fogelstrom's Pica trap handler into two parts:
arch/pica/pica/trap.c, a generic mips trap handler
	arch/pica/pica/pica_trap.c, a  handler for Pica interrupts.

so that the common pmax and pica  trap handling can eventually be
merged and moved to arch/mips/mips/trap.c
1996-03-28 12:40:33 +00:00
jonathan
4b0f110028 Remove lint from pica kernel to compile with -Werror:
* Add cast to hardclock when it's used directly as an interrupt handler.
   * Add a null-interrupt-establish function, to avoid int vs void lint
     in pica/dev/dma.c.
   * fix include in pica/include/pccons.h to work with "standard"
     kernel-compile include path.
1996-03-28 12:26:31 +00:00
jonathan
34ab2734da Resolve all differences between the Pica and pmax versions of machConst.h:
* add "MIPS_3k_" for the MIPS-I r[23]000-specific register definitions.
    * add "MIPS_4k_" for the MIPS-II/III r4000-specific register definitions.
    * add #defines that provide the old values for locore and user
      code, so the existing code continues  to compile.

Regression-tested against the  old headers by grepping for #define's,
editing out the defined symbols, and preprocessing with both the previous
machConst.h headers and this version.

Some unused symbols (CPU and FPU must-be-zero constants) are no longer defined.
Pica interrupt masks are now constant expressions instead of constant
values.

TODO:
    * factor out the common #defines into src/sys/arch/mips.
    * Get rid of the Sprite coding-style names (MACH_xxx).
    * Separate out the r3k/r4k differences from the Pica/pmax differences.
    * Figure out how to have a run-time choice of r3k vs. r4k support,
     instead of a compile-time choice.
1996-03-28 11:34:05 +00:00
scottr
c23158c00e - Open device with O_WRONLY only if the command actually writes to the
device, otherwise O_RDONLY.  Thanks to Hitoshi Osada for noticing this.
  Closes PRs 2202 and 2249.
- Style police.
1996-03-28 07:10:05 +00:00
phil
5f5484b74a tweek to delay (locore.s) and to FPU trap handler(trap.c). 1996-03-28 05:00:06 +00:00
phil
e7b9b54ea3 Remove __SWAP_BROKEN. 1996-03-28 04:53:17 +00:00
phil
6d61867cc0 Remove old files not needed now that the pc532 uses the MI ncr5380 driver. 1996-03-28 04:49:32 +00:00
paulus
e170d85c0d Minor bug-fixes to pppd; add -ccp option to disable CCP negotiation
if desired; delete interface addresses on exit.
1996-03-28 02:50:57 +00:00
paulus
e8f5c6972e Fix problem of printing large numbers (as deltas) when the kernel
ppp stats get reset.
1996-03-28 02:42:29 +00:00
cgd
80ed7f1dc8 remove inappropriate an potentially confusing comments ("unnecessary?") from
the pa_device and pa_function members of the pci_attach_args structure.
1996-03-28 02:16:23 +00:00
mark
611837babe RCS Id police. 1996-03-27 22:42:08 +00:00
mark
57dd9b776a Push r4-r6 on the stack at the beginning of the function to avoid
trashing r5 and r6 if copystr() is called with a length of 0.
1996-03-27 22:19:32 +00:00
mark
c8d5b80dea Define name for the floppy interrupt handler.
Fixed declartion of fdopen() now that it does not clash with fdesc open
function.
1996-03-27 22:18:44 +00:00