Commit Graph

71962 Commits

Author SHA1 Message Date
uch 3e92a012a2 enable to power off and reset card. 2004-07-14 14:33:23 +00:00
tsutsui 3edbd6052a Add device-major for lpt. 2004-07-14 14:13:24 +00:00
tsutsui 7565fb7456 Now multicast on mec0 is confirmed working, so remove XXX comment
in mec_setfilter() function.

Thanks to Gerald Heinig for providing multicast test programs.
2004-07-14 09:45:47 +00:00
chs 8f2322ff01 remove an extra instruction I added with an overzealous cut+paste. 2004-07-14 07:23:10 +00:00
itojun 8da378abea - update ro_pmtu on IPsec tunnel encapsulation. ro != ro_pmtu is used as the
sign for the existence of routing header.
- fragment to 1280 on IPv6-over-IPv6 encapsulation, as ICMPv6 too big may not
  give you enough information to update pmtu cache.

from iij seil team, via kame.
2004-07-14 03:06:08 +00:00
uebayasi 2909021c43 Narrow a sed(1) RE handling a file/directory name so that build under a
directory named like 'xxx.cxxx/' succeeds.
2004-07-13 09:07:54 +00:00
tron 742e1a4221 The Intel i82547EI gigabit ethernet controller isn't really a PCI
device. So instead trying to find and print out the PCI bus properties
mark it as a CSA device.
2004-07-13 07:29:37 +00:00
tron 7df6314408 Make this build if WM_DEBUG is defined. 2004-07-12 14:04:36 +00:00
tsutsui c2de425692 Reenable lpt at mace since shared interrupt code was fixed in mace.c rev 1.2. 2004-07-12 13:45:40 +00:00
tsutsui 204f5095a2 Enable mec Ethernet at mace. 2004-07-12 13:16:14 +00:00
yamt 72afe94686 nfs_fsinfo: when changing rsize/wsize,
keep mnt_fs_bshift in-sync.  otherwise genfs_getpages behaves badly.
2004-07-12 12:40:30 +00:00
mycroft 09e877af0b Make this build again. 2004-07-11 20:01:04 +00:00
manu d4d3cc307c commpage function changes:
Copy all the commpages instead of one
Add the missing bcopy function
Wrong function name: pthread_getspecific instead of pthread_specific
2004-07-11 19:38:14 +00:00
uch 87b3504abb cosmetic changes. (whitespace,<tab>) 2004-07-11 16:04:58 +00:00
msaitoh 38e0720545 Add Dothan 2004-07-11 15:22:05 +00:00
tsutsui fff3ff1b2c Add a working driver for O2 (IP32) on-board MACE MAC-110 Ethernet.
Note:
- I don't have any hardware docments for this device, so this driver might
  have some odd descriptions guessed by results of try-and-errors.
  (the only info I have is the Linux driver, but I think it doesn't describe
   the hardware specifications very well anyway)
- All RX packets and most TX packets are copied from/to buffers in the driver
  due to hardware restriction, so performance is not so good for now.
  Maybe RX packets can be directly DMA'ed to mbufs by the same method used
  of fxp(4), but the hardware seems to require 4kbyte aligned RX buffers.
- Multicast filter setup function is not tested yet (no info).
- Currently only tested on R5000 O2 with disabled L2 cache, so needs
  more tests on other CPU (i.e. RM5200/R10000/R12000) models.
- Currently BUS_DMA_COHERENT is not used for the device control data DMA
  to avoid performance issue on memcpy() against RX buffers, but it might be
  problematic when L2 cache is enabled or on R10000 models.
2004-07-11 03:13:04 +00:00
martin 9d71aa9ed6 Adapt to new sparc bus_space_tag_t world order. 2004-07-10 22:30:29 +00:00
nathanw 86906dceb8 Remove SKIP_FUNCn quirks for SC1100 companion chip; the fix to SMM in
i386/identcpu.c renders it counterproductive.

(this was the only use and the reason for the invention of the
SKIP_FUNCn quirk; it should probably be removed entirely).
2004-07-10 21:30:58 +00:00
nathanw 7e753fcf97 cyrix6x86_cpu_setup: Save and restore the original value of CCR3
across the "coma bug" workaround to avoid clearing the MAPEN bit if it
was originally set by firmware. This appears necessary for proper
functioning of SMM on Geode CPUs, and thus for proper emulation (ugh)
of access to certain PCI configuration registers or VGA register
spaces. With this change, VGA and soundblaster emulation work on Geode
NX1 systems.

