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
dc59bc1db3
Update for sys/buf.h/disksort_*() changes.
2000-01-21 23:39:55 +00:00
minoura
2a71e2c15e
Minor cleanups & corrections.
2000-01-16 14:20:54 +00:00
itohy
cf055ef630
Change the implementation of ms(4) polling to use timeout(9) software
...
interrupt in order to eliminate glitches on MPU interrupt levels.
I don't know whether this is a good solution, but it does work.
2000-01-14 08:22:42 +00:00
itohy
169af5c51b
Add a dummy read just after enabling receiver interrupt.
...
If the receiver already has datum, no further arrival of
data is possible and no interrupts will occur.
This change fixes problem that pressing key during boot
may sometimes disable the keyboard.
Remove unreferenced variable "in" in kbdcngetc().
1999-12-03 00:14:06 +00:00
minoura
bf013a4539
Remove ether+ driver. Requested by msaitoh.
1999-11-27 15:57:17 +00:00
sommerfeld
17d170b1ca
defopt COM_DEBUG, COM_HAYESP, and COM16650
1999-11-22 03:53:38 +00:00
minoura
e8a82e3d7e
Do not reset SCSI bus.
1999-11-18 15:03:03 +00:00
thorpej
e6c88a7686
Update for SCSIPI changes.
1999-09-30 22:59:52 +00:00
thorpej
eb20bbc780
Change the semantics of splsoftclock() to be like other spl*() functions,
...
that is priority is rasied. Add a new spllowersoftclock() to provide the
atomic drop-to-softclock semantics that the old splsoftclock() provided,
and update calls accordingly.
This fixes a problem with using the "rnd" pseudo-device from within
interrupt context to extract random data (e.g. from within the softnet
interrupt) where doing so would incorrectly unblock interrupts (causing
all sorts of lossage).
XXX 4 platforms do not have priority-raising capability: newsmips, sparc,
XXX sparc64, and VAX. This platforms still have this bug until their
XXX spl*() functions are fixed.
1999-08-05 18:08:08 +00:00
thorpej
3ebbe095e0
Change the pmap_extract() interface to:
...
boolean_t pmap_extract(pmap_t, vaddr_t, paddr_t *);
This makes it possible for the pmap to map physical address 0.
1999-07-08 18:05:21 +00:00
minoura
1330797741
Restore scroll registers after X server exits.
1999-06-27 14:14:30 +00:00
minoura
c88662958f
include sys/resourcevar.h to be compiled.
1999-06-27 14:13:14 +00:00
minoura
b749d34eb9
I forgot to commit this.
1999-06-23 15:20:36 +00:00
thorpej
9e9f068f43
Add the guts of mlockall(MCL_FUTURE). This requires that a process's
...
"memlock" resource limit to uvm_mmap(). Update all calls accordingly.
1999-06-18 05:13:45 +00:00
minoura
cd06c07723
Check file open mode at ioctl.
...
Add debug option SRAM_DEBUG_DONTDOIT.
1999-06-15 15:04:56 +00:00
thorpej
f98d358a1f
Rework layer 2 protocol input routines. Instead of calling e.g. ether_input()
...
directly, call the function pointer (*if_input)(ifp, m). The input routine
expects the packet header to be at the head of the packet, and will adjust
as necessary. Privatize the layer 2 input and output routines, allowing
*_ifattach() to set them up as appropriate.
1999-05-18 23:52:51 +00:00
minoura
db3bdbe86c
Shut up gcc -Wall.
1999-05-05 14:31:16 +00:00
minoura
ad762a0b97
Use mvme68k-derived delay routine.
...
Now that we support various models, the old constant-loop delay routine
may cause problems.
1999-05-05 13:46:20 +00:00
minoura
3fe3e5261b
Add missing ia_size argument.
1999-05-05 13:41:44 +00:00
minoura
7cebd447fb
Move config_console to ensure that it is always called.
1999-05-05 13:41:19 +00:00
minoura
43d6c498cc
I deleted a necessary line by mistake.
1999-04-22 16:22:49 +00:00
minoura
f9afee1b29
Bus error occurred on such machines without the SCSI ROM.
...
Insert badaddr() check before read the ROM.
1999-04-22 12:55:53 +00:00
minoura
8eb1fd77e9
Do not memcpy to the bouncebuffer in datain.
1999-04-18 00:38:58 +00:00
minoura
6733198ebd
Fix the startup message.
...
attach_hook is now called without "mdX: " prefix.
1999-04-09 15:41:15 +00:00
minoura
d808d6f5ff
defopt EXTENDED_MEMORY and ITE_KERNEL_ATTR.
1999-03-30 04:25:07 +00:00
wrstuden
2adccc50fa
Add pps support. Only enable pps if CLOCAL & !MDMBUF.
1999-03-27 01:21:36 +00:00
thorpej
ad22c1dd58
Use ETHER_*_LEN constants from <net/if_ether.h> instead of defining them
...
ourselves.
1999-03-25 23:16:37 +00:00
minoura
fdd6c4d819
Add function keys mapping.
1999-03-24 14:12:52 +00:00
minoura
b28f2306c9
G/c amiga's key repeat handler.
1999-03-24 14:11:47 +00:00
minoura
a76b0b1bf5
Shut up gcc -Wall.
1999-03-24 14:07:38 +00:00
mrg
d2397ac5f7
completely remove Mach VM support. all that is left is the all the
...
header files as UVM still uses (most of) these.
1999-03-24 05:50:49 +00:00
minoura
c36508e32b
Use bus_dma(9) for DMA bouncing.
...
The code is dirty. It should be rewritten in the future.
1999-03-22 08:54:14 +00:00
minoura
4da31bd7f1
Use intio_debug flag variable.
1999-03-22 03:21:35 +00:00
minoura
c9e79552c8
Check unit.
...
This bug seems to be introduced on merging the bus.h patches.
1999-03-22 03:20:51 +00:00
minoura
7cc089a5dd
Correct rnd_attach_source args.
1999-03-18 16:15:53 +00:00
minoura
815f84a789
Shut up gcc -Wall
1999-03-18 12:31:58 +00:00
minoura
701942e794
G/C.
1999-03-18 12:27:59 +00:00
sommerfe
bc533621ed
defopt MINIROOTSIZE
1999-03-17 18:59:21 +00:00
minoura
ba80d2c6d7
Merged minoura_x68k_bus_h branch.
1999-03-16 16:30:16 +00:00
explorer
3ebb419571
Update to slightly altered rnd_attach_source() api
1999-02-28 17:08:05 +00:00
mycroft
2a304686e6
Minor cleanup.
...
Make the initializer for BAUDLO depend on PCLK directly; it was incorrect on
some ports where PCLK is not 4.9152MHz.
XXX Is the default value actually used?
1999-02-11 15:28:03 +00:00
bouyer
f6f9f8a965
Change DIOCEJECT to do what's needed to eject a device before the eject
...
command (unlock for sd and cd) if no other partitions are open, return
EBUSY otherwise. DIOCEJECT will have the old semantic if its argument is not
0. The old ioctl has been renamed to ODIOCEJECT for binary compatibility.
1999-02-08 16:33:16 +00:00
minoura
cc5f9932f8
Issue SCSI reset on initialize.
...
Clean unused mha_reset.
1999-02-07 15:18:58 +00:00
mycroft
be1af660c0
Don't set DCD_IE in the frontends. KGDB doesn't even use DCD, and the tty
...
frontends get it from zsparam() anyway.
1999-02-03 20:25:05 +00:00
mycroft
b3a56d0097
Catch up with a change to the stint interface.
1999-02-03 20:22:28 +00:00
mjacob
74bc9f26d5
Update HBAs to incorporate the new max_lun property.
1998-12-05 19:43:33 +00:00
thorpej
5f0577babc
Adapt to the new scsipi_adapter interface.
1998-11-19 21:43:00 +00:00
chuck
8bef431273
remove unused share map code from UVM:
...
- update calls to uvm_unmap_remove/uvm_unmap (mainonly boolean arg
has been removed)
1998-10-11 23:20:59 +00:00
thorpej
29d472f53d
Garbage-collect the open_target_lu and close_target_lu entry points from
...
struct scsipi_adapter; they were not used.
Add a scsipi_ioctl entry point to struct scsipi_adapter. This will be
used to issue ioctl commands to the host adapters.
Inspired by PR #6090 , from Matt Jacob.
1998-10-10 00:28:28 +00:00