drochner
5e990a7f7c
implement bus_space_vaddr()
2000-04-17 17:39:17 +00:00
mark
b9156eec05
Add missing include of vm/vm.h
2000-04-09 00:18:12 +00:00
thorpej
4044b5a41c
Use separate callouts for motor-on and motor-off. Fixes a condition
...
where the floppy driver would wedge because a motor-on timeout would
be cancelled by another I/O operation cancelling a motor-off timeout.
From enami tsugutomo <enami@sm.sony.co.jp>.
2000-04-07 16:58:53 +00:00
thorpej
b667a5a357
New callout mechanism with two major improvements over the old
...
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
resource allocation.
- Insertion and removal of callouts is constant time, important as
this facility is used quite a lot in the kernel.
The old timeout()/untimeout() API has been removed from the kernel.
2000-03-23 06:30:07 +00:00
mark
9316cea99d
Remove unnecessary cf_unit usage.
2000-02-13 04:59:57 +00:00
thorpej
fe551f0e64
Fix a bug in disksort_*() which caused non-optimal ordering when multiple
...
active partitions were on a single spindle. Add a b_rawblkno member to
struct buf which contains the non-partition-relative block number to sort
by.
2000-02-07 20:16:47 +00:00
thorpej
52242fdf9f
Update for sys/buf.h/disksort_*() changes.
2000-01-21 23:28:59 +00:00
cgd
c9c2181ed9
provide an __ELF__ version of _C_FUNC and _C_LABEL, convert the assembly
...
#defines in asm.h to use them, and convert code which needs to use C labels
to use _C_LABEL as well. (I can't see any reason why the label vs. function
differentiation shouldn't be GC'd; i only added uses of _C_LABEL.) This
should help if this port is converted to use ELF, and was checked by
compiling all kernels in arm32/conf (with some driver removals and some
MI header fixups re: common blocks) with an arm-linux ELF toolchain.
1999-10-26 06:53:41 +00:00
is
d93a991a48
Make cpu_model big enough to hold the DNARD cpu's identification, and a bit
...
more.
1999-02-26 12:05:49 +00:00
mark
14a36628f5
Add a missing semi colon.
1998-12-31 09:37:12 +00:00
mark
058cf2a88c
Apply patch from PR port-arm32/6357 to make the wdc attachment to the
...
RiscPC mainbus work correctly.
From Richard Earnshaw.
1998-12-28 09:40:28 +00:00
bouyer
47ab212504
Rename pio_mode, etc ... to PIO_cap, etc ... for consistency with the
...
ata_drive_datas struct. Suggested by Soren S. Jorvan.
1998-12-03 18:24:30 +00:00
drochner
e1244719fd
oops - forget update for wdc_channels definition change
1998-11-22 14:36:38 +00:00
bouyer
19fddaeeb5
Merge bouyer-ide
1998-10-12 16:09:10 +00:00
mark
071b4fc4d2
Re-written the wdc attachments to attach to the MI wdc driver instead
...
of the MD one.
1998-09-22 00:40:37 +00:00
mark
aa9401f832
Fix calculation of I/O range when printing child information.
1998-09-22 00:33:51 +00:00
is
95807e512a
Garbage collect unused 3rd parameter to comprobe1().
1998-09-16 21:30:58 +00:00
mark
f21d591227
Convert bzero() to memset().
1998-09-06 04:24:18 +00:00
mark
249cdfe998
Convert b*() functions to mem*().
1998-09-06 04:20:37 +00:00
mark
9eb28e934b
Include sys/types.h instead of sys/param.h
...
Junk some un-needed includes and include cpu.h.
1998-08-29 04:05:44 +00:00
mark
ae7526d965
Removed some un-necessary includes.
1998-08-29 04:01:58 +00:00
mycroft
d07b3639a4
Assign my copyrights to TNF.
1998-08-15 17:47:15 +00:00
mycroft
6dc903202f
Assign my copyrights to TNF.
1998-08-15 10:10:47 +00:00
mark
25997dd19d
IPL_TTY -> IPL_SERIAL.
1998-08-04 20:09:37 +00:00
mark
4a463e49fe
defopt CPU_* options in opt_cputypes.h
1998-07-07 03:05:15 +00:00
mark
68dd742555
Include opt_armfpe.h
1998-07-06 18:13:26 +00:00
jonathan
466e784ee1
defopt DDB.
1998-07-04 22:18:13 +00:00
thorpej
46320bb017
Clean up the bus space function namespace somewhat; make sure they don't
...
collide with function names used in other parts of the kernel.
1998-06-28 07:27:51 +00:00
mark
2c44cea3ba
Added console probe and init functions so serial consoles are supported
...
serial ports via the pioc.
Removed redundant header files.
1998-06-17 00:37:00 +00:00
mark
07a0c680a7
Define the cpu_softc structure here.
...
Include armfpe.h to get the prototype for initialise_arm_fpe().
1998-05-01 15:33:42 +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
ba8b28d360
Remove local prototypes of strstr().
1998-02-21 22:51:43 +00:00
cgd
f98d915597
remove gross temporary hacks implemented to pacify com.c. That's
...
been done in a cleaner way by cleaning up the com.c #ifdefs some.
Software tty interrupts should be implemented on NetBSD/arm32,
but these hacks are no longer necessary to work around the lack.
1998-02-02 23:05:50 +00:00
mark
a89dd06bf2
Removed unused variables and prototypes for the benefit of -Wall -Werror.
1998-01-18 03:42:58 +00:00
thorpej
687449a900
Update for changes to config.
1998-01-13 02:09:58 +00:00
mark
fe47853f6f
Use the soft copy of the cpu control register instead of trying to read
...
the cpu control register as this register is write only on some processors.
1997-11-06 00:51:02 +00:00
mark
0b03e20959
Include <vm/vm.h>
1997-10-17 06:59:25 +00:00
mark
6886eff3c5
Updated for recent changes to the wd driver. Use wdlink.h instead
...
of wdcvar.h
1997-10-17 06:52:26 +00:00
mark
0f1f684082
Updated to use the MI dev/ic/com.c driver.
1997-10-16 18:37:38 +00:00
mark
189bd69e2b
Updated to use the MI dev/ic/lpt.c driver.
1997-10-16 18:35:53 +00:00
mark
b0d9812b9c
arm32 kernel source restructure
...
- This driver is RC7500 dependant and has been moved to the RC7500
specific directory.
- Ideally this driver should be using a dev/ic driver.
1997-10-14 21:38:49 +00:00
mark
340335d484
Updated to reflect arm32 kernel source restructuring.
...
Use the bs_notimpl functions rather than creating a set of dummies
for un-supported bus space tag functions.
1997-10-14 21:25:01 +00:00
mark
be34bc3390
Support kernels build with no floating point hardware or emulator support.
...
This will be the standard as we are switching to soft-float compiling.
Implemented ARM8 CPU support.
1997-10-14 20:01:54 +00:00
mark
a1a5af087e
arm32 kernel source restructure
...
- The floppy driver now attaches as a child of the pioc device.
1997-10-14 20:00:03 +00:00
mark
c907dcc22c
arm32 kernel source restructure
...
- Implement pioc device driver that handles the memory mapped serial,
parallel, floppy and IDE interfaces.
- Provide child attachments to the generic drivers for serial,
parallel and IDE.
1997-10-14 19:57:39 +00:00
mark
416b5e2fd3
arm32 kernel source restructure
...
- These drivers have had the mainbus specific attachments removed so
that they can be shared between arm32 busses.
- Moved to arm32/dev
1997-10-14 18:55:49 +00:00
mark
84d5e5ef0a
arm32 kernel source restructure
...
- The devices are VIDC specific and thus are moving to the arm32/vidc
directory.
1997-10-14 11:53:59 +00:00
mark
f26efbb3d5
arm32 kernel source restructure
...
- These files are not generic or even really mainbus specific.
They are IOMD specific device.
- These devices have been re-written as child devices of the IOMD
device and the new versions will take up residence in the arm32/iomd
directory with the other IOMD specific code.
1997-10-14 11:13:20 +00:00
mycroft
3081c6f8cf
AudioC[A-Z] -> AudioC[a-z]
...
AudioElinear -> AudioEslinear
1997-10-11 12:43:51 +00:00
thorpej
e3834cc351
Implement DIOCGDEFLABEL.
1997-10-08 23:37:50 +00:00