Commit Graph

65120 Commits

Author SHA1 Message Date
nisimura
0e501989cd - Have savefpregs() and loadfpregs() in C codes with lengthy inlined
asm statements, obsoluting asm routines in locore.S.  They are
  designed to work in symmetry as names suggests.  savefpregs()
  does not clear a global variable fpcurproc.  Both would be noops when
  NOFPU global symbol is defined.
- MDP_FPUSED flag is not turned on for FPA-less processors like Vr4100
  and TX3900 even when processes execute FP insns.
2000-05-30 01:23:53 +00:00
augustss
ea5a174495 Massage the SCSI commands when using the UFI protocol in a better way.
Now the Y-E Data Flashbuster floppy seems to work.

Thanks to Y-E Data for giving one to the project when I couldn't find
one easily.
2000-05-30 01:12:51 +00:00
augustss
997c3c5b8a Add a quirk, SDEV_ONLYBIG, which implies that the device cannot handle
the 6 byte versions of READ, WRITE, and MODE_SENSE.
This greatly simplifies the UFI (USB Floppy) handling.
2000-05-30 01:08:23 +00:00
itojun
ed26506c25 usr.sbin/lpr/lpd now compiles lib/libc/net/rcmd.c on its own, to avoid
use of non-exported function __ivaliduser{,_sa}().

we cannot make __ivaliduser{,_sa}() static yet, since doing that would choke
compiled lpd binaries.  we should do it on next libc major version bump.
added a memo on lib/libc/shlib_version.
2000-05-30 01:07:43 +00:00
matt
c7326acd04 Add the PCI attachment for IEEE 1394 OHCI controllers. Files to follow later. 2000-05-30 00:53:14 +00:00
matt
3ed6c24d5c Add IEEE 1394 OHCI node and IEEE 1394 bus. Just placeholders for now. 2000-05-30 00:48:47 +00:00
matt
fd1991294f Regen 2000-05-30 00:21:07 +00:00
matt
adaaa34784 Add the TI 1394 controllers. Makes all the 1394 controller descriptions
similar.
2000-05-30 00:20:41 +00:00
mycroft
da42c608fe Use a better multiplier for the 60Hz case. 2000-05-29 23:48:33 +00:00
simonb
4857b33794 A few more white-space bogons. 2000-05-29 23:40:03 +00:00
matt
3f4005113e funciton != function 2000-05-29 23:34:08 +00:00
simonb
6c87680cbf A TAB after the define keyword instead of spaces. 2000-05-29 23:30:06 +00:00
jhawk
0ff7191f39 Ensure that a fault inside the traceback printing code
(i.e. db_stack_trace_print()) does not cause an infinite loop of
faults.
2000-05-29 23:10:03 +00:00
sommerfeld
a3edbba355 Add null-pointer tests in ktrsamefile 2000-05-29 22:29:01 +00:00
pk
ee396c032f Remove IOMMU page table allocation from pmap_bootstrap() and all the
hacks surrounding it.
2000-05-29 22:23:34 +00:00
deberg
9735bab338 use rtc.h for poweroff() and #if 0 out badaddr, which isn't used
anywhere.  machdep.c compiles w/o any noise now.
2000-05-29 22:10:43 +00:00
deberg
e3a332df61 prototype rtc stuff used elsewhere 2000-05-29 22:08:47 +00:00
sommerfeld
879eaa480a Fix clearing of ktrace points:
- need deep compare of open files, not a shallow pointer compare.
 - reorder fdrelease()/FILE_UNUSE() invocations so fdrelease doesn't
block waiting for something which can't happen until after it returns.
2000-05-29 22:04:11 +00:00
jdolecek
dfe35a4788 quotas are supported on lfs too, apparently 2000-05-29 21:57:05 +00:00
matt
b890d3f2ba LP64 format problems. u_int64_t on alpha != %llu 2000-05-29 21:42:12 +00:00
deberg
dbd1379620 no need to include next{kbd,display}var.h 2000-05-29 21:35:04 +00:00
jdolecek
ebd1202e64 g/c removelist()/renamelist(), the only user (catman(8)) was modified to not use them 2000-05-29 21:10:42 +00:00
jdolecek
28324fdada avoid using removelist()/renamelist()
while here, do some whitespace/const cleanup, convert to use addentry(),
  g/c section[] (now uses buf[] directly) - 10 character limit for section
  name is gone
