Commit Graph

6689 Commits

Author SHA1 Message Date
kiyohara
c1a84a4d12 ieee1394 import from FreeBSD. 2005-07-11 15:29:05 +00:00
christos
f1461c7e8a No point in declaring syscall_intern and syscall in a zillion places. 2005-07-10 00:45:52 +00:00
tron
04b9c3437f Add (commented out) IPSEC_NAT_T option. 2005-07-07 17:05:46 +00:00
tron
17c8267bba Fix typo which broke the build of kernels with support for 586 and
686 class CPUs.
2005-07-07 13:20:53 +00:00
fair
97be9dc692 disable the use of TSC on Cyrix CPUs and document why:
When powersave mode is enabled, the TSC stops counting while the CPU is halted
in idle() waiting for an interrupt. This means we can't use the TSC for
interval time in microtime(9), and thus it is disabled here.

It still makes a perfectly good cycle counter for program profiling, so long
as you remember you're counting cycles, and not time. Further, if you don't
mind not using powersave mode, the TSC works just fine, so this should really
be optional. XXX
2005-07-06 20:29:16 +00:00
junyoung
6b3daf3992 Remove unused #define. 2005-07-06 19:31:04 +00:00
junyoung
d151b9e857 Remove unused #define and trailing spaces. 2005-07-06 19:29:50 +00:00
junyoung
a52d20370c Remove unused #define. 2005-07-06 19:27:50 +00:00
junyoung
1fb48c245e - Do not mix C-style comments and assembly-style comments.
- Remove unused #define.
2005-07-06 19:24:08 +00:00
fair
c0ca9de9a9 move
microtime_func = cc_microtime;

to a point after the CPU-specific setup routine is called because some of them
"turn off" the TSC because it's broken on those platforms, or not suitable
for use as an interval timer.

One such platform is the Cyrix/NSC Geode processor; when powersave mode is
enabled, the "hlt" instruction stops the TSC too. It continues to be perfectly
reasonable for program profiling as a cycle counter in this mode, but it is
unsuitable for interval time keeping (time doesn't stop just because you're
asleep or napping), and, for now, we don't have a separate flag to make this
distinction - we just test for the presence of TSC to enable cc_microtime().
2005-07-06 18:35:39 +00:00
junyoung
4f4cb6f0b3 Add another case we can skip boot wait. 2005-07-06 18:12:31 +00:00
junyoung
1b3dbc9530 If no hard disks are present, do not wait for key press. 2005-07-06 09:22:31 +00:00
junyoung
4a6d325623 De-__P() 2005-07-06 08:28:31 +00:00
tron
655544a062 Comment out the less popular 3Com 3c507 and reenable the 3c503 as
suggested by Jason Thorpe and Manuel Bouyer on the port-i386 mailing list.
2005-07-05 21:17:38 +00:00
tron
96109dd1ae Comment out drivers for 3Com 3C501, 3C503 and 3C505. These cards weren't
very common and had more or less severe restrictions. This finally fixes
the NetBSD-i386 release build.
2005-07-05 15:00:33 +00:00
cube
c4b8c745b9 Remove 'scsibus* at umass?'. It shouldn't be needed, as umass correctly
defines the scsi attribute.  So if a device doesn't work without that
attachment, it means there is a bug elsewhere we have to fix.
2005-07-03 19:23:29 +00:00
cube
65570c38ef Move definitions for PCI_*_FIXUP to files.x86 so that ACPI compiles for
amd64...
2005-07-03 12:16:05 +00:00
rpaulo
f9ef5df9fc Uncomment WSDISPLAY_SCROLLSUPPORT. A lot of people ask for this feature
and it doesn't make much sens to recompile just to have scrolling support.

Ok'ed by Christos Zoulas and Hubert Feyrer.
2005-07-02 11:19:23 +00:00
martin
50d158617a Delete now unused "bad" label 2005-07-01 20:16:24 +00:00
christos
6d30dcee75 PR/29607: Christian Biere systrace doesn't handle interrupted syscalls properly
Instead of jumping to the default "bad" case, jump to the error handling
switch, so that we can deal with ERESTART/EJUSTRETURN properly.
2005-07-01 18:01:44 +00:00
junyoung
c95e3281de KNF. 2005-06-29 19:08:04 +00:00
junyoung
f10ef234b8 Massive renames for consistency:
biosdiskreset -> biosdisk_reset
 biosread -> biosdisk_read
 get_diskinfo -> biosdisk_getinfo
 int13_extension -> biosdisk_int13ext
 biosextread -> biosdisk_extread
 int13_getextinfo -> biosdisk_getextinfo
 struct biosdisk_ext13info -> biosdisk_extinfo
 BIOSDISK_EXT13 -> BIOSDISK_INT13EXT
 BIOSDISK_EXT13INFO_V{2,3} -> BIOSDISK_EXTINFO_V{2,3}
 EXT13_* -> EXTINFO_*
