Commit Graph

100988 Commits

Author SHA1 Message Date
skrll
19e6624025 typo in comment. 2009-07-30 19:57:07 +00:00
dyoung
59b8f11a8b Fix typo in comment, s/SIOCSIFADDR/SIOCINITIFADDR/. 2009-07-30 17:28:36 +00:00
jakllsch
7d100c1859 As explained in kern/41701 there's a missing splx() here. 2009-07-30 14:41:59 +00:00
cegger
bd216fbaba from x86/x86/cpu.c:
- use atomic operations to set flags
- Align struct cpu_info to 64b.
2009-07-30 13:56:57 +00:00
reinoud
7cbe9b45a2 Fix uid/gid check; it was checking if the old values would fit in 32 bits
instead of checking if the new values would.
2009-07-30 12:13:51 +00:00
nisimura
8a349980ce - fix EUMB com console attach case.
- #ifdef out pci_conf_interrupt() for PCI_NETBSD_CONFIGURE option.
Requested and tested by kiyohara.
2009-07-30 05:57:27 +00:00
macallan
4865392ba6 do as elad suggested and call kauth instead of using INSECURE in pcimmap() 2009-07-30 04:38:24 +00:00
msaitoh
0a482c2c7c Fix the bug that another lock mechanism is used to access Kumeran registers
on i80003 and ICHs.

Fix yet another i80003 ONLY workaround. The code to modifing TIPG register
is only for i80003.

Set the Re-Transmit on Late Collision(RTLC) flag for all devices.

Fix a typo in a printf message.
2009-07-30 03:46:48 +00:00
rmind
cbc808fd9c Reduce the difference between i386 and amd64 trap handler.
No functional changes intended.
2009-07-29 18:47:15 +00:00
rmind
585d607d92 Fix few more l_pflag and LP_OWEUPC confusions. 2009-07-29 17:45:39 +00:00
rmind
52b85c5fb7 Fix KASSERT(1); 2009-07-29 17:16:56 +00:00
rmind
4992872919 T_ASTFLT|T_USER: check for LP_OWEUPC in l_lpflag, not l_flag. Also, flag
unset was on p->p_flag.  Luckily, it did not corrupt the p_flag, because
we don't have LW_ flag matching LP_OWEUPC.
2009-07-29 17:14:38 +00:00
reinoud
dde01096c4 Re-do nilfs_load_super_root() and implement crc checking of read in super root
to check for consistency.

Since a new crc-seed is chosen on each new nilfs formatting, older structures
will fail the crc check.
2009-07-29 17:06:57 +00:00
jakllsch
aadbdc69dd Without UQ_ASSUME_CM_OVER_DATA, the PANTECH UM175 has a
non-working bulk-in endpoint
2009-07-29 16:04:14 +00:00
jakllsch
14641e0bcc Regenerate. 2009-07-29 15:47:26 +00:00
jakllsch
c5b6c26047 Add entries for some Hyundai CuriTel (Audiovox, Pantech) products, from OpenBSD. 2009-07-29 15:45:17 +00:00
cegger
82843fbf43 nuke unused XEN3 option. The XEN option is sufficient now. 2009-07-29 13:37:57 +00:00
reinoud
59cef39273 Add debugging text to indicate a super root has been found while searching for
it.
2009-07-29 13:23:23 +00:00
cegger
3518084fc6 remove Xen2 support.
ok bouyer@
2009-07-29 12:02:05 +00:00
mbalmer
071fb1f425 Fix (commented out) gpioow usage. 2009-07-29 11:58:31 +00:00
mbalmer
8bd20bf764 Add commented out entries for gpiosim and gpio at gpiosim. 2009-07-29 11:55:40 +00:00
mbalmer
3c801a163f Add pseudo-device gpiosim, fix gpioow usage. 2009-07-29 11:52:44 +00:00
cegger
bba07db346 add TWSI registers. from OpenBSD. 2009-07-28 21:03:46 +00:00
ahoka
2e4db2573f Add hungarian qwertz keyboard layout. 2009-07-28 18:48:27 +00:00
minskim
3c24e51c76 Remove LKM code from pf. 2009-07-28 18:15:26 +00:00
dyoung
974833df66 Make mdopen() and mdclose() maintain the openmask. md_detach()
depends on the openmask to know whether it should either return
EBUSY because the device is open, or tear the device down.