2000-05-29 21:05:34 +00:00
pk
ce1fb71efc Use uvm_pglistalloc() to allocate memory for the I/O PTEs; modelled after
a similar change by Art Grabowski in Openbsd.
2000-05-29 20:41:10 +00:00
fvdl
b9bb94500e Obey the "Reset SCSI bus at startup" EEPROM setting. 2000-05-29 20:13:53 +00:00
bouyer
405302008d ADEV_CDROM -> SDEV_CDROM, for consistency. 2000-05-29 20:13:06 +00:00
ragge
992002c2be Use the cpu_info struct to store cpu-specific data in the same way in
both uniprocessor and multiprocessor environments. Use the otherwise
unused internal CPU register SSP to store the cpu_info pointer.
The macros curcpu(), curproc, cpu_number() and need_resched() are now the
same in both uniprocessor and multiprocessor environments.
2000-05-29 20:00:55 +00:00
bjh21
628bc101f2 Fix missing space 2000-05-29 19:49:48 +00:00
thorpej
65184f2470 Change the comment before the vm_page_zero_enable global to indicate
what it will now be used for.
2000-05-29 19:25:56 +00:00
mycroft
7385963fc9 Stylistic change. 2000-05-29 18:59:51 +00:00
mycroft
4db674fa50 According to Frank, buffers with dependencies *are* left on v_dirtyblks, so
remove the FSYNC_RECLAIM check and force them to be flushed.
2000-05-29 18:53:35 +00:00
mycroft
ced05c5744 Pull in IN_ACCESSED changes and some MNT_LAZY `bug fixes' from FFS to EXT2FS. 2000-05-29 18:41:07 +00:00
mycroft
33ec489188 Pull in IN_ACCESSED changes and some MNT_LAZY `bug fixes' from FFS. 2000-05-29 18:34:36 +00:00
mycroft
edfd1e6f32 Use LIST_{FIRST,NEXT,EMPTY}(). 2000-05-29 18:28:48 +00:00
mycroft
d747ada9c2 Add a new inode flags called IN_ACCESSED. This used in place of IN_MODIFIED
to record that the atime was updated.  In ffs_update(), we only do synchronous
writes if something *other* than the atime was changed.
2000-05-29 18:04:30 +00:00
jhawk
1e59d99d28 For all network drivers that call ether_ifattach(), and also
have _detach() functions:
  Ensure that softc keeps state about whether the attach succeeded,
  and make the detach function return immediately if the attach did
  not complete.
2000-05-29 17:37:12 +00:00
mycroft
941524439a Never call softdep_sync_metadata() in the FSYNC_RECLAIM case. Any pending
blocks are detached from the vnode at this point.  When the dependencies are
broken to enable writing the blocks, the vnode will be regenerated.  (The only
reason we sync buffers in this case is that they have to be detached from the
vnode.)
2000-05-29 17:19:20 +00:00
mycroft
c47adf55e0 In ffs_fsync(), remove the FSYNC_RECLAIM special case, so that it properly
waits for pending buffers, and doesn't throw away time stamp updates.
2000-05-29 17:12:06 +00:00
mycroft
ccf1cf4b69 MNT_WAIT -> FSYNC_WAIT 2000-05-29 16:28:27 +00:00
soren
e3ee997813 Different form of PCI bug workaround. Should make 2700 system work. 2000-05-29 15:45:15 +00:00
soren
6641d91d94 No Linux compat yet, but Ultrix works. 2000-05-29 15:44:22 +00:00
soren
da59451c97 Identify system controller model. 2000-05-29 15:43:50 +00:00
soren
ba3a485962 Static poisoning. 2000-05-29 15:43:32 +00:00
soren
66f14d2965 Whitespace. 2000-05-29 15:42:47 +00:00
castor
5510a708c4 Make __cerror be LEAF_NOPROFILE. I relies upon having v0 and v1 be unchanged
from the caller.   From Ethan Solomita <ethan@geocast.com>
2000-05-29 15:07:41 +00:00
mycroft
7513b8e18d Update an outdated comment.
Allow all powers of 2 from 2^0 to 2^16 for hz.
Enable hz==1200.
2000-05-29 15:05:10 +00:00
mycroft
8dcf08ff77 Improve the time_adj multiplier for the 100Hz and 1000Hz cases, and add a
1200Hz case.
2000-05-29 14:58:59 +00:00
itojun
288fc74e2e convert IPv4 mapped address (::ffff:10.1.1.1) into real IPv4 address
before touching it.  IPv4 mapped address complicates too many things
in FTP protocol handling.
2000-05-29 14:57:27 +00:00
simonb
60e2ae70e5 Another cp_time size fix - also, there are 5 CPUSTATES now not four... 2000-05-29 12:54:31 +00:00
nisimura
5448bca5b5 Make this file compilable. 3MAX+ has no ISDN. 2000-05-29 12:09:45 +00:00