2005-06-29 18:50:38 +00:00
junyoung
beeb6c877c get_diskinfo():
Return status code in bits [31:24] of %eax. 0 for success, otherwise failure.
2005-06-29 18:02:52 +00:00
christos
f824681018 People might need MFS for /dev or for restoring to /tmp. 2005-06-29 01:40:17 +00:00
christos
316b5f711e Make this fit:
1. remove MFS, not useful during installation.
2. remove extra ethernet drivers, some of them cannot be used without firmware.
3. remove pty multiplexor
4. remove ddb history
5. remove a.out support
6. trim down maxusers to 2
7. remove the beep device driver
8. remove nfsv3 support

One more commit to /usr/bin/ftp and everything will build again...
2005-06-28 22:57:19 +00:00
junyoung
e63501d234 #include <lib/libsa/stand.h> rather than <stand.h> or "stand.h" 2005-06-28 21:00:41 +00:00
wiz
266fc7ab94 pss(4) was removed, remove it from kernel configs too. 2005-06-28 09:08:04 +00:00
junyoung
b116f53b43 Remove trailing spaces. 2005-06-27 11:34:30 +00:00
thorpej
011cf1cb73 Comment out I486_CPU -- it only adds more code, and I386_CPU will work
just fine on any system.
2005-06-26 17:07:04 +00:00
fair
762e4993e8 The Cyrix cs5530 PCI host bridge does not have a broken latch on the i8254
clock core, unlike its predecessors the cs5510 and cs5520.

This reverses the setting from i386/1386/identcpu.c where it argueably should
not have been set in the first place, as argued in PR kern/25261

XXX One other thing: the i8254 latch compensation code is only found in
i386/isa/clock.c and NOT in i386/i386/microtime.S where it should also be.
2005-06-26 02:09:59 +00:00
christos
b2c412f190 pass the real code to trace_exit not the translated one, so that kdump
knows this is a mach syscall.
2005-06-25 23:25:51 +00:00
christos
82700d5ef5 start implementing the missing code. 2005-06-25 23:25:09 +00:00
dyoung
6a0e52d84e Move the definitions in dev/pci/files.ath into dev/pci/files.pci.
Stop including dev/pci/files.ath in arch/i386/conf/files.i386,
since we get the same definitions by including dev/pci/files.pci,
now.  Remove dev/pci/files.ath.

Add arch/macppc/conf/Makefile.macppc with directives for linking
the Atheros HAL for PowerPC.

In athhal-powerpc-be-eabi.opt_ah.h, #define AH_REGOPS_FUNC 1, since
otherwise the linker complains that the PowerPC HAL cannot link
with register-read/write subroutines.

Add ath(4) to the GENERIC macppc kernel configuration; comment it
out.
2005-06-25 22:08:54 +00:00
christos
ef57f1b2d4 be a little smarter about fast traps. 2005-06-25 18:45:44 +00:00
rpaulo
64fd052c74 Add file-system PTYFS (commented out) so that people know its existence.
Ok'ed by Christos Zoulas and Hubert Feyrer.
2005-06-25 12:05:15 +00:00
christos
4fdef695f7 the siginfo trap codes are mi. 2005-06-25 08:29:15 +00:00
christos
c2e3be8566 - Recognize both darwin and mach emulations as valid.
- Use KSI_INIT_TRAP to initialize the trap.
2005-06-25 07:46:01 +00:00
christos
16d6b062e3 move stack somewhere where it is mappable, and add defines for i386 commpage. 2005-06-25 06:29:16 +00:00
fair
92a7e38b60 document more precisely the Cyrix TSC lossage: if you execute "hlt"
when in powersave mode, the TSC stops counting!
2005-06-25 00:08:35 +00:00
manu
9a51ea013a Support PC engines WRAP (From OpenBSD) 2005-06-24 13:00:01 +00:00
junyoung
1bd0f2a02e Define BIOSDISK_DEFAULT_SECSIZE in biosdisk_ll.h and replace BIOSDISK_SECSIZE
with it.
2005-06-23 20:20:37 +00:00
junyoung
17670568fe Use FS_OPS() macro. 2005-06-23 19:44:00 +00:00
dyoung
c3455f1205 De-__P().
Consistently pass 'int *' arguments to parsebootfile.
2005-06-22 20:42:45 +00:00
dyoung
8748cff236 Cosmetic: join line. 2005-06-22 20:40:59 +00:00
junyoung
f54b3f436a Fix build breakage. Oops. 2005-06-22 20:36:17 +00:00
sekiya
e45d20fa18 Remove unnecessary #includes. 2005-06-22 19:17:35 +00:00
junyoung
bacc083333 Do not mix assembly-style comments and C-style comments. 2005-06-22 15:29:48 +00:00
junyoung
1341f2c732 Fix build breakage. 2005-06-22 15:06:19 +00:00
dyoung
9063402978 Resolve conflicts in importation of 18-May-2005 ath(4) / net80211(9)
from FreeBSD.  Introduce compatibility shims (sys/dev/ic/ath_netbsd.[ch],
sys/net80211/ieee80211_netbsd.[ch]).  Update drivers (an, atu, atw,
awi, ipw, iwi, rtw, wi) for the new net80211(9) API.
2005-06-22 06:14:51 +00:00
junyoung
753f88cef9 Use get_harddrives(). 2005-06-22 06:09:47 +00:00