Commit Graph

63818 Commits

Author SHA1 Message Date
fvdl
c2bd5e2fe9 Don't whine if no disklabel was found, it's not a fatal error. Follows
Jason's commit to the ARM disksubr.c
2003-05-07 23:32:40 +00:00
fvdl
604b3c2a65 Enable LKM. 2003-05-07 22:58:41 +00:00
fvdl
dce33cef19 Set up lkm_map in range of kernel text. 2003-05-07 22:58:18 +00:00
fvdl
799347472e Generalize bounce buffers, and use them for 32 bit PCI if needed.
Make ALLOCNOW the default iff bouncing might be needed (this has
no effect on i386 because ISA DMA devices already had to use
ALLOCNOW, and PCI isn't bounced (yet), since we don't do > 4G
at this point for i386.
2003-05-07 21:33:57 +00:00
ragge
4f432cf54f Remove useless entries from the symbol table at load.
Add patricia-tree-style lookup code for symbols (for fast lookups).
2003-05-07 21:28:16 +00:00
fvdl
38b24046a0 Fix some locking nits found by LOCKDEBUG. Somewhat ugly, since they're
not really needed. But, they're not called very frequently.
2003-05-07 21:25:34 +00:00
ragge
97fa6ef77b Add a missing ifdef DDB. 2003-05-07 18:49:29 +00:00
augustss
5a80843f7d Regen. 2003-05-07 16:56:57 +00:00
augustss
392d5e112d Add some new devices. From FreeBSD. 2003-05-07 16:56:34 +00:00
yamt
de31ef25cd simple lock for nfs iod. 2003-05-07 16:18:53 +00:00
yamt
a4ae58105f indent. 2003-05-07 16:18:17 +00:00
he
319f2b1f1a Back out the previous, removing the wsfont pseudo-device added as part
of resolving PR#18388.  The shark port isn't quite wscons-ready yet.

OK'ed by thorpej.
2003-05-07 14:46:08 +00:00
christos
7218f10c3c sort the ioctl's so we can see what we've implemented and what we have not. 2003-05-07 14:21:20 +00:00
yamt
8a4e0a8444 use hashdone to free hashinit'ed memory. 2003-05-07 13:16:35 +00:00
yamt
c573c77372 - indent.
- fix a comment typo (mus -> must)
- remove an unneeded caddr_t cast.
2003-05-07 13:10:44 +00:00
pk
d44463bc60 GC old FPU code. 2003-05-07 08:25:30 +00:00
pk
c84d68a75a cpu_exit(): keep the MD FPU pointers in a consistent state since the thread
structure will linger for a while on various zombie lists.
2003-05-07 08:24:29 +00:00
pk
c1b72e3dc0 Fixup comment on cpu_exit(). 2003-05-07 08:19:21 +00:00
fvdl
65770cf2e9 In the KMEMSTATS && DIAGNOSTIC case, add a check for inuse already being 0
at free() time. This will at least catch an alloc/free mismatch early in
boot, rather than having it hang hard because of a wrapped ks_limit.
2003-05-06 18:07:57 +00:00
grant
6ecb99a75c fix grammatical error in a diagnostic message. 2003-05-06 17:54:27 +00:00
yamt
469a401cf5 remove nfsm_srvstrsiz as it's no longer used. 2003-05-06 13:52:36 +00:00
enami
9595f6d722 Initialize mb.m_data. 2003-05-06 09:59:35 +00:00
dsainty
3437bf0668 Add quirk for the 3in1 MobileDrive USB SD card reader, also sold as the
"DSE USB ProDrive".
2003-05-06 09:58:44 +00:00
rafal
5741e0f6ce Regen for MELCO Inc. MCR-SM2 SmartMedia Card Reader 2003-05-06 02:07:16 +00:00
rafal
d856fe57b6 Add MELCO Inc. MCR-SM2 SmartMedia Card Reader, from FUKAUMI Naoki in PR 18990. 2003-05-06 02:05:43 +00:00
reinoud
733594dd05 Some entries were missing so i'd better add them for completion. 2003-05-06 00:29:57 +00:00
bjh21
384447456c Rename Locore.c to cpuswitch.c. The only thing it contained was cpu_switch()
and its children, and the old name caused problems when building on case-
insensitive file systems.  Should fix PR 21468 by John Gordon.
2003-05-05 22:43:38 +00:00
fvdl
94cad743e8 Use ${MACHINE} when generating the version string, not plain 'i386'. 2003-05-05 20:49:10 +00:00
bjh21
ff81b6d549 Header cleanup: Hide all of this file apart from the socket options
from POSIX/XNS applications.
2003-05-05 14:36:13 +00:00
hubertf
76a6e18152 use nm(1) to output decimal values immediately, instead of relying on a
(non-working) sh(1) construct.

Reviewed by simonb & bjh21.
2003-05-05 13:38:23 +00:00
he
4e26b71f48 Remove declaration of unused local variable: kernel_ptpt. 2003-05-05 13:29:44 +00:00
yamt
6f30440f90 keep things not needed by userland in #ifdef _KERNEL.
(e.g. prototypes for in-kernel functions)
2003-05-05 13:21:00 +00:00
fvdl
31826208ad Define PCI32_DMA_BOUNCE_THRESHOLD 2003-05-05 13:04:29 +00:00
fvdl
6bd0c9f44d Move definition of ISA_DMA_BOUNCE_THRESHOLD to dev/isa/isareg.h. 2003-05-05 12:55:41 +00:00
dsainty
ee6dbf8959 Regen. 2003-05-05 11:59:13 +00:00
dsainty
da6d9d4cb0 Add 3in1 MobileDrive product (inside the Dick Smith ProDrive) 2003-05-05 11:56:27 +00:00
martin
ae2073f3d8 Make all non-trivial bus space functions "static __inline" (consistently)
and turn all macros with local blocks and declarations into functions.
This fixes PR 19975.
2003-05-05 09:36:51 +00:00
martin
57482255bc When overwriting the cache line size configuration, do not use the magic
value 0x10, but instead calculate a line size that is properly aligned
to the IOMMU strbuf cache and our external cache line size.
From FreeBSD.
2003-05-05 07:51:26 +00:00
igy
f97f3c0df9 code cleanup 2003-05-05 04:34:48 +00:00
igy
a1b8c84497 using high vector page 2003-05-05 04:23:26 +00:00
dbj
3359b0ac58 force nm addresses in hex and add 0x prefix before handing numerical
expression to the shell.
2003-05-05 02:47:42 +00:00
fvdl
a4777405c5 unifdef bus/segv/ill logging. 2003-05-04 23:51:56 +00:00
fvdl
9756b6a911 Follow i386, and mask deferred level-triggered interrupts at the ioapic. 2003-05-04 23:46:41 +00:00
kristerw
204dc598d9 Change the type of the 'code' parameter of ahc_send_async() from u_int
to ac_code to agree with the function definition.
2003-05-04 23:37:27 +00:00
fvdl
2cd70f0da1 Block level-triggered interrupts at the ioapic if they are deferred.
Avoids interrupt storms seen on some systems. Many thanks to
Stoned Elipot for testing.
2003-05-04 22:01:56 +00:00
martin
d22ec31292 Move the bus speed query code into it's own function and make it default
to 33 MHz. Cosmetics, no functional change.
2003-05-04 21:36:26 +00:00
ad
225c45d817 Enable the amr driver. 2003-05-04 16:16:18 +00:00
ad
a079c0eb98 - Fix the mailbox protocol. Not tested with newer 'Quartz' controllers.
- Handle failure during initalisation more gracefully.
- Create a watchdog thread to poke the board and check for status changes.
- Make ready for > 64kB transfers.
2003-05-04 16:15:35 +00:00
christos
a617975d48 print how big the mtu needs to be for ipv6 ppp. 2003-05-04 13:43:09 +00:00
fvdl
041046e740 Default to -O2. 2003-05-04 12:03:41 +00:00