Commit Graph

93321 Commits

Author SHA1 Message Date
christos a08047d21c Update alignment comment. 2008-03-15 19:02:49 +00:00
cube 88906c66df Use proper types. 2008-03-15 18:59:07 +00:00
cube 7582ef2fff Split device_t and softc for pckbd(4) and pms(4). 2008-03-15 18:46:22 +00:00
matt 6e8b97e230 After a process in swapped in, refresh the pcb's paddr. 2008-03-15 18:42:06 +00:00
dsl 467fb43e11 Add -momit-leaf-frame-pointer, saves a few bytes. 2008-03-15 18:00:32 +00:00
cube 8bc324423f Split device_t and softc for isa(4). 2008-03-15 16:56:29 +00:00
ws 8297b01db8 Set scope on IPv6 multicast address to give carp a chance to work for IPv6, too.
From FreeBSD.
2008-03-15 16:44:03 +00:00
jmcneill 5f170d1cdb Swap red and blue for 8bpp paletted mode. 2008-03-15 16:13:39 +00:00
ad 3bd2b6fba5 Add a 'maxcpus' global. 2008-03-15 14:55:22 +00:00
cube a22d8d4abb Split device_t and softc for pckbc(4) and its attachments. 2008-03-15 13:23:24 +00:00
rtr 6797804c6b whitespace '\t' -> ' ' 2008-03-15 11:45:18 +00:00
rearnsha d14160690e Allow detection of VFP devices on ARM11 cores. 2008-03-15 10:35:30 +00:00
rearnsha 667f59c8dd Allow use of the VFP. 2008-03-15 10:30:51 +00:00
rearnsha b45167b608 VFP support. 2008-03-15 10:16:43 +00:00
tsutsui 767de2b348 Wrap mips3_cp0_count_read() stuff (for DECstation 5000/150) with
#if defined(MIPS3) so that kernel config without options MIPS3 compiles.
Problem reported by Erik Bertelsen on port-pmax.
2008-03-15 08:50:08 +00:00
matt 45e0220f34 Make sure M_PROMISC isn't already set, before we need to see if we are going
to see if we need to set M_PROMISC.
Assume the interface is not CARP'ed.
2008-03-15 05:07:34 +00:00
uwe 2e62be9d52 Add "mach reset" command that resets machine by taking a trap with
exceptions disabled.  Fix db_stackcheck_cmd (have_addr is now bool).
Supply help strings for mach commands.
2008-03-15 01:03:40 +00:00
matt 9e8ca25d60 Switch dz driver to PRIVALLOC and device_* accessors. 2008-03-15 00:57:15 +00:00
matt eb34c39d65 This is not (has never?) being used. 2008-03-15 00:27:18 +00:00
matt 3fbab323bd Switch to PRIVALLOC and device_* accessors 2008-03-15 00:25:05 +00:00
matt 3143c8de1f Use 0 sized softc and switch to PRIVALLOC 2008-03-15 00:24:13 +00:00
matt 5e7971cbf0 Fix device access. Use a 0 sized softc and switch to PRIVALLOC for mem_cmi. 2008-03-15 00:23:17 +00:00
matt 4e11517afe Use device_* 2008-03-15 00:21:48 +00:00
matt e344d4551d Use a 0 sized softc / switch to PRIVALLOC. 2008-03-15 00:21:30 +00:00
dyoung e86a2a1377 Cosmetic: make rtw_hw_keysupp() return a bool instead of int. In
rtw_wep_setkeys(), add a debug printf, and move the initialization
of keylen from the for-loop to the declaration.
2008-03-15 00:21:12 +00:00
matt 022989947e Comment out xmi and nmi devices. 2008-03-15 00:20:08 +00:00
jkunz 6827de95dd Use device_* accessors. 2008-03-15 00:05:50 +00:00
dyoung 293fa13f60 Extract subroutine rtw_tx_kick() from rtw_start(), and reuse it in
rtw_io_enable() to restart the transmitter after resetting it.
2008-03-14 23:59:01 +00:00
dyoung 705696f034 In vga_is_console(), use deviter_first/_next() and device_t accessors.
Ok cube@.
2008-03-14 23:17:55 +00:00
dyoung 243c883b6e Change tests for "impossible" keys to KASSERT()s. Get rid of a
temporary variable.  In rtw_key_delete(), do not invalidate the
hardware keys unless a WEP key is deleted.
2008-03-14 23:04:42 +00:00
cube 4c9a9f3e5a Fix compilation under options RND_COM and COM_DEBUG.
Reported by Kurt Schreiner on current-users@.
2008-03-14 22:47:06 +00:00
dsl 2bb9a33a0f Add a strchr() - for dosfs in particular.
The i386 asm version in src/common is rather larger than this one.
2008-03-14 22:27:32 +00:00
dsl 2694fcbd4b Add a local strcasecmp() instead of pulling the bloat from libkern. 2008-03-14 22:21:53 +00:00
cube d293cfca1a Split device_t and softc for all attachments of vga(4). 2008-03-14 22:12:08 +00:00
jkunz 2f13c500d2 Fix falout from recent VAX code rototill:
MicroVAX 4000/[3-7]00 could not get HW Ethernet address.
2008-03-14 21:35:01 +00:00
cube a6b5eb2b1d Split device_t and softc for irframe(4). 2008-03-14 21:06:04 +00:00
jkunz 3682eb424e Fix falout from recent VAX code rototill: MicroVAX 4000/1xx and 3100m9x could not get HW Ethernet address. 2008-03-14 20:49:29 +00:00
tsutsui a2a8479cbe Fix spl(9) botch in cpu_intr() on ews4800mips:
Don't enable unhandled interrupts before all interrupts are processed.
2008-03-14 16:47:08 +00:00
tsutsui 4f59bf75cb Fix spl(9) botch in cpu_intr() on arc:
Don't enable unhandled interrupts before all interrupts are processed,
and also change all interrupt handlers to return processed MIPS_INT_MASK
values, rather than masked values of them.
2008-03-14 16:43:27 +00:00
nakayama 868048cf4d SMP support for sparc64 now works, so make GENERIC.MP kernel build
by default.
2008-03-14 16:43:16 +00:00
nakayama 9cfa53b41a #include "opt_multiprocessor.h" 2008-03-14 15:40:22 +00:00
nakayama 8d734e3bd0 Complete per-CPU TSBs and MMU contexts changes. 2008-03-14 15:40:02 +00:00
nakayama 5374009247 Improve FPU state save/clear like x86, idea from OpenBSD. 2008-03-14 15:39:18 +00:00
nakayama 74a205f37a On SMP kernel,
- use "tick" interrupt for per-CPU statclock.
- disable "counter-timer" #1 interrupt and use it as timecounter.
2008-03-14 15:38:36 +00:00
tsutsui f5506ae261 Enable ETHERCAP_VLAN_MTU. 2008-03-14 15:38:09 +00:00
nakayama ead4e6f7b9 Improve IPI handling:
- make IPI takes two arguments.
- add IPI event counters per-CPU.
- implement IPI functions which were missing or broken.
- insert DELAY while halting primary CPU in IPI handler.
2008-03-14 15:38:00 +00:00
cube 607ead0ef4 Split device_t and softc for all com(4) devices (well, everything that
uses a com_softc backend).  Use proper types and ansify where appropriate.
2008-03-14 15:09:09 +00:00
tsutsui 12a7738525 Don't fetch DMA descriptor after BUS_DMASYNC_PREREAD op. 2008-03-14 13:42:01 +00:00
cube 816c3531d9 Split device_t and softc, catching up with changes of all other ne(4)
variants.
2008-03-14 11:51:06 +00:00
martin 2f30108619 If a cd(4) is attaching on ata instead of scsi, the controller is
the grandparent, not the parent.
2008-03-14 09:44:22 +00:00