Commit Graph

100542 Commits

Author SHA1 Message Date
shin
d4552e01aa compilation fix. 2002-08-06 06:52:49 +00:00
chs
d3c3fef89b add code from tsubai to handle the second CPU on openpic machines.
the second CPU on dual G4 boxes works now.
while I'm here, use mfmsr() and mtmsr() instead of inline asms.
2002-08-06 06:26:19 +00:00
chs
f7fb853264 be sure to re-enable interrupts before calling trap() a second time
due to an AST.  the rule is that we must always have interrupts
enabled when acquiring kernel_lock, so that we can process blocking IPIs
from another CPU which is already holding kernel_lock.
reduce differences between the MP and non-MP versions of this file.
2002-08-06 06:21:58 +00:00
chs
f73abf90fb on MP systems, if the firmware didn't configure the L2 cache
on the non-boot CPUs, copy the L2CR configuration from the boot CPU.
also, fix the code that configures the L2 cache so that it works at all.
while I'm here, use mfspr() and mtspr() instead of inline asms.
2002-08-06 06:20:08 +00:00
chs
2928d8ba05 actually we shouldn't hold kernel_lock while calling postsig(). 2002-08-06 06:18:24 +00:00
chs
0924752f24 add the MSSCR0 register and some more L2CR fields. 2002-08-06 06:17:50 +00:00
chs
461184c6b6 fix the calculation of the address of the IPI dispatch register. 2002-08-06 06:16:42 +00:00
chs
ef0d8145a7 avoid races in mp_save_{fpu,vec}_proc() where the other CPU
dumps the state out from under us.
2002-08-06 06:16:04 +00:00
chs
301f1ebf31 move more inlines to cpu.h: mftb(), mftbl() and mfpvr().
(the mftb() in pmap.c only wanted the lower 32 bits, so that's now mftbl()).
2002-08-06 06:14:33 +00:00
itojun
cf8807954f backout previous. i was looking at the wrong RFC. 2002-08-06 04:58:57 +00:00
dbj
a7d4c58694 fix regular expression matcher.
the string "xc" was failing to match "x[[a|b]|c]"
2002-08-06 03:39:44 +00:00
soren
1cbfe6af00 Print symbolic names for SMART STATUS attributes. 2002-08-06 01:16:56 +00:00
wiz
7553d4030f Ispell. Drop .Pp before .Sh. 2002-08-06 00:44:36 +00:00
soren
1cc6ec32e5 s/smart info/smart status/ to better fit in with the standard's feature set. 2002-08-06 00:00:21 +00:00
itojun
fa5ffb82e4 based on RFC2529, stf(4) should have 1480 as MTU, not 1280.
tron found it, sync w/kame
2002-08-05 23:37:48 +00:00
bjh21
a69295fb3b Enable csc(4), since it's reported as working. 2002-08-05 23:30:44 +00:00
bjh21
ed8346a525 Rather than forcing on XS_POLL in SCSI transfers ourselves, set
SCSIPI_ADAPT_POLL_ONLY to tell the MI scsipi layer to do it for us.  This,
plus G/Cing some debugging code, removes the card-specific scsi_request
wrappers.
2002-08-05 23:30:04 +00:00
soren
9e129fde67 Add ATA SMART reporting support from Ben Collver in kern/12787. 2002-08-05 23:29:27 +00:00
fredette
16cf89e5a5 Made changes in where/how the kernel is linked, and how the pmap
maps it with BTLB entries, to minimize the number of BTLB entries
needed.

Because the CPU type was often guessed incorrectly, the mapping of
HP board number to system name now includes information about the
expected CPU type.
2002-08-05 20:58:35 +00:00
fredette
190541e99d Poll the PDC console less frequently. 2002-08-05 20:38:35 +00:00
fredette
3295720e1a Don't use ldcw, since netisr might not be 16-byte aligned.
Instead, disable interrupts and do a load and a store.
2002-08-05 20:23:56 +00:00
jmcneill
00a0bebf72 Include string.h so this application compiles. 2002-08-05 15:36:51 +00:00
shin
a59d490375 * add CPU_MIPS_NO_LLSC to Toshiba TX3912, TX3922, TX3927.
* fix mips_has_llsc calculation logic.
2002-08-05 13:02:40 +00:00
shin
2f33f11745 ++CPU_MAXID for CPU_LLSC. 2002-08-05 13:00:47 +00:00
blymn
ad3d412058 set_field_opts and field_opts_on were both using the wrong pointer
resulting in libform crashing if O_STATIC was set on the default field.
2002-08-05 12:43:44 +00:00
itojun
e8859ea868 remove files mistakenly shipped with openssl 0.9.6e.
(it won't affect the build)
2002-08-05 11:21:29 +00:00
tron
4fe0cc63d7 Undo accidental change. 2002-08-05 08:05:03 +00:00
tron
a626c50944 Avoid segmentation fault if "finger @somehost" is used. 2002-08-05 08:04:03 +00:00
lukem
a6c9a72bf5 update sparc & amiga x set sizes 2002-08-05 07:44:06 +00:00
onoe
248c861292 Fix IBSS for awi driver. 2002-08-05 06:55:05 +00:00
tron
c0474337df Fix typo in last commit. 2002-08-05 06:35:44 +00:00
tron
80346e7772 Fix acient cut and paste error which made "_POSIX_PATH_MAX" actually
return "_POSIX_PIPE_BUF".
2002-08-05 06:24:23 +00:00
enami
a55bfb4d51 A cosmetic change. 2002-08-05 02:56:58 +00:00
enami
1aaddc3669 - Care about carry bit when adding short value to force 4 byte boundary.
It may contain any 32 bit value there.
- Use correct instruction to clear carry bit.
- Don't use series of load with update instruction.  It's slower.
2002-08-05 02:55:39 +00:00
simonb
f068458085 The TX79 core in the R5900 doesn't support LL/SC.
XXX: Others in this table will need to be updated.
2002-08-05 02:18:43 +00:00
simonb
fef76c7e26 Use a __HAVE_BOOTINFO_H define to check for bootinfo support instead of
speading port names in arch-dependant code.
2002-08-05 02:13:14 +00:00
simonb
bf71dff7b9 Convert to use merged mips cpu_sysctl(). 2002-08-05 01:33:36 +00:00
itojun
dc8b2582ca backout previous 2002-08-05 01:16:59 +00:00
simonb
d67404d97e Fix tyop. 2002-08-05 01:15:22 +00:00
itojun
08a994ac23 soekris device use 19200bps on boot, it seems 2002-08-05 01:14:58 +00:00
wiz
19f7335abe Long month in Dd, and some mdoc nits. 2002-08-04 22:58:14 +00:00
hubertf
ac31af18a9 20020804:
* pkg_admin pmatch
 * pkg_add increases resource limits

No need to bump PKGTOOLS_REQD as these are not used anywhere right now!
2002-08-04 21:49:23 +00:00
thorpej
82421f1fdb Regen; added ADI BECC product ID. 2002-08-04 21:47:58 +00:00
thorpej
4da9d49d31 Add product ID for the ADI i80200 Big Endian Companion Chip. 2002-08-04 21:47:25 +00:00
hubertf
ed4b7caed9 Try increasing number of max. open files as high as possible.
Prevents annoying errors when installing biggies like KDE.
2002-08-04 21:47:24 +00:00
hubertf
cebf43ab6e Add 'pmatch' keyword: pkg_admin pmatch pattern pkg
Will return true if 'pkg' matches 'pattern', false else.
Provides a command line interface to the pmatch() C function
to be used from shell scripts etc.
2002-08-04 20:50:55 +00:00
ross
08c3bcd192 shut up assembler warnings 2002-08-04 20:29:44 +00:00
ross
626a25bc13 deal with assembler warnings 2002-08-04 20:27:22 +00:00
hubertf
c2c6f0bc61 Don't warn about PKG_PATH being set when -e is given 2002-08-04 19:43:08 +00:00
soren
b377ecd704 Back out previous - I was confused. 2002-08-04 18:06:54 +00:00