Alan Barrett reports that this fixes kern/41725, in part: it prevents
the UVM fault, and the kernel detaches /dev/md0a after unmounting
/ on /dev/md0a instead of before.
2009-07-28 17:55:27 +00:00
reinoud
ad5a398ed7 Enhance/fix read support for sparse files.
Extents read in wich there were no mappings at all were defined would error
out and files beginning with a sparse area were erroring out.
2009-07-28 15:31:21 +00:00
drochner
c07937acdd add dummy pmf registration to allow suspend 2009-07-28 15:28:24 +00:00
skrll
55222df828 Use the right pointer to traverse the proc's lwp list.
From PR 41788.
2009-07-28 10:38:20 +00:00
cegger
40e186cdb8 print chipset name. From OpenBSD. 2009-07-28 06:02:34 +00:00
macallan
b8fa6b1208 forgot to commit that along with radeonfb.c 2009-07-28 00:10:51 +00:00
dyoung
1b6947b941 Do a complete device_t/softc split for the PCI attachment. I have
not finished the device_t/softc split for the SBus attachment
because I don't have an SBus gem(4) to test with.

Convert from legacy shutdownhooks to a PMF shutdown hook.  Add PMF
suspend/resume handlers.

Factor a detachment hook out of gem_attach().  During device
attachment, track which resources are reserved in sc_attach_state,
and release only those resources during detachment.

Tested on gem0 and gem1 at pci1 on a Sun Fire V120.
2009-07-27 18:10:53 +00:00
mbalmer
9d8b69b23a Do not attach gpiosim(4) at root, but make it a pseudo device.
With help from Matthias Drochner, thanks!
2009-07-27 17:40:57 +00:00
kiyohara
d9973100d4 Support Marvell Hercules-I/II SATA Controllers. 2009-07-27 15:09:58 +00:00
sketch
1d9fe50b80 Wrap ehcidebug in EHCI_DEBUG, not USB_DEBUG. 2009-07-27 14:41:19 +00:00
reinoud
1f6bbe277a System nodes are not written out on becomming inactive; they should be written
out before automatically.

However, when dealing with faulty discs that fail to mount, system nodes are
of course not written out and thus may still be marked dirty, if only due to
access. Especially on sequential media this gave rise to panics on reading
trackinfo since the write track section had not yet been initialised.
2009-07-27 13:20:41 +00:00
reinoud
09d39e1a6c Issue extra synchronise caches before closing tracks or sessions. It shouldn't
be needed as the caches should already be synchronised, but better be safe.
2009-07-27 13:13:33 +00:00
kiyohara
ce1343fcd9 Support Marvell Hercules-I/II SATA Controllers. 2009-07-27 12:34:12 +00:00
reinoud
5e6bd1d549 Significantly bump time for SCSI track/disc closure. DVD-RW when used
sequentially can significantly take more time.
2009-07-26 15:29:00 +00:00
mbalmer
bf5ef89e58 Fold long line, add comment to fix possible creation of duplicates. 2009-07-26 14:06:05 +00:00
mbalmer
9e8bcf597e Simplify the use _a lot_ by hooking this to sysctl instead of bio(4).
When it attaches, it creates a hw.gpiosimN.value sysctl node which can
then be used to manipulate the simulated device state.
2009-07-26 13:45:20 +00:00
cegger
ae3b7e2af6 use __arraycount, kill N() macro. 2009-07-25 23:43:06 +00:00
tonnerre
5d2cc68d22 Instead of using the net.inet6.ip6.accept_rtadv sysctl for all devices,
make net.inet6.ip6.accept_rtadv the default for individual per-device
settings so people can use the ndp(8) utility to set per-device whether
or not to accept route advertisements.

rtadvd changes to follow.

(Debated on tech-net@ before but almost two weeks passed by without any
comment on the patch.)
2009-07-25 23:12:09 +00:00
cegger
97eb6082f5 use device_xname 2009-07-25 19:18:01 +00:00
cegger
880da38cf8 add GPIO_DEBUG 2009-07-25 19:04:41 +00:00
cegger
585d03dbd7 make this build w/ GPIO_DEBUG 2009-07-25 19:01:55 +00:00
mbalmer
4e71b44621 Change one more struct device * to device_t, noticed by cegger. 2009-07-25 16:41:58 +00:00
mbalmer
3270b18844 Use device_t instead of struct device * per cegger's request. 2009-07-25 16:30:44 +00:00
cegger
22b735eb9f - replace magic number with proper define from mii.h. From OpenBSD.
- fix typo in comment. From OpenBSD.
2009-07-25 16:25:13 +00:00
mbalmer
953ebaaf3d Allow gpiosim(4) to attach if configured in the kernel configuration. 2009-07-25 16:23:39 +00:00