Commit Graph

56768 Commits

Author SHA1 Message Date
simonb be77ae0cf5 Whitespace KNF. 2002-06-26 09:38:37 +00:00
cjs 0ef3b7e33b Add a couple more TI IEEE 1394 host controllers. 2002-06-26 09:33:50 +00:00
yamt 175fe41cad stack frames can be overwrapped for eg. softintr. 2002-06-26 08:18:01 +00:00
matt 1a5c0cf685 When not using the OLD pmap, bump kernel KVA space to 512MB (OLD pmap stays
at 256MB).
2002-06-26 01:16:22 +00:00
matt 7a12a9737c Revamp how SR(s) are loaded on the user/kernel boundary. We now load all
16 SR registers when transitioning between kernel and user.  Also, don't
reload the kernel SR(s) on every trap but only on traps from user space.
Instead of loading magic SRs for the kernel, load the kernel SRs from the
kernel_pmap_.  This makes trap_subr.S completely ignorant of SR uses and
so they can change with having to change trap_subr.S.  Also note that
since the user and kernel get complete SR sets, user VA space can now be
increased to 4GB if desired.
2002-06-26 01:14:45 +00:00
matt 7c77963b01 Set SR_PRKEY for user pmaps. For the kernel SR(s) set SR_SUKEY|SR_PRKEY.
Note that we never use a PTE PP of 0 or 1 (supervisor protection) so the
"key" is basically unused.  However, use SR_PRKEY for user space is
conceptionally the right thing to do.  Currently the kernel_pmap SR(s) are
ignored but that is going to be fixed shortly.
2002-06-26 01:10:20 +00:00
thorpej a572f8f4a5 Report stray interrupts. 2002-06-26 01:06:44 +00:00
drochner a548b203d4 use PCI_ID_CODE instead of a local macro (cosmetics) 2002-06-25 21:18:32 +00:00
drochner f9d6718ab9 allow to overwrite the builtin VGA font if necessary,
make the number of available font slots variable,
set up a "quirk" mechanism to tell the generic vga code about crippled
VGA adapters which ignore the "fontsel" TS register,
initiate the quirk table with an ATI chip which happened to be on a board
I tested with.
Afaik quite a number of ATI chips suffers from the "loaded fonts don't
work" problem - these should be added.
Bad side effect of my change: The builtin font will be kicked out
always if a VGA_CONSOLE_SCREENTYPE is specified which needs a loaded
font. In early console initialization, we don't know much about the
graphics card, so we have to assume the worst (ie ATI:-).
2002-06-25 21:07:42 +00:00
thorpej 7704072be3 Correct a comment. 2002-06-25 19:41:08 +00:00
thorpej fea38885e8 * Interrupt status is in cp13.4, not cp13.1 (D'oh!)
* Fix an inverted test.
2002-06-25 19:40:46 +00:00
thorpej f2bff71e47 Interrupt steering register is cp13.8, not cp13.2 (D'oh!). 2002-06-25 19:39:51 +00:00
eeh debc8b26aa Fix ktrace call for 32-bit kernels. 2002-06-25 17:37:03 +00:00
itojun d2fb91c184 tabify 2002-06-25 16:31:43 +00:00
drochner 8d07c19c5e regen 2002-06-25 12:26:28 +00:00
drochner 4ded79cbb4 After I found a press release of 1998 which states that AMD sold
Davicom PHY chips, merge the identical entries for DM9101 and Am79c873
into one.
Should also fix PR kern/17369 by Dave Huang.
2002-06-25 12:25:56 +00:00
enami 6aad1636a8 If we need to fix up ar_hrd field, we must do it before using ar_tpa/tha. 2002-06-25 04:16:31 +00:00
itojun a5b52729e6 in arprequest(), fill ar_hrd only for IEEE1394. for other cases,
ifp->if_output will fill it for us.
2002-06-25 04:04:53 +00:00
onoe b00ef6acdd Fill ar_hrd for AF_ARP. 2002-06-25 03:42:28 +00:00
lukem 214a01678d - replace all "scsibus* at XXXX" with a single "scsibus* at scsi?"
- replace all "atapibus* at XXXX" with a single "atapibus* at atapi?"
- replace all "audio* at XXXX" with a single "audio* at audiobus?"
- replace all "midi* at XXXX" (except "midi* at pcppi?") with a single
  "midi* at midibus?"
2002-06-25 03:12:04 +00:00
enami 96fe4d7666 No need to include same file twice. 2002-06-25 02:55:14 +00:00
enami 4b27343d39 Use if_addrlen macro rather than if_data.ifi_addrlen. 2002-06-25 02:53:27 +00:00
thorpej e09f5065d0 During signal delivery, arrange to have the signal handler invoked
directly, using the trampoline only for the return path.
2002-06-25 01:24:49 +00:00
nathanw 2a6f9ddc2a Add the now-tested 3Com 3C460B Pegasus-II adapter (Currently US$5 from
cheap web vendors).
2002-06-25 01:07:38 +00:00
itojun 4aac356c0e fwnode* has idhi/idlo locator 2002-06-25 00:32:24 +00:00
itojun 92f9b53eea sync firewire scsi config to the latest reality 2002-06-25 00:29:20 +00:00
enami 37f335b28b The ieee1394 arp reply should be broadcast. 2002-06-24 21:25:34 +00:00
nathanw 4ce40595e2 Pass through the PCI configuration ioctls, like vga_pci.c does. 2002-06-24 21:08:37 +00:00
eeh 691c4d1179 Fix compilation problems in DEBUG code. 2002-06-24 18:48:13 +00:00
bouyer b2533a4c3e Typo fix 2002-06-24 16:55:17 +00:00
lukem e3b23eaafd Switch from pccons to wscons, so that USB keyboards have a chance of
working.  From Grant Beattie <grant@netbsd.org>, with changes by me.
2002-06-24 16:14:13 +00:00
mrg 383ef0f9dc make booting from FS_RAID work. tested on vs4000/90. 2002-06-24 14:53:16 +00:00
enami 92912a1744 Actually inject the arp packet into softintr queue. 2002-06-24 12:00:49 +00:00
enami 36f1c19838 Don't use a pointer before it is initialized. 2002-06-24 10:52:15 +00:00
itojun 9f911945d5 handle IDT-less case just as linux does 2002-06-24 10:10:17 +00:00
itojun fe3778040b tabify 2002-06-24 10:10:16 +00:00
itojun 241389f5d8 make it at least compile/link - copy change to i386/locore.s (1.255 -> 1.256)
not sure if it is correct
2002-06-24 10:05:54 +00:00
pk cc3f5791ea Comments update: indicate which counters are being incremented. 2002-06-24 09:26:47 +00:00
pk 0e8ea4f752 `fdcio_intrcnt.ev_count' is a 64-bit variable. 2002-06-24 09:24:37 +00:00
itojun 570a3e1f3d set ar_hrd for RFC-defined cases 2002-06-24 08:42:33 +00:00
itojun e03a874f74 set ia as well 2002-06-24 08:11:30 +00:00
itojun 0143dfc42f integrate IEEE1394 ARP into generic ARP logic.
XXX there's no check at all in ar_hrd, and we don't set ar_hrd on outgoing.
it seems like a bad thing.
2002-06-24 08:06:20 +00:00
itojun c474c560dd do not consult routing table under the following condition:
- the destination is IPv4 multicast or 255.255.255.255, and
- outgoing interface is specified via socket option

this simplifies operation of routed
(no longer reqiure 224.0.0.0/4 to be set up)
2002-06-24 08:01:35 +00:00
jdolecek afb66555e4 make vectors.o explicitly depend on assym.h, so that 'make depend' step
is optional
2002-06-24 07:15:24 +00:00
simonb 8e38e28f7f White space nits: space after a comma. 2002-06-24 05:52:28 +00:00
simonb d4068eac65 Add 64MB and 256MB tlb page masks. 2002-06-24 05:46:47 +00:00
fvdl dd96b79d02 According to the Linux driver from Broadcom, only the 5700 B0 revision had
rx checksum problems. So only disable rx checksum for that revision.
2002-06-24 01:23:11 +00:00
fvdl 4f75cebd06 Add a few revision definitions. 2002-06-24 01:21:39 +00:00
thorpej f427b80c27 Add ENTRY_NOPROFILE(). 2002-06-24 01:13:34 +00:00
itojun 4ca3b72694 remove obsolete use of M_LINK0. it was planned to be used to identify
isosynchronous stream from others, but end up not being used.
From: Hayakawa Koichi <haya@ilink.sony.co.jp>
2002-06-24 00:42:27 +00:00