This was also the underlying problem that led to the introduction of
the PCI_QUIRK_SKIP_FUNCn quirks in pci_quirks.c, which are no longer
necessary (and counterproductive if you want to use VGA or a
Geode-specific audio driver). See the thread "pci probe" on port-i386
in August 2003 (The Soekris 4801, apparantly the most popular
Geode-based NetBSD box, has neither VGA nor audio, which may explain
why this wasn't noticed at the time).
2004-07-10 21:25:53 +00:00
pk ea3030771a Use bus_space_tag_alloc(). 2004-07-10 20:37:07 +00:00
cube 120187b856 Add commented out EST_FREQ_USERWRITE to GENERIC_LAPTOP too. 2004-07-10 18:52:30 +00:00
cube ca1f4e2485 Add an option to allow any user to write to machdep.est.frequency.target,
which is very handy on a laptop to control EST through another program that
you don't necessarily want to run as root (in my case, gkrellm).

The option's name is EST_FREQ_USERWRITE, and is disabled by default.
2004-07-10 18:51:01 +00:00
uwe b65388fd20 Sync with relevant portions of GENERIC 1.160.
Uncomment FFS, as MFS needs it.
2004-07-10 12:17:09 +00:00
uwe afd4d28baa Sync with relevant portions of GENERIC 1.160.
options<space> police.
Uncomment FFS, as MFS needs it.
2004-07-10 12:12:55 +00:00
uwe 2ab14a9acf options<space> police. 2004-07-10 12:05:35 +00:00
tsutsui 43f42bdb21 Count mace interrupts by evcnt(9). 2004-07-10 08:47:33 +00:00
tsutsui 9864035c97 Remove a debug printf. 2004-07-10 08:44:42 +00:00
tsutsui 0d31ac4463 Make sure shared interrupts properly handled. 2004-07-10 07:39:13 +00:00
itohy 9d3038ce88 Silence gcc -W ("static void __inline__" -> "static __inline__ void"). 2004-07-10 06:07:52 +00:00
uch 43d9d9efc5 gs_init(VESA_1A) hang up on SCPH-50000.
use bootloader's setting instead. (enable PCRTC only.)
2004-07-10 05:55:05 +00:00
matt 635306e7ba Clear PSL_SE on a scheduler activation upcall. 2004-07-09 22:59:17 +00:00
matt 4f6490d718 Add some comments, clean things up so routines can be called from the
idle loop.
2004-07-09 22:00:46 +00:00
petrov 8dc19febed Remove unused variable. 2004-07-09 18:45:56 +00:00
bouyer 8e03c54653 Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).
2004-07-09 18:38:37 +00:00
mycroft c3cc87104d Whoops! Don't try to set parameters for a direction that doesn't exist.
(audio_set_defaults() can do this.)
2004-07-09 18:08:00 +00:00
uch 6eb5e5bec7 set BEV bit before coping kernel.
set next kernel stack pointer.
2004-07-09 16:12:50 +00:00
uch 6e81ef4d33 set BEV bit before coping kernel.
set next kernel stack pointer.
2004-07-09 10:31:14 +00:00
uch 8c71b8c6be fix I-cache flush loop counter bug. 2004-07-09 10:04:35 +00:00
itojun 5807e550e5 typo. Bruno Rohee 2004-07-09 09:15:02 +00:00
mycroft 673c114d25 Keep track of what we set the interrupt mask to, rather than reading it from
the chip.
2004-07-09 05:08:22 +00:00
mycroft e3694d0dc1 Adjust some silliness that was causing us to do extra work for "frame list
rollover" interrupts, which we pretty much ignore.
2004-07-09 05:07:06 +00:00
enami e350475d03 This comment describes about the entry for FNW-3700T so please don't put
other entry between them.
2004-07-09 03:41:23 +00:00
mycroft 3ad7358df5 Forgot to commit this. 2004-07-09 03:39:14 +00:00
enami 5c364151d2 Add BUFFALO LPC-CF-CLT Ethernet Adapter entry. 2004-07-09 03:36:01 +00:00
enami 070e3d84bc Regen. 2004-07-09 03:19:51 +00:00
enami de22c7ecd0 Add BUFFALO LPC-CF-CLT Ethernet Adapter. 2004-07-09 03:19:20 +00:00
enami fd259af21b Sort BUFFALO entries by id. 2004-07-09 03:17:31 +00:00
mycroft 4fe77ba8c0 Free the DMA channels as the last step. 2004-07-09 03:15:01 +00:00
mycroft 005f3f7095 Clean up a little. 2004-07-09 02:57:48 +00:00
mycroft bde8e6c1bb Clean up open/close. 2004-07-09 02:51:17 +00:00