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
minoura
6b6b9e2706
Make device probe/attach sessions to be executed at splhigh.
...
mha driver used interrupt driven I/O.
1998-09-09 16:42:51 +00:00
minoura
2b34aa908f
Eliminated meaningless ITEKANJI.
1998-09-03 14:22:06 +00:00
minoura
7f4ad4748e
Eliminated vm_offset_t and vm_size_t.
1998-08-22 14:38:36 +00:00
mycroft
d07b3639a4
Assign my copyrights to TNF.
1998-08-15 17:47:15 +00:00
mycroft
cc8a78e783
Assign my copyrights to TNF.
1998-08-15 04:42:42 +00:00
mycroft
cdf829a998
Assign copyrights to TNF.
1998-08-15 04:22:45 +00:00
mycroft
6d3d8a1350
Make copyright notices with my name consistent.
1998-08-15 03:02:31 +00:00
minoura
a6b5ab0c92
Moved parioctl.h to the system header directory.
1998-08-07 16:16:36 +00:00
minoura
d082dd3db4
Moved grfioctl.h and iteioctl.h to the public include directory.
1998-08-06 14:08:53 +00:00
minoura
4df8f47ebc
Switched to MI zs driver.
1998-08-05 16:08:33 +00:00
minoura
e8551dcab3
Fixed stray pointer access reported by Yasufumi Itoh.
1998-08-05 15:57:43 +00:00
minoura
b72d8d17f9
__BROKEN_INDIRECT_CONFIG fixes.
1998-08-04 16:51:51 +00:00
minoura
233cd5d60b
RB_POWERDOWN is now supported.
...
Check if the power switch is open (off) in the shutdown_hook,
and try removing the power in cpu_reboot.
poffd default action is now shutdown -p.
1998-08-04 16:07:53 +00:00
jonathan
011f2bda08
defopt NS, NSIP.
1998-07-05 06:49:00 +00:00
jonathan
3751946b97
defopt INET, NETATALK.
1998-07-05 00:51:04 +00:00
jonathan
466e784ee1
defopt DDB.
1998-07-04 22:18:13 +00:00
msaitoh
c0eed6da3d
sync with -current after a long silence
1998-06-30 11:59:09 +00:00
thorpej
37b378d836
defopt COMPAT_HPUX
1998-06-25 23:56:39 +00:00
is
7a0f63f982
Back out the defopt for M680?0. As pointed out to me, this breaks ports which
...
dont use the M680?0 the way Amiga, Atari, Mac68k, and X68k do. I must have
missed this in the past discussion about this project.
1998-05-24 19:32:34 +00:00
is
6a6812fd92
Move M680[2346]0 to opt_m68kcpu.h.
...
XXX Some explicit dependencies could be removed now from the individual
arch/$ARCH/conf/Makefile.$ARCH files, but this is still to be done.
1998-05-23 20:51:06 +00:00
thorpej
f32f947061
Update for changes to config.
1998-01-12 20:52:29 +00:00
perry
b46484bb8a
RCSID Police.
1998-01-05 20:51:25 +00:00
perry
015e898c02
RCSID Police.
1998-01-05 07:02:46 +00:00
oki
a6dfd800c9
Test device is configured in interrput handler.
1997-10-19 20:45:11 +00:00
oki
cfe6621afa
Support of MK-HA1 Mach-2 SCSI adaptor.
1997-10-19 09:29:25 +00:00
oki
73c0b0f2a6
for ramdisk kernel
1997-10-19 08:16:40 +00:00
oki
ea023e3b94
Use rnd.h and #if NRND > 0.
1997-10-17 20:28:06 +00:00
oki
e8b2ab848c
Make this compile again.
1997-10-17 20:24:35 +00:00
thorpej
0154e69e5a
Pulldown from marc-pcmcia branch: minimal changes to change x68k port's
...
"com" (now "xcom") driver to avoid name collision with the more
heaviliy-used "com" driver.
1997-10-15 23:39:18 +00:00
lukem
28558b28eb
rcsid fascism
1997-10-13 14:22:22 +00:00
oki
570278ec01
Added prototypes.
1997-10-12 18:06:21 +00:00
oki
fd9fae64cc
Added prototype.
1997-10-12 14:44:12 +00:00
oki
9418615252
Added prototypes.
1997-10-12 12:13:48 +00:00
oki
1db0621f0e
Add prototype.
1997-10-12 06:41:45 +00:00
oki
051b06a759
Add prototypes.
1997-10-10 21:45:18 +00:00
oki
a9685de195
Fdopen --> fdopen
1997-10-10 21:42:38 +00:00
oki
87e21e080a
Add missing prototype.
1997-10-10 12:54:02 +00:00
oki
15d57c4473
Oops, fixed error in previous commit.
1997-10-09 13:26:18 +00:00
oki
deff7d5471
Added prototype.
1997-10-09 13:19:26 +00:00
oki
a6a631ac6c
Added missing prototype.
1997-10-09 13:00:49 +00:00
bouyer
6f3bab1f59
Merge scsipi branch in the mainline. This add support for ATAPI devices
...
(currently only CD-ROM drives on i386). The sys/dev/scsipi system provides 2
busses to which devices can attach (scsibus and atapibus). This needed to
change some include files and structure names in the low level scsi drivers.
1997-08-27 11:22:52 +00:00
jtk
9388f271a9
use locator defines in "locators.h" to index cf_loc[]
1997-07-17 02:12:50 +00:00
oki
ecae3f3421
Add bits[64] declaration
1997-04-02 17:10:41 +00:00
oki
d3fdda40ff
Use bitmask_snprintf (from i386)
1997-02-05 16:35:47 +00:00
oki
5bd33fc853
Oops, correct value in previous commit
1997-02-03 21:51:15 +00:00
oki
98f832a1b3
Remove #include <string.h>
1997-02-03 21:41:59 +00:00
oki
6bb753af5b
- tv_kfont[] size fix.
...
- silly speed hack.
1997-02-03 21:40:45 +00:00
oki
b2f7c338bf
Correct prototype
1997-02-03 17:01:57 +00:00
thorpej
2525eee053
Use new machine-independent mountroothook code.
1997-01-31 02:15:54 +00:00
oki
8217cb3f83
Rename in_xxxx to tv_xxxx (Use new ite_tv.c)
1997-01-26 12:17:59 +00:00
oki
458bd2f101
Use new ite_tv scheme, this file no longer used.
1997-01-26 12:10:45 +00:00
oki
d1c397b214
rewriteten ITE lower routine for x68k Text-Vram frame buffer.
1997-01-26 12:04:54 +00:00
oki
159749de63
Fixed compile error with last commit of iodevice.h
1997-01-19 06:37:47 +00:00
oki
b79bcac5fd
Use ip->isw intead of itesw. Remove unused extern itesw[].
1997-01-18 21:07:30 +00:00
perry
b89a3425b7
Eliminate obsolete TIMEZONE and DST options.
...
Eliminate obsolete global kernel variable "struct timezone tz"
Add RTC_OFFSET option
Add global kernel variable rtc_offset, which is initialized by
RTC_OFFSET at kernel compile time.
on i386, x68k, mac68k, pc532 and arm32, RTC_OFFSET indicates how many
minutes west (east) of GMT the hardware RTC runs. Defaults to 0.
Places where tz variable was used to indicate this in the past have
been replaced with rtc_offset.
Add sysctl interface to rtc_offset.
Kill obsolete DST_* macros in sys/time.h
gettimeofday now always returns zeroed timezone if zone is requested.
settimeofday now ignores and logs attempts to set non-existant kernel
timezone.
1997-01-15 01:28:28 +00:00
thorpej
d502e68402
Fill in sc_link.max_target
1996-12-10 21:27:16 +00:00
oki
6281db6925
Use config_search() instead of config_scan(),
...
by Chris G Demetriou, tested by me.
1996-12-09 16:12:19 +00:00
oki
0528423d96
renamed variable in ev_poll(), compile again.
1996-11-27 14:40:46 +00:00
oki
e36077d7ba
Implement poll(2).
1996-11-23 09:44:53 +00:00
christos
e37692f04d
backout previous kprintf change
1996-10-13 03:29:05 +00:00
christos
848c9d8f02
printf -> kprintf, sprintf -> ksprintf
1996-10-11 00:39:22 +00:00
oki
9682743e21
delete unused prototype.
1996-09-08 18:46:12 +00:00
mycroft
b3eac79b64
tty stop functions really should return void, not int, and certainly not both.
1996-09-02 06:43:16 +00:00
cgd
71ad30d0e9
(1) set scsi_link channel to either the appropriate channel (if a
...
multi-channel driver), or to SCSI_CHANNEL_ONLY_ONE if a
single-channel driver.
(2) use scsiprint() rather than a locally-defined autoconfig print
function, and kill any locally-defined print function.
1996-08-28 18:59:15 +00:00
cgd
2a73ef60b7
change cfprint_t type definition to take a const char *, rather than
...
a char *, because that's what was really intended, and because
if the print function modifies the string, various things could become
unhappy (so the string should _not_ be modified).
1996-08-27 21:53:46 +00:00
oki
c85101f816
drive 2 (or 3) couldn't access with drive 0 (or 1). fixed this.
1996-08-11 15:32:49 +00:00
oki
72dd2d1350
XXX grf has some routines call ite function directly.
...
XXX check whether grf has no associated ite. fixed PR/2626.
1996-07-17 01:51:43 +00:00
oki
4e7614daa6
call Debugger() with options DDB, added #ifdef.
1996-07-16 16:29:16 +00:00
oki
f8e8e90f15
move wait for insert system floppy to mountroot_hook stuff
1996-07-08 16:32:12 +00:00
oki
add137e8e1
fixed sometimes hang up bug at boot time.
1996-06-12 12:09:30 +00:00
oki
ce510f6b02
add tty_attach(tp);
1996-06-05 17:12:52 +00:00
oki
76fc9e1d30
fixed compiler error at kvtop().
1996-06-05 16:21:44 +00:00
oki
7c5b284636
added missing splx(s). pointed out by thorpej.
1996-05-29 17:03:41 +00:00
oki
30ec7d2c44
Some cleanup.
...
- Add missing return-type of function.
- Add missing prototype.
- some gcc -Wall printf warning.
1996-05-21 15:32:18 +00:00
oki
82d5960cd6
Some cleanup.
...
- Add missing return-type of function.
- Add missing prototype.
- some gcc -Wall printf warning.
1996-05-21 15:31:55 +00:00
oki
8823c49fb4
fixed gcc -Wall warnings.
1996-05-20 14:53:07 +00:00
oki
34a55c3e59
fixed gcc -Wall warning.
1996-05-15 16:12:48 +00:00
oki
afed73e5a8
fixed for gcc -Wall warning.
1996-05-12 20:49:57 +00:00
oki
611a9dc5c7
x68k mouse has no hardware flow control.
1996-05-12 20:46:33 +00:00
thorpej
42cbc82043
Changed struct ifnet to have a pointer to the softc of the underlying
...
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.
1996-05-07 02:35:07 +00:00
oki
320e7320ef
NetBSD/x68k, by Masaru Oki.
1996-05-05 12:17:03 +